Interface StoreSetRefundPolicyUrlAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>,StoreUpdateAction
This update action produces the StoreRefundPolicyUrlSet Message.
Example to create an instance using the builder pattern
StoreSetRefundPolicyUrlAction storeSetRefundPolicyUrlAction = StoreSetRefundPolicyUrlAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreSetRefundPolicyUrlAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreSetRefundPolicyUrlActionbuilder(StoreSetRefundPolicyUrlAction template) create builder for StoreSetRefundPolicyUrlAction instancecopyDeep()deepCopy(StoreSetRefundPolicyUrlAction template) factory method to create a deep copy of StoreSetRefundPolicyUrlActionValue to set.of()factory methodof(StoreSetRefundPolicyUrlAction template) factory method to create a shallow copy StoreSetRefundPolicyUrlActionvoidsetRefundPolicyUrl(String refundPolicyUrl) Value to set.static tools.jackson.core.type.TypeReference<StoreSetRefundPolicyUrlAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
getAction, withStoreUpdateAction
-
Field Details
-
SET_REFUND_POLICY_URL
discriminator value for StoreSetRefundPolicyUrlAction- See Also:
-
-
Method Details
-
getRefundPolicyUrl
String getRefundPolicyUrl()Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- refundPolicyUrl
-
setRefundPolicyUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
refundPolicyUrl- value to be set
-
of
factory method- Returns:
- instance of StoreSetRefundPolicyUrlAction
-
of
factory method to create a shallow copy StoreSetRefundPolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreSetRefundPolicyUrlAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
deepCopy
@Nullable static StoreSetRefundPolicyUrlAction deepCopy(@Nullable StoreSetRefundPolicyUrlAction template) factory method to create a deep copy of StoreSetRefundPolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetRefundPolicyUrlAction- Returns:
- builder
-
builder
create builder for StoreSetRefundPolicyUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetRefundPolicyUrlAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-