public class CartInput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Currency |
currency |
private java.util.List<LineItemInput> |
lineItems |
private java.util.Locale |
locale |
private TaxType |
taxType |
Constructor and Description |
---|
CartInput() |
Modifier and Type | Method and Description |
---|---|
java.util.Currency |
getCurrency()
Selected cart currency.
|
java.util.List<LineItemInput> |
getLineItems()
Initial list of line items to put into the cart.
|
java.util.Locale |
getLocale()
Selected cart locale.
|
TaxType |
getTaxType()
Selected cart tax type.
|
boolean |
isEmpty() |
void |
setCurrency(java.util.Currency currency) |
void |
setLineItems(java.util.List<LineItemInput> lineitems) |
void |
setLocale(java.util.Locale locale) |
void |
setTaxType(TaxType taxType) |
private java.util.Currency currency
private TaxType taxType
@FullLocale private java.util.Locale locale
private java.util.List<LineItemInput> lineItems
public java.util.Currency getCurrency()
public void setCurrency(java.util.Currency currency)
public TaxType getTaxType()
public void setTaxType(TaxType taxType)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public java.util.List<LineItemInput> getLineItems()
public void setLineItems(java.util.List<LineItemInput> lineitems)
public boolean isEmpty()