public class ShoppingCart extends Object
| Constructor and Description |
|---|
ShoppingCart() |
| Modifier and Type | Method and Description |
|---|---|
List<AmountBreakdown> |
getAmountBreakdown()
Deprecated: Use order.shipping.shippingCost for shipping cost.
|
GiftCardPurchase |
getGiftCardPurchase()
Object containing information on purchased gift card(s)
|
Boolean |
getIsPreOrder()
The customer is pre-ordering one or more items
|
List<LineItem> |
getItems()
Shopping cart data
|
String |
getPreOrderItemAvailabilityDate()
Date (YYYYMMDD) when the preordered item becomes available
|
Boolean |
getReOrderIndicator()
Indicates whether the cardholder is reordering previously purchased item(s)
true = the customer is re-ordering at least one of the items again
false = this is the first time the customer is ordering these items
|
void |
setAmountBreakdown(List<AmountBreakdown> value)
Deprecated: Use order.shipping.shippingCost for shipping cost.
|
void |
setGiftCardPurchase(GiftCardPurchase value)
Object containing information on purchased gift card(s)
|
void |
setIsPreOrder(Boolean value)
The customer is pre-ordering one or more items
|
void |
setItems(List<LineItem> value)
Shopping cart data
|
void |
setPreOrderItemAvailabilityDate(String value)
Date (YYYYMMDD) when the preordered item becomes available
|
void |
setReOrderIndicator(Boolean value)
Indicates whether the cardholder is reordering previously purchased item(s)
true = the customer is re-ordering at least one of the items again
false = this is the first time the customer is ordering these items
|
ShoppingCart |
withAmountBreakdown(List<AmountBreakdown> value)
Deprecated: Use order.shipping.shippingCost for shipping cost.
|
ShoppingCart |
withGiftCardPurchase(GiftCardPurchase value)
Object containing information on purchased gift card(s)
|
ShoppingCart |
withIsPreOrder(Boolean value)
The customer is pre-ordering one or more items
|
ShoppingCart |
withItems(List<LineItem> value)
Shopping cart data
|
ShoppingCart |
withPreOrderItemAvailabilityDate(String value)
Date (YYYYMMDD) when the preordered item becomes available
|
ShoppingCart |
withReOrderIndicator(Boolean value)
Indicates whether the cardholder is reordering previously purchased item(s)
true = the customer is re-ordering at least one of the items again
false = this is the first time the customer is ordering these items
|
public List<AmountBreakdown> getAmountBreakdown()
public void setAmountBreakdown(List<AmountBreakdown> value)
public ShoppingCart withAmountBreakdown(List<AmountBreakdown> value)
public GiftCardPurchase getGiftCardPurchase()
public void setGiftCardPurchase(GiftCardPurchase value)
public ShoppingCart withGiftCardPurchase(GiftCardPurchase value)
public Boolean getIsPreOrder()
public void setIsPreOrder(Boolean value)
public ShoppingCart withIsPreOrder(Boolean value)
public ShoppingCart withItems(List<LineItem> value)
public String getPreOrderItemAvailabilityDate()
public void setPreOrderItemAvailabilityDate(String value)
public ShoppingCart withPreOrderItemAvailabilityDate(String value)
public Boolean getReOrderIndicator()
public void setReOrderIndicator(Boolean value)
public ShoppingCart withReOrderIndicator(Boolean value)
Copyright © 2024 Worldline Online Payments Direct. All rights reserved.