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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.MonetaryAmount
javax.money.CurrencyUnit
int
hashCode()
void
setAmount
(javax.money.MonetaryAmount amount) void
setCurrency
(javax.money.CurrencyUnit currency) toString()
-
Constructor Details
-
FulfillmentPriceAmount
public FulfillmentPriceAmount()
-
-
Method Details
-
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-