public class Adjustment extends Object implements Serializable
Constructor and Description |
---|
Adjustment() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAlternateAdjustmentSource()
If this adjustment is not created by an offer this parameter will specify the source of
adjustment.
|
javax.money.MonetaryAmount |
getAmount()
The amount of this adjustment.
|
String |
getCodeUsed()
The code used (if any) that triggered the application of the offer for this adjustment.
|
OfferRef |
getOfferRef()
A reference to the offer that originated this adjustment.
|
int |
hashCode() |
void |
setAlternateAdjustmentSource(String alternateAdjustmentSource)
If this adjustment is not created by an offer this parameter will specify the source of
adjustment.
|
void |
setAmount(javax.money.MonetaryAmount amount)
The amount of this adjustment.
|
void |
setCodeUsed(String codeUsed)
The code used (if any) that triggered the application of the offer for this adjustment.
|
void |
setOfferRef(OfferRef offerRef)
A reference to the offer that originated this adjustment.
|
String |
toString() |
public OfferRef getOfferRef()
public javax.money.MonetaryAmount getAmount()
public String getCodeUsed()
public String getAlternateAdjustmentSource()
DefaultAlternateAdjustmentSource
public void setOfferRef(OfferRef offerRef)
offerRef
- A reference to the offer that originated this adjustment.public void setAmount(javax.money.MonetaryAmount amount)
amount
- The amount of this adjustment.public void setCodeUsed(String codeUsed)
codeUsed
- The code used (if any) that triggered the application of the offer for this
adjustment.public void setAlternateAdjustmentSource(String alternateAdjustmentSource)
alternateAdjustmentSource
- the source of the adjustment.DefaultAlternateAdjustmentSource
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.