AmountAdjustment¶
-
public class
AmountAdjustment
¶ This represents the data that is shared between the terminal and the application while processing CP Triggers. Setting the fields is only relevant when sending the data to the terminal, and conversely, getting the fields is only relevant when receiving this object from the terminal.
Methods¶
create¶
-
public static AmountAdjustment
create
()¶
getAdjustmentPercentage¶
-
public Decimal
getAdjustmentPercentage
()¶ Refer to the
setAdjustmentPercentage(BigDecimal)
.
getAdjustmentValue¶
-
public Decimal
getAdjustmentValue
()¶ Refer to
setAdjustmentValue( BigDecimal)
.
getDescription¶
-
public String
getDescription
()¶ Refer to
setDescription(String)
.
setAdjustmentPercentage¶
setAdjustmentValue¶
setDescription¶
shouldUsePercentageForAdjustment¶
-
public boolean
shouldUsePercentageForAdjustment
()¶ boolean which indicates whether the percentage or value of the total should be used for adjustment.