Interface CartUnfreezeCartAction

All Superinterfaces:
CartUpdateAction, ResourceUpdateAction<CartUpdateAction>

public interface CartUnfreezeCartAction extends 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 Details

  • 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

      default <T> T withCartUnfreezeCartAction(Function<CartUnfreezeCartAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<CartUnfreezeCartAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference