Alokai

Cart

Representation of a Cart Cart

export interface Cart {
	'appliedOrderPromotions'?: Array<PromotionResult>;
	'appliedProductPromotions'?: Array<PromotionResult>;
	'appliedVouchers'?: Array<Voucher>;
	'calculated'?: boolean;
	'chinesePaymentInfo'?: ChinesePaymentInfo;
	'code'?: string;
	'costCenter'?: B2BCostCenter;
	'deliveryAddress'?: Address;
	'deliveryCost'?: Price;
	'deliveryItemsQuantity'?: number;
	'deliveryMode'?: DeliveryMode;
	'deliveryOrderGroups'?: Array<DeliveryOrderEntryGroup>;
	'deliveryTimeSlot'?: DeliveryTimeSlot;
	'description'?: string;
	'earliestRetrievalAt'?: string;
	'entries'?: Array<OrderEntry>;
	'entryGroups'?: Array<EntryGroup>;
	'expirationTime'?: string;
	'guid'?: string;
	'name'?: string;
	'net'?: boolean;
	'orderDiscounts'?: Price;
	'paymentInfo'?: PaymentDetails;
	'paymentStatus'?: string;
	'paymentType'?: B2BPaymentTypeData;
	'pickupItemsQuantity'?: number;
	'pickupOrderGroups'?: Array<PickupOrderEntryGroup>;
	'potentialOrderPromotions'?: Array<PromotionResult>;
	'potentialProductPromotions'?: Array<PromotionResult>;
	'productDiscounts'?: Price;
	'purchaseOrderNumber'?: string;
	'requestedRetrievalAt'?: string;
	'savedBy'?: Principal;
	'saveTime'?: string;
	'site'?: string;
	'store'?: string;
	'subTotal'?: Price;
	'taxInvoice'?: TaxInvoice;
	'totalDiscounts'?: Price;
	'totalItems'?: number;
	'totalPrice'?: Price;
	'totalPriceWithTax'?: Price;
	'totalTax'?: Price;
	'totalUnitCount'?: number;
	'user'?: Principal;
}

Properties

NameRequiredTypeDescription
appliedOrderPromotionsOptionalArray<PromotionResult>List of applied order promotions {Array<PromotionResult>} Cart
appliedProductPromotionsOptionalArray<PromotionResult>List of applied product promotions {Array<PromotionResult>} Cart
appliedVouchersOptionalArray<Voucher>List of applied vouchers {Array<Voucher>} Cart
calculatedOptionalbooleanFlag showing if order is calculated {boolean} Cart
chinesePaymentInfoOptionalChinesePaymentInfo{ChinesePaymentInfo} Cart
codeOptionalstringCode number of order {string} Cart
costCenterOptionalB2BCostCenter{B2BCostCenter} Cart
deliveryAddressOptionalAddress{Address} Cart
deliveryCostOptionalPrice{Price} Cart
deliveryItemsQuantityOptionalnumberQuantity of delivery items {number} Cart
deliveryModeOptionalDeliveryMode{DeliveryMode} Cart
deliveryOrderGroupsOptionalArray<DeliveryOrderEntryGroup>List of delivery order entries group {Array<DeliveryOrderEntryGroup>} Cart
deliveryTimeSlotOptionalDeliveryTimeSlot{DeliveryTimeSlot} Cart
descriptionOptionalstringDescription of the cart {string} Cart
earliestRetrievalAtOptionalstringEarliest possible retrieval date available for order {string} Cart
entriesOptionalArray<OrderEntry>List of order entries {Array<OrderEntry>} Cart
entryGroupsOptionalArray<EntryGroup>List of entry groups {Array<EntryGroup>} Cart
expirationTimeOptionalstringDate of cart expiration time {string} Cart
guidOptionalstringGuest user id identifier {string} Cart
nameOptionalstringName of the cart {string} Cart
netOptionalbooleanFlag stating iv value is net-value {boolean} Cart
orderDiscountsOptionalPrice{Price} Cart
paymentInfoOptionalPaymentDetails{PaymentDetails} Cart
paymentStatusOptionalstringPayment status {string} Cart
paymentTypeOptionalB2BPaymentTypeData{B2BPaymentTypeData} Cart
pickupItemsQuantityOptionalnumberQuantity of pickup items {number} Cart
pickupOrderGroupsOptionalArray<PickupOrderEntryGroup>List of pickup order entry group {Array<PickupOrderEntryGroup>} Cart
potentialOrderPromotionsOptionalArray<PromotionResult>List of potential order promotions for cart {Array<PromotionResult>} Cart
potentialProductPromotionsOptionalArray<PromotionResult>List of potential product promotions for cart {Array<PromotionResult>} Cart
productDiscountsOptionalPrice{Price} Cart
purchaseOrderNumberOptionalstring{string} Cart
requestedRetrievalAtOptionalstringCustomer requested date for order retrieval {string} Cart
savedByOptionalPrincipal{Principal} Cart
saveTimeOptionalstringDate of saving cart {string} Cart
siteOptionalstringSite {string} Cart
storeOptionalstringStore {string} Cart
subTotalOptionalPrice{Price} Cart
taxInvoiceOptionalTaxInvoice{TaxInvoice} Cart
totalDiscountsOptionalPrice{Price} Cart
totalItemsOptionalnumber{number} Cart
totalPriceOptionalPrice{Price} Cart
totalPriceWithTaxOptionalPrice{Price} Cart
totalTaxOptionalPrice{Price} Cart
totalUnitCountOptionalnumberTotal unit count {number} Cart
userOptionalPrincipal{Principal} Cart

Referenced Types

On this page