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
| Name | Required | Type | Description |
|---|---|---|---|
allowedActions | Optional | Array<string> | Actions, which are allowed to perform with the quote. {Array<string>} Quote |
cartId | Optional | string | Id of the cart, which is linked to the quote. {string} Quote |
code | Required | string | Code of the quote. {string} Quote |
comments | Optional | Array<Comment> | List of quote comments. {Array<Comment>} Quote |
creationTime | Required | string | Date of quote creation. {string} Quote |
description | Optional | string | Description of the quote. {string} Quote |
entries | Optional | Array<OrderEntry> | Entries of the cart. {Array<OrderEntry>} Quote |
expirationTime | Required | string | Expiration time of the quote. {string} Quote |
name | Required | string | Name of the quote. {string} Quote |
orderDiscounts | Optional | Price | {Price} Quote |
previousEstimatedTotal | Optional | Price | {Price} Quote |
productDiscounts | Optional | Price | {Price} Quote |
quoteDiscounts | Optional | Price | {Price} Quote |
state | Required | string | Current state of the quote. Possible state values - DRAFT, SUBMITTED, OFFER, CANCELLED, EXPIRED, etc.. The list of the states can be extended. {string} Quote |
subTotalWithDiscounts | Optional | Price | {Price} Quote |
threshold | Required | number | Minimum subtotal value for the quote in the currency of the store. {number} Quote |
totalItems | Required | number | Total number of the items in the quote. {number} Quote |
totalPrice | Optional | Price | {Price} Quote |
totalPriceWithTax | Optional | Price | {Price} Quote |
updatedTime | Required | string | Date of the last quote update. {string} Quote |
version | Required | number | Current version of the quote. {number} Quote |