Class DiscountCategory
java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v1_0.DiscountCategory
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@DecimalMin("0") Long
@DecimalMin("0") Long
@DecimalMin("0") Long
getId()
int
hashCode()
void
setCategoryExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> categoryExternalReferenceCodeUnsafeSupplier) void
setCategoryExternalReferenceCode
(String categoryExternalReferenceCode) void
setCategoryId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> categoryIdUnsafeSupplier) void
setCategoryId
(Long categoryId) void
setDiscountExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountExternalReferenceCodeUnsafeSupplier) void
setDiscountExternalReferenceCode
(String discountExternalReferenceCode) void
setDiscountId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> discountIdUnsafeSupplier) void
setDiscountId
(Long discountId) void
void
static DiscountCategory
toString()
static DiscountCategory
unsafeToDTO
(String json)
-
Field Details
-
categoryExternalReferenceCode
-
categoryId
-
discountExternalReferenceCode
-
discountId
-
id
-
xClassName
-
-
Constructor Details
-
DiscountCategory
public DiscountCategory()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getCategoryExternalReferenceCode
-
setCategoryExternalReferenceCode
-
setCategoryExternalReferenceCode
-
getCategoryId
-
setCategoryId
-
setCategoryId
-
getDiscountExternalReferenceCode
-
setDiscountExternalReferenceCode
-
setDiscountExternalReferenceCode
-
getDiscountId
-
setDiscountId
-
setDiscountId
-
getId
-
setId
-
setId
-
equals
-
hashCode
public int hashCode() -
toString
-