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()
int
index()
index
(int index) quantity()
void
quantity
(BigDecimal quantity) hdi.codeent.CodeEntity
reason()
reason
(hdi.codeent.CodeEntity reason) reasonCode
(String reasonCode) static BigDecimal
sumAdjustments
(Collection<Adjustment> adjustments, String reasonCode) toString()
-
Field Details
-
mapper
-
-
Constructor Details
-
Adjustment
public Adjustment()
-
-
Method Details
-
reasonCode
-
amountOrZero
-
quantity
-
reasonDescription
-
sumAdjustments
-
index
public int index() -
group
-
reasonCode
-
reason
public hdi.codeent.CodeEntity reason() -
amount
-
quantity
-
toString
-
equals
-
hashCode
public int hashCode() -
index
- Returns:
this
.
-
group
- Returns:
this
.
-
reason
- Returns:
this
.
-