Interface CartUnfreezeCartAction
- All Superinterfaces:
CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
Changes the CartState from Frozen
to Active
. Reactivates a Frozen Cart. This action updates all prices in the Cart according to latest Prices on related Product Variants and Shipping Methods and by applying all discounts currently being active and applicable for the Cart.
Example to create an instance using the builder pattern
CartUnfreezeCartAction cartUnfreezeCartAction = CartUnfreezeCartAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CartUnfreezeCartAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CartUnfreezeCartActionbuilder
(CartUnfreezeCartAction template) create builder for CartUnfreezeCartAction instancestatic CartUnfreezeCartAction
deepCopy
(CartUnfreezeCartAction template) factory method to create a deep copy of CartUnfreezeCartActionstatic CartUnfreezeCartAction
of()
factory methodstatic CartUnfreezeCartAction
of
(CartUnfreezeCartAction template) factory method to create a shallow copy CartUnfreezeCartActionstatic com.fasterxml.jackson.core.type.TypeReference<CartUnfreezeCartAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
getAction, withCartUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
UNFREEZE_CART
discriminator value for CartUnfreezeCartAction- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of CartUnfreezeCartAction
-
of
factory method to create a shallow copy CartUnfreezeCartAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CartUnfreezeCartAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CartUnfreezeCartAction- Returns:
- builder
-
builder
create builder for CartUnfreezeCartAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCartUnfreezeCartAction
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
-