Interface OrderSetLocaleAction

All Superinterfaces:
OrderUpdateAction, ResourceUpdateAction<OrderUpdateAction>

public interface OrderSetLocaleAction extends OrderUpdateAction
OrderSetLocaleAction
Example to create an instance using the builder pattern

     OrderSetLocaleAction orderSetLocaleAction = OrderSetLocaleAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getLocale

      String getLocale()

      Value to set. Must be one of the Project's languages. If empty, any existing value is removed.

      Returns:
      locale
    • setLocale

      void setLocale(String locale)

      Value to set. Must be one of the Project's languages. If empty, any existing value is removed.

      Parameters:
      locale - value to be set
    • of

      static OrderSetLocaleAction of()
      factory method
      Returns:
      instance of OrderSetLocaleAction
    • of

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

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

      static OrderSetLocaleActionBuilder builder()
      builder factory method for OrderSetLocaleAction
      Returns:
      builder
    • builder

      create builder for OrderSetLocaleAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withOrderSetLocaleAction

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