Class FulfillmentPriceAmount
- java.lang.Object
-
- com.broadleafcommerce.shipping.domain.FulfillmentPriceAmount
-
- All Implemented Interfaces:
com.broadleafcommerce.money.CurrencyConsumer
,javax.money.CurrencySupplier
public class FulfillmentPriceAmount extends Object implements com.broadleafcommerce.money.CurrencyConsumer, javax.money.CurrencySupplier
Currency aware amount for fulfillment pricing- Author:
- Chad Harchar (charchar)
-
-
Constructor Summary
Constructors Constructor Description FulfillmentPriceAmount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
javax.money.MonetaryAmount
getAmount()
javax.money.CurrencyUnit
getCurrency()
int
hashCode()
void
setAmount(javax.money.MonetaryAmount amount)
void
setCurrency(javax.money.CurrencyUnit currency)
String
toString()
-
-
-
Method Detail
-
getAmount
public javax.money.MonetaryAmount getAmount()
-
getCurrency
public javax.money.CurrencyUnit getCurrency()
- Specified by:
getCurrency
in interfacejavax.money.CurrencySupplier
-
setAmount
public void setAmount(javax.money.MonetaryAmount amount)
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency)
- Specified by:
setCurrency
in interfacecom.broadleafcommerce.money.CurrencyConsumer
-
canEqual
protected boolean canEqual(Object other)
-
-