Package hdi.model.payment
Class Adjustment
java.lang.Object
hdi.model.payment.Adjustment
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamount()
boolean
group()
group
(AdjustmentGroup group) int
hashCode()
quantity()
void
quantity
(BigDecimal quantity) hdi.codeent.CodeEntity
reason()
reason
(hdi.codeent.CodeEntity reason) static BigDecimal
sumAdjustments
(Collection<Adjustment> adjustments, String reasonCode) toString()
-
Field Details
-
mapper
-
-
Constructor Details
-
Adjustment
public Adjustment()
-
-
Method Details
-
amountOrZero
-
quantity
-
reasonDescription
-
sumAdjustments
-
group
-
reasonCode
-
reason
public hdi.codeent.CodeEntity reason() -
amount
-
quantity
-
toString
-
equals
-
hashCode
public int hashCode() -
group
- Returns:
this
.
-
reason
- Returns:
this
.
-