Class DiscountCategory
java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v2_0.DiscountCategory
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid Category@DecimalMin("0") Long@DecimalMin("0") Long@DecimalMin("0") LonginthashCode()voidsetActions(com.liferay.petra.function.UnsafeSupplier<Map<String, Map<String, String>>, Exception> actionsUnsafeSupplier) voidvoidsetCategory(Category category) voidsetCategory(com.liferay.petra.function.UnsafeSupplier<Category, Exception> categoryUnsafeSupplier) voidsetCategoryExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> categoryExternalReferenceCodeUnsafeSupplier) voidsetCategoryExternalReferenceCode(String categoryExternalReferenceCode) voidsetCategoryId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> categoryIdUnsafeSupplier) voidsetCategoryId(Long categoryId) voidsetDiscountCategoryId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> discountCategoryIdUnsafeSupplier) voidsetDiscountCategoryId(Long discountCategoryId) voidsetDiscountExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountExternalReferenceCodeUnsafeSupplier) voidsetDiscountExternalReferenceCode(String discountExternalReferenceCode) voidsetDiscountId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> discountIdUnsafeSupplier) voidsetDiscountId(Long discountId) static DiscountCategorytoString()static DiscountCategoryunsafeToDTO(String json)
-
Field Details
-
actions
-
category
-
categoryExternalReferenceCode
-
categoryId
-
discountCategoryId
-
discountExternalReferenceCode
-
discountId
-
xClassName
-
-
Constructor Details
-
DiscountCategory
public DiscountCategory()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getActions
-
setActions
-
setActions
-
getCategory
-
setCategory
-
setCategory
-
getCategoryExternalReferenceCode
-
setCategoryExternalReferenceCode
-
setCategoryExternalReferenceCode
-
getCategoryId
-
setCategoryId
-
setCategoryId
-
getDiscountCategoryId
-
setDiscountCategoryId
-
setDiscountCategoryId
-
getDiscountExternalReferenceCode
-
setDiscountExternalReferenceCode
-
setDiscountExternalReferenceCode
-
getDiscountId
-
setDiscountId
-
setDiscountId
-
equals
-
hashCode
public int hashCode() -
toString
-