Class DiscountAccountGroup

java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v2_0.DiscountAccountGroup
All Implemented Interfaces:
Serializable

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

    • accountGroup

      protected PricingAccountGroup accountGroup
    • accountGroupExternalReferenceCode

      protected String accountGroupExternalReferenceCode
    • accountGroupId

      @NotNull protected @NotNull Long accountGroupId
    • actions

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

      protected Long discountAccountGroupId
    • discountExternalReferenceCode

      protected String discountExternalReferenceCode
    • discountId

      protected Long discountId
    • xClassName

      public String xClassName
  • Constructor Details

    • DiscountAccountGroup

      public DiscountAccountGroup()
  • Method Details

    • toDTO

      public static DiscountAccountGroup toDTO(String json)
    • unsafeToDTO

      public static DiscountAccountGroup unsafeToDTO(String json)
    • getAccountGroup

      @Valid public @Valid PricingAccountGroup getAccountGroup()
    • setAccountGroup

      public void setAccountGroup(PricingAccountGroup accountGroup)
    • setAccountGroup

      public void setAccountGroup(com.liferay.petra.function.UnsafeSupplier<PricingAccountGroup,Exception> accountGroupUnsafeSupplier)
    • getAccountGroupExternalReferenceCode

      public String getAccountGroupExternalReferenceCode()
    • setAccountGroupExternalReferenceCode

      public void setAccountGroupExternalReferenceCode(String accountGroupExternalReferenceCode)
    • setAccountGroupExternalReferenceCode

      public void setAccountGroupExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> accountGroupExternalReferenceCodeUnsafeSupplier)
    • getAccountGroupId

      @DecimalMin("0") public @DecimalMin("0") Long getAccountGroupId()
    • setAccountGroupId

      public void setAccountGroupId(Long accountGroupId)
    • setAccountGroupId

      public void setAccountGroupId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> accountGroupIdUnsafeSupplier)
    • 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)
    • getDiscountAccountGroupId

      @DecimalMin("0") public @DecimalMin("0") Long getDiscountAccountGroupId()
    • setDiscountAccountGroupId

      public void setDiscountAccountGroupId(Long discountAccountGroupId)
    • setDiscountAccountGroupId

      public void setDiscountAccountGroupId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> discountAccountGroupIdUnsafeSupplier)
    • getDiscountExternalReferenceCode

      public String getDiscountExternalReferenceCode()
    • setDiscountExternalReferenceCode

      public void setDiscountExternalReferenceCode(String discountExternalReferenceCode)
    • setDiscountExternalReferenceCode

      public void setDiscountExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> discountExternalReferenceCodeUnsafeSupplier)
    • getDiscountId

      @DecimalMin("0") public @DecimalMin("0") Long getDiscountId()
    • setDiscountId

      public void setDiscountId(Long discountId)
    • setDiscountId

      public void setDiscountId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> discountIdUnsafeSupplier)
    • 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