Class OrderRuleOrderType

java.lang.Object
com.liferay.headless.commerce.admin.order.dto.v1_0.OrderRuleOrderType
All Implemented Interfaces:
Serializable

@Generated("") public class OrderRuleOrderType extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • actions

      protected Map<String,Map<String,String>> actions
    • orderRuleExternalReferenceCode

      protected String orderRuleExternalReferenceCode
    • orderRuleId

      @NotNull protected @NotNull Long orderRuleId
    • orderRuleOrderTypeId

      protected Long orderRuleOrderTypeId
    • orderType

      protected OrderType orderType
    • orderTypeExternalReferenceCode

      protected String orderTypeExternalReferenceCode
    • orderTypeId

      @NotNull protected @NotNull Long orderTypeId
    • xClassName

      public String xClassName
  • Constructor Details

    • OrderRuleOrderType

      public OrderRuleOrderType()
  • Method Details

    • toDTO

      public static OrderRuleOrderType toDTO(String json)
    • unsafeToDTO

      public static OrderRuleOrderType unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getOrderRuleExternalReferenceCode

      public String getOrderRuleExternalReferenceCode()
    • setOrderRuleExternalReferenceCode

      public void setOrderRuleExternalReferenceCode(String orderRuleExternalReferenceCode)
    • setOrderRuleExternalReferenceCode

      public void setOrderRuleExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> orderRuleExternalReferenceCodeUnsafeSupplier)
    • getOrderRuleId

      @DecimalMin("0") public @DecimalMin("0") Long getOrderRuleId()
    • setOrderRuleId

      public void setOrderRuleId(Long orderRuleId)
    • setOrderRuleId

      public void setOrderRuleId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> orderRuleIdUnsafeSupplier)
    • getOrderRuleOrderTypeId

      @DecimalMin("0") public @DecimalMin("0") Long getOrderRuleOrderTypeId()
    • setOrderRuleOrderTypeId

      public void setOrderRuleOrderTypeId(Long orderRuleOrderTypeId)
    • setOrderRuleOrderTypeId

      public void setOrderRuleOrderTypeId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> orderRuleOrderTypeIdUnsafeSupplier)
    • getOrderType

      @Valid public @Valid OrderType getOrderType()
    • setOrderType

      public void setOrderType(OrderType orderType)
    • setOrderType

      public void setOrderType(com.liferay.petra.function.UnsafeSupplier<OrderType,Exception> orderTypeUnsafeSupplier)
    • getOrderTypeExternalReferenceCode

      public String getOrderTypeExternalReferenceCode()
    • setOrderTypeExternalReferenceCode

      public void setOrderTypeExternalReferenceCode(String orderTypeExternalReferenceCode)
    • setOrderTypeExternalReferenceCode

      public void setOrderTypeExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> orderTypeExternalReferenceCodeUnsafeSupplier)
    • getOrderTypeId

      @DecimalMin("0") public @DecimalMin("0") Long getOrderTypeId()
    • setOrderTypeId

      public void setOrderTypeId(Long orderTypeId)
    • setOrderTypeId

      public void setOrderTypeId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> orderTypeIdUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object