public class PriceCartRequest extends CartModifyingRequest implements Serializable, javax.money.CurrencySupplier, com.broadleafcommerce.money.CurrencyConsumer
| Constructor and Description |
|---|
PriceCartRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
javax.money.CurrencyUnit |
getCurrency()
The currency to price the cart against.
|
Locale |
getLocale()
The locale to price the cart against.
|
int |
hashCode() |
void |
setCurrency(javax.money.CurrencyUnit currency)
The currency to price the cart against.
|
void |
setLocale(Locale locale)
The locale to price the cart against.
|
String |
toString() |
getCartVersion, getVersion, setCartVersion, setVersionpublic Locale getLocale()
public javax.money.CurrencyUnit getCurrency()
getCurrency in interface javax.money.CurrencySupplierpublic void setLocale(Locale locale)
locale - The locale to price the cart against.public void setCurrency(javax.money.CurrencyUnit currency)
setCurrency in interface com.broadleafcommerce.money.CurrencyConsumercurrency - The currency to price the cart against.public boolean equals(Object o)
equals in class CartModifyingRequestprotected boolean canEqual(Object other)
canEqual in class CartModifyingRequestpublic int hashCode()
hashCode in class CartModifyingRequestpublic String toString()
toString in class CartModifyingRequestCopyright © 2021. All rights reserved.