Interface MyCartSetCustomerEmailAction

All Superinterfaces:
MyCartUpdateAction, ResourceUpdateAction<MyCartUpdateAction>

public interface MyCartSetCustomerEmailAction extends MyCartUpdateAction
MyCartSetCustomerEmailAction
Example to create an instance using the builder pattern

     MyCartSetCustomerEmailAction myCartSetCustomerEmailAction = MyCartSetCustomerEmailAction.builder()
             .build()
 
  • Field Details

    • SET_CUSTOMER_EMAIL

      static final String SET_CUSTOMER_EMAIL
      discriminator value for MyCartSetCustomerEmailAction
      See Also:
  • Method Details

    • getEmail

      String getEmail()

      Value to set. If empty, any existing value is removed.

      Returns:
      email
    • setEmail

      void setEmail(String email)

      Value to set. If empty, any existing value is removed.

      Parameters:
      email - value to be set
    • of

      factory method
      Returns:
      instance of MyCartSetCustomerEmailAction
    • of

      factory method to create a shallow copy MyCartSetCustomerEmailAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      @Nullable static MyCartSetCustomerEmailAction deepCopy(@Nullable MyCartSetCustomerEmailAction template)
      factory method to create a deep copy of MyCartSetCustomerEmailAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for MyCartSetCustomerEmailAction
      Returns:
      builder
    • builder

      create builder for MyCartSetCustomerEmailAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withMyCartSetCustomerEmailAction

      default <T> T withMyCartSetCustomerEmailAction(Function<MyCartSetCustomerEmailAction,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<MyCartSetCustomerEmailAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference