Alokai

Quote

Representation of the quote object. Quote

export interface Quote {
	'allowedActions'?: Array<string>;
	'cartId'?: string;
	'code': string;
	'comments'?: Array<Comment>;
	'creationTime': string;
	'description'?: string;
	'entries'?: Array<OrderEntry>;
	'expirationTime': string;
	'name': string;
	'orderDiscounts'?: Price;
	'previousEstimatedTotal'?: Price;
	'productDiscounts'?: Price;
	'quoteDiscounts'?: Price;
	'state': string;
	'subTotalWithDiscounts'?: Price;
	'threshold': number;
	'totalItems': number;
	'totalPrice'?: Price;
	'totalPriceWithTax'?: Price;
	'updatedTime': string;
	'version': number;
}

Properties

NameRequiredTypeDescription
allowedActionsOptionalArray<string>Actions, which are allowed to perform with the quote. {Array<string>} Quote
cartIdOptionalstringId of the cart, which is linked to the quote. {string} Quote
codeRequiredstringCode of the quote. {string} Quote
commentsOptionalArray<Comment>List of quote comments. {Array<Comment>} Quote
creationTimeRequiredstringDate of quote creation. {string} Quote
descriptionOptionalstringDescription of the quote. {string} Quote
entriesOptionalArray<OrderEntry>Entries of the cart. {Array<OrderEntry>} Quote
expirationTimeRequiredstringExpiration time of the quote. {string} Quote
nameRequiredstringName of the quote. {string} Quote
orderDiscountsOptionalPrice{Price} Quote
previousEstimatedTotalOptionalPrice{Price} Quote
productDiscountsOptionalPrice{Price} Quote
quoteDiscountsOptionalPrice{Price} Quote
stateRequiredstringCurrent state of the quote. Possible state values - DRAFT, SUBMITTED, OFFER, CANCELLED, EXPIRED, etc.. The list of the states can be extended. {string} Quote
subTotalWithDiscountsOptionalPrice{Price} Quote
thresholdRequirednumberMinimum subtotal value for the quote in the currency of the store. {number} Quote
totalItemsRequirednumberTotal number of the items in the quote. {number} Quote
totalPriceOptionalPrice{Price} Quote
totalPriceWithTaxOptionalPrice{Price} Quote
updatedTimeRequiredstringDate of the last quote update. {string} Quote
versionRequirednumberCurrent version of the quote. {number} Quote

Referenced Types

On this page