Interface StoreSetShippingPolicyUrlAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>,StoreUpdateAction
This update action produces the StoreShippingPolicyUrlSet Message.
Example to create an instance using the builder pattern
StoreSetShippingPolicyUrlAction storeSetShippingPolicyUrlAction = StoreSetShippingPolicyUrlAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreSetShippingPolicyUrlAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreSetShippingPolicyUrlActionbuilder(StoreSetShippingPolicyUrlAction template) create builder for StoreSetShippingPolicyUrlAction instancecopyDeep()deepCopy(StoreSetShippingPolicyUrlAction template) factory method to create a deep copy of StoreSetShippingPolicyUrlActionValue to set.of()factory methodof(StoreSetShippingPolicyUrlAction template) factory method to create a shallow copy StoreSetShippingPolicyUrlActionvoidsetShippingPolicyUrl(String shippingPolicyUrl) Value to set.static tools.jackson.core.type.TypeReference<StoreSetShippingPolicyUrlAction>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_SHIPPING_POLICY_URL
discriminator value for StoreSetShippingPolicyUrlAction- See Also:
-
-
Method Details
-
getShippingPolicyUrl
String getShippingPolicyUrl()Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- shippingPolicyUrl
-
setShippingPolicyUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
shippingPolicyUrl- value to be set
-
of
factory method- Returns:
- instance of StoreSetShippingPolicyUrlAction
-
of
factory method to create a shallow copy StoreSetShippingPolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreSetShippingPolicyUrlAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
deepCopy
@Nullable static StoreSetShippingPolicyUrlAction deepCopy(@Nullable StoreSetShippingPolicyUrlAction template) factory method to create a deep copy of StoreSetShippingPolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetShippingPolicyUrlAction- Returns:
- builder
-
builder
create builder for StoreSetShippingPolicyUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetShippingPolicyUrlAction
default <T> T withStoreSetShippingPolicyUrlAction(Function<StoreSetShippingPolicyUrlAction, T> helper) 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
-