Package com.blockchyp.client.dto
Class TransactionDisplayDiscount
java.lang.Object
com.blockchyp.client.dto.TransactionDisplayDiscount
An item level discount for transaction display. Discounts never combine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the amount of the discount.Gets the discount description.voidSets the amount of the discount.voidsetDescription(String value) Sets the discount description.
-
Constructor Details
-
TransactionDisplayDiscount
public TransactionDisplayDiscount()
-
-
Method Details
-
setDescription
Sets the discount description.- Parameters:
value- the discount description.
-
getDescription
Gets the discount description.- Returns:
- the discount description.
-
setAmount
Sets the amount of the discount.- Parameters:
value- the amount of the discount.
-
getAmount
Gets the amount of the discount.- Returns:
- the amount of the discount.
-