public class OfferIdMonetaryAmountPair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OfferIdMonetaryAmountPair(java.lang.Long offerId,
MonetaryAmount monetaryAmount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
getMonetaryAmount()
Returns the MonetaryAmount
|
java.lang.Long |
getOfferId()
Returns the offer ID.
|
public static final java.lang.String COPYRIGHT
public OfferIdMonetaryAmountPair(java.lang.Long offerId, MonetaryAmount monetaryAmount)
offerId
- The offer ID to use.monetaryAmount
- The MonetaryAmount to use.public MonetaryAmount getMonetaryAmount()
public java.lang.Long getOfferId()