Interface CustomerSetLocaleAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

public interface CustomerSetLocaleAction extends CustomerUpdateAction
CustomerSetLocaleAction
Example to create an instance using the builder pattern

     CustomerSetLocaleAction customerSetLocaleAction = CustomerSetLocaleAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getLocale

      String getLocale()

      Value to set. Must be one of the languages supported by the Project.

      Returns:
      locale
    • setLocale

      void setLocale(String locale)

      Value to set. Must be one of the languages supported by the Project.

      Parameters:
      locale - value to be set
    • of

      factory method
      Returns:
      instance of CustomerSetLocaleAction
    • of

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

      factory method to create a deep copy of CustomerSetLocaleAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for CustomerSetLocaleAction
      Returns:
      builder
    • builder

      create builder for CustomerSetLocaleAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerSetLocaleAction

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