Interface StoreSetCheckoutUrlTemplateAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>,StoreUpdateAction
This update action produces the StoreCheckoutUrlTemplateSet Message.
Example to create an instance using the builder pattern
StoreSetCheckoutUrlTemplateAction storeSetCheckoutUrlTemplateAction = StoreSetCheckoutUrlTemplateAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreSetCheckoutUrlTemplateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreSetCheckoutUrlTemplateActionbuilder(StoreSetCheckoutUrlTemplateAction template) create builder for StoreSetCheckoutUrlTemplateAction instancecopyDeep()deepCopy(StoreSetCheckoutUrlTemplateAction template) factory method to create a deep copy of StoreSetCheckoutUrlTemplateActionValue to set.of()factory methodof(StoreSetCheckoutUrlTemplateAction template) factory method to create a shallow copy StoreSetCheckoutUrlTemplateActionvoidsetCheckoutUrlTemplate(String checkoutUrlTemplate) Value to set.static tools.jackson.core.type.TypeReference<StoreSetCheckoutUrlTemplateAction>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_CHECKOUT_URL_TEMPLATE
discriminator value for StoreSetCheckoutUrlTemplateAction- See Also:
-
-
Method Details
-
getCheckoutUrlTemplate
String getCheckoutUrlTemplate()Value to set. Must be an RFC 6570 URI template containing the
checkoutIdvariable. If empty, any existing value is removed.- Returns:
- checkoutUrlTemplate
-
setCheckoutUrlTemplate
Value to set. Must be an RFC 6570 URI template containing the
checkoutIdvariable. If empty, any existing value is removed.- Parameters:
checkoutUrlTemplate- value to be set
-
of
factory method- Returns:
- instance of StoreSetCheckoutUrlTemplateAction
-
of
factory method to create a shallow copy StoreSetCheckoutUrlTemplateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreSetCheckoutUrlTemplateAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
deepCopy
@Nullable static StoreSetCheckoutUrlTemplateAction deepCopy(@Nullable StoreSetCheckoutUrlTemplateAction template) factory method to create a deep copy of StoreSetCheckoutUrlTemplateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetCheckoutUrlTemplateAction- Returns:
- builder
-
builder
create builder for StoreSetCheckoutUrlTemplateAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetCheckoutUrlTemplateAction
default <T> T withStoreSetCheckoutUrlTemplateAction(Function<StoreSetCheckoutUrlTemplateAction, 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
-