Class DiscountAccount
java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v2_0.DiscountAccount
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid Account@DecimalMin("0") Long@DecimalMin("0") Long@DecimalMin("0") LonginthashCode()voidsetAccount(Account account) voidsetAccount(com.liferay.petra.function.UnsafeSupplier<Account, Exception> accountUnsafeSupplier) voidsetAccountExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> accountExternalReferenceCodeUnsafeSupplier) voidsetAccountExternalReferenceCode(String accountExternalReferenceCode) voidsetAccountId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> accountIdUnsafeSupplier) voidsetAccountId(Long accountId) voidsetActions(com.liferay.petra.function.UnsafeSupplier<Map<String, Map<String, String>>, Exception> actionsUnsafeSupplier) voidvoidsetDiscountAccountId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> discountAccountIdUnsafeSupplier) voidsetDiscountAccountId(Long discountAccountId) 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 DiscountAccounttoString()static DiscountAccountunsafeToDTO(String json)
-
Field Details
-
account
-
accountExternalReferenceCode
-
accountId
-
actions
-
discountAccountId
-
discountExternalReferenceCode
-
discountId
-
xClassName
-
-
Constructor Details
-
DiscountAccount
public DiscountAccount()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getAccount
-
setAccount
-
setAccount
-
getAccountExternalReferenceCode
-
setAccountExternalReferenceCode
-
setAccountExternalReferenceCode
-
getAccountId
-
setAccountId
-
setAccountId
-
getActions
-
setActions
-
setActions
-
getDiscountAccountId
-
setDiscountAccountId
-
setDiscountAccountId
-
getDiscountExternalReferenceCode
-
setDiscountExternalReferenceCode
-
setDiscountExternalReferenceCode
-
getDiscountId
-
setDiscountId
-
setDiscountId
-
equals
-
hashCode
public int hashCode() -
toString
-