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, setVersion
public Locale getLocale()
public javax.money.CurrencyUnit getCurrency()
getCurrency
in interface javax.money.CurrencySupplier
public 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.CurrencyConsumer
currency
- The currency to price the cart against.public boolean equals(Object o)
equals
in class CartModifyingRequest
protected boolean canEqual(Object other)
canEqual
in class CartModifyingRequest
public int hashCode()
hashCode
in class CartModifyingRequest
public String toString()
toString
in class CartModifyingRequest
Copyright © 2021. All rights reserved.