Package com.onlinepayments.domain
Class ShoppingCart
java.lang.Object
com.onlinepayments.domain.ShoppingCart
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use order.shipping.shippingCost for shipping cost.Object containing information on purchased gift card(s)The customer is pre-ordering one or more itemsgetItems()Shopping cart dataDate (YYYYMMDD) when the preordered item becomes availableIndicates whether the cardholder is reordering previously purchased item(s)voidsetAmountBreakdown(List<AmountBreakdown> value) Deprecated.Use order.shipping.shippingCost for shipping cost.voidObject containing information on purchased gift card(s)voidsetIsPreOrder(Boolean value) The customer is pre-ordering one or more itemsvoidShopping cart datavoidDate (YYYYMMDD) when the preordered item becomes availablevoidsetReOrderIndicator(Boolean value) Indicates whether the cardholder is reordering previously purchased item(s)withAmountBreakdown(List<AmountBreakdown> value) Deprecated.Use order.shipping.shippingCost for shipping cost.Object containing information on purchased gift card(s)withIsPreOrder(Boolean value) The customer is pre-ordering one or more itemsShopping cart dataDate (YYYYMMDD) when the preordered item becomes availablewithReOrderIndicator(Boolean value) Indicates whether the cardholder is reordering previously purchased item(s)
-
Constructor Details
-
ShoppingCart
public ShoppingCart()
-
-
Method Details
-
getAmountBreakdown
Deprecated.Use order.shipping.shippingCost for shipping cost. Other amounts are not used. Determines how the total amount is split into amount typesDeprecated: Use order.shipping.shippingCost for shipping cost. Other amounts are not used. Determines how the total amount is split into amount types -
setAmountBreakdown
Deprecated.Use order.shipping.shippingCost for shipping cost. Other amounts are not used. Determines how the total amount is split into amount typesDeprecated: Use order.shipping.shippingCost for shipping cost. Other amounts are not used. Determines how the total amount is split into amount types -
withAmountBreakdown
Deprecated.Use order.shipping.shippingCost for shipping cost. Other amounts are not used. Determines how the total amount is split into amount typesDeprecated: Use order.shipping.shippingCost for shipping cost. Other amounts are not used. Determines how the total amount is split into amount types -
getGiftCardPurchase
Object containing information on purchased gift card(s) -
setGiftCardPurchase
Object containing information on purchased gift card(s) -
withGiftCardPurchase
Object containing information on purchased gift card(s) -
getIsPreOrder
The customer is pre-ordering one or more items -
setIsPreOrder
The customer is pre-ordering one or more items -
withIsPreOrder
The customer is pre-ordering one or more items -
getItems
Shopping cart data -
setItems
Shopping cart data -
withItems
Shopping cart data -
getPreOrderItemAvailabilityDate
Date (YYYYMMDD) when the preordered item becomes available -
setPreOrderItemAvailabilityDate
Date (YYYYMMDD) when the preordered item becomes available -
withPreOrderItemAvailabilityDate
Date (YYYYMMDD) when the preordered item becomes available -
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
-
setReOrderIndicator
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
-
withReOrderIndicator
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
-