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") Long
getId()
getType()
int
hashCode()
void
setDiscountId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> discountIdUnsafeSupplier) void
setDiscountId
(Long discountId) void
void
void
void
void
setTypeSettings
(com.liferay.petra.function.UnsafeSupplier<String, Exception> typeSettingsUnsafeSupplier) void
setTypeSettings
(String typeSettings) static DiscountRule
toString()
static DiscountRule
unsafeToDTO
(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
-