public interface CommonAllowanceCharge extends java.io.Serializable
The common interface for the Allowance Charges.
Modifier and Type | Method and Description |
---|---|
Amount |
getActual()
Gets the actual amount.
|
Amount |
getBasis()
Gets the basis amount of the allowance charge.
|
Quantity |
getBasisQuantity()
Gets the basis quantity.
|
java.math.BigDecimal |
getCalculationPercent()
Gets the calculation percent of the allowance charge
|
java.lang.String |
getReason()
Gets the reason free text
|
java.lang.String |
getReasonCode()
Gets the reason code for the reason content.
|
java.math.BigDecimal |
getSequence()
Gets the sequence number of the allowance charge
|
boolean |
isDiscount()
Checks if is discount.
|
boolean |
isSurcharge()
Checks if is a surcharge.
|
CommonAllowanceCharge |
setActual(Amount actualAmount)
Sets the actual amount.
|
CommonAllowanceCharge |
setBasis(Amount basisAmount)
Sets the basis amount of the allowance charge.
|
CommonAllowanceCharge |
setBasisQuantity(Quantity basisQuantity)
Sets the basis quantity.
|
CommonAllowanceCharge |
setCalculationPercent(java.math.BigDecimal calculationPercent)
Sets the calculation percent of the allowance charge.
|
CommonAllowanceCharge |
setDiscount()
Sets the amount to be a discount.
|
CommonAllowanceCharge |
setReason(java.lang.String reason)
Sets the reason free text
|
CommonAllowanceCharge |
setReasonCode(java.lang.String reasonCode)
Sets the reason code for the reason content.
|
CommonAllowanceCharge |
setSequence(java.math.BigDecimal sequence)
Sets the sequence number of the allowance charge.
|
CommonAllowanceCharge |
setSurcharge()
Sets amount to be a surcharge.
|
Quantity getBasisQuantity()
Gets the basis quantity.
java.math.BigDecimal getCalculationPercent()
Gets the calculation percent of the allowance charge
java.lang.String getReason()
Gets the reason free text
java.lang.String getReasonCode()
Gets the reason code for the reason content.
java.math.BigDecimal getSequence()
Gets the sequence number of the allowance charge
boolean isDiscount()
Checks if is discount.
boolean isSurcharge()
Checks if is a surcharge.
CommonAllowanceCharge setActual(Amount actualAmount)
Sets the actual amount.
actualAmount
- the new actual amountCommonAllowanceCharge setBasis(Amount basisAmount)
Sets the basis amount of the allowance charge.
basisAmount
- the new basis amountCommonAllowanceCharge setBasisQuantity(Quantity basisQuantity)
Sets the basis quantity.
basisQuantity
- the new basis quantityCommonAllowanceCharge setCalculationPercent(java.math.BigDecimal calculationPercent)
Sets the calculation percent of the allowance charge.
calculationPercent
- the new calculation percentCommonAllowanceCharge setDiscount()
Sets the amount to be a discount.
CommonAllowanceCharge setReason(java.lang.String reason)
Sets the reason free text
reason
- the new reasonCommonAllowanceCharge setReasonCode(java.lang.String reasonCode)
Sets the reason code for the reason content.
reasonCode
- the new reason codeCommonAllowanceCharge setSequence(java.math.BigDecimal sequence)
Sets the sequence number of the allowance charge.
sequence
- the new sequenceCommonAllowanceCharge setSurcharge()
Sets amount to be a surcharge.
Copyright © 2014-2018 Konik.io. All Rights Reserved.