github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/ShoppingCart.go (about) 1 // This class was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package payment 5 6 // ShoppingCart represents class ShoppingCart 7 type ShoppingCart struct { 8 AmountBreakdown *[]AmountBreakdown `json:"amountBreakdown,omitempty"` 9 GiftCardPurchase *GiftCardPurchase `json:"giftCardPurchase,omitempty"` 10 IsPreOrder *bool `json:"isPreOrder,omitempty"` 11 Items *[]LineItem `json:"items,omitempty"` 12 PreOrderItemAvailabilityDate *string `json:"preOrderItemAvailabilityDate,omitempty"` 13 ReOrderIndicator *bool `json:"reOrderIndicator,omitempty"` 14 } 15 16 // NewShoppingCart constructs a new ShoppingCart 17 func NewShoppingCart() *ShoppingCart { 18 return &ShoppingCart{} 19 }