com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.ShoppingCart Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
package com.ingenico.connect.gateway.sdk.java.domain.payment.definitions;
import java.util.List;
public class ShoppingCart {
private List amountBreakdown = null;
private GiftCardPurchase giftCardPurchase = null;
private Boolean isPreOrder = null;
private List items = null;
private String preOrderItemAvailabilityDate = null;
private Boolean reOrderIndicator = null;
/**
* Determines the type of the amount.
*/
public List getAmountBreakdown() {
return amountBreakdown;
}
/**
* Determines the type of the amount.
*/
public void setAmountBreakdown(List value) {
this.amountBreakdown = value;
}
/**
* Object containing information on purchased gift card(s)
*/
public GiftCardPurchase getGiftCardPurchase() {
return giftCardPurchase;
}
/**
* Object containing information on purchased gift card(s)
*/
public void setGiftCardPurchase(GiftCardPurchase value) {
this.giftCardPurchase = value;
}
/**
* The customer is pre-ordering one or more items
*/
public Boolean getIsPreOrder() {
return isPreOrder;
}
/**
* The customer is pre-ordering one or more items
*/
public void setIsPreOrder(Boolean value) {
this.isPreOrder = value;
}
/**
* Shopping cart data
*/
public List getItems() {
return items;
}
/**
* Shopping cart data
*/
public void setItems(List value) {
this.items = value;
}
/**
* Date (YYYYMMDD) when the preordered item becomes available
*/
public String getPreOrderItemAvailabilityDate() {
return preOrderItemAvailabilityDate;
}
/**
* Date (YYYYMMDD) when the preordered item becomes available
*/
public void setPreOrderItemAvailabilityDate(String value) {
this.preOrderItemAvailabilityDate = 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 Boolean getReOrderIndicator() {
return reOrderIndicator;
}
/**
* 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 void setReOrderIndicator(Boolean value) {
this.reOrderIndicator = value;
}
}