Home > @vsf-enterprise/sap-commerce-webservices-sdk > Cart
Cart interface
Representation of a Cart Cart
Signature:
export interface Cart
Properties
Property | Type | Description |
---|---|---|
appliedOrderPromotions? | Array<PromotionResult> | (Optional) List of applied order promotions |
appliedProductPromotions? | Array<PromotionResult> | (Optional) List of applied product promotions |
appliedVouchers? | Array<Voucher> | (Optional) List of applied vouchers |
calculated? | boolean | (Optional) Flag showing if order is calculated |
code? | string | (Optional) Code number of order |
deliveryAddress? | Address | (Optional) |
deliveryCost? | Price | (Optional) |
deliveryItemsQuantity? | number | (Optional) Quantity of delivery items |
deliveryMode? | DeliveryMode | (Optional) |
deliveryOrderGroups? | Array<DeliveryOrderEntryGroup> | (Optional) List of delivery order entries group |
description? | string | (Optional) Description of the cart |
entries? | Array<OrderEntry> | (Optional) List of order entries |
expirationTime? | string | (Optional) Date of cart expiration time |
guid? | string | (Optional) Guest user id identifier |
name? | string | (Optional) Name of the cart |
net? | boolean | (Optional) Flag stating iv value is net-value |
orderDiscounts? | Price | (Optional) |
paymentInfo? | PaymentDetails | (Optional) |
pickupItemsQuantity? | number | (Optional) Quantity of pickup items |
pickupOrderGroups? | Array<PickupOrderEntryGroup> | (Optional) List of pickup order entry group |
potentialOrderPromotions? | Array<PromotionResult> | (Optional) List of potential order promotions for cart |
potentialProductPromotions? | Array<PromotionResult> | (Optional) List of potential product promotions for cart |
productDiscounts? | Price | (Optional) |
savedBy? | Principal | (Optional) |
saveTime? | string | (Optional) Date of saving cart |
site? | string | (Optional) Site |
store? | string | (Optional) Store |
subTotal? | Price | (Optional) |
totalDiscounts? | Price | (Optional) |
totalItems? | number | (Optional) |
totalPrice? | Price | (Optional) |
totalPriceWithTax? | Price | (Optional) |
totalTax? | Price | (Optional) |
totalUnitCount? | number | (Optional) Total unit count |
user? | Principal | (Optional) |