Class DiscountRule
java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v1_0.DiscountRule
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@DecimalMin("0") Long@DecimalMin("0") LonggetId()getType()inthashCode()voidsetDiscountId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> discountIdUnsafeSupplier) voidsetDiscountId(Long discountId) voidvoidvoidvoidvoidsetTypeSettings(com.liferay.petra.function.UnsafeSupplier<String, Exception> typeSettingsUnsafeSupplier) voidsetTypeSettings(String typeSettings) static DiscountRuletoString()static DiscountRuleunsafeToDTO(String json)
-
Field Details
-
discountId
-
id
-
type
-
typeSettings
-
xClassName
-
-
Constructor Details
-
DiscountRule
public DiscountRule()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getDiscountId
-
setDiscountId
-
setDiscountId
-
getId
-
setId
-
setId
-
getType
-
setType
-
setType
-
getTypeSettings
-
setTypeSettings
-
setTypeSettings
-
equals
-
hashCode
public int hashCode() -
toString
-