Module: quote

Functions

getDeliveryLinesForProduct

▸ getDeliveryLinesForProduct(productVariantId, supplierQuotes): any

Parameters

Name Type
productVariantId string
supplierQuotes any

Returns

any


getMasterQuoteLines

▸ getMasterQuoteLines(quote): QuoteLine[]

Parameters

Name Type
quote Quote

Returns

QuoteLine[]


getProductAttributesValues

▸ getProductAttributesValues(productVariant, locale): any

Parameters

Name Type
productVariant any
locale string

Returns

any


getQuoteCreate

▸ getQuoteCreate(quote): boolean

Parameters

Name Type
quote Quote

Returns

boolean


getQuoteId

▸ getQuoteId(quote): string

Parameters

Name Type
quote Quote

Returns

string


getQuoteName

▸ getQuoteName(quote): string

Parameters

Name Type
quote any

Returns

string


getQuoteNbItems

▸ getQuoteNbItems(quote): any

Parameters

Name Type
quote any

Returns

any


getStatusQuote

▸ getStatusQuote(status): String

Parameters

Name Type
status String

Returns

String


getStepsQuote

▸ getStepsQuote(status): any

Parameters

Name Type
status any

Returns

any


getSupplierQuoteLineTotalAmount

▸ getSupplierQuoteLineTotalAmount(supplierQuoteLine, currency): string

Parameters

Name Type
supplierQuoteLine any
currency any

Returns

string


getSupplierQuoteTotalAmount

▸ getSupplierQuoteTotalAmount(supplierQuote, currency): string

Parameters

Name Type
supplierQuote any
currency any

Returns

string


getSupplierQuoteTotalProductsNoTax

▸ getSupplierQuoteTotalProductsNoTax(supplierQuote, currency): string

Parameters

Name Type
supplierQuote any
currency any

Returns

string


getSupplierQuoteTotalProductsTax

▸ getSupplierQuoteTotalProductsTax(supplierQuote, currency): string

Parameters

Name Type
supplierQuote any
currency any

Returns

string


getSupplierQuoteTotalShippingNotTax

▸ getSupplierQuoteTotalShippingNotTax(supplierQuote, currency): string

Parameters

Name Type
supplierQuote any
currency any

Returns

string


getSupplierQuoteTotalShippingTax

▸ getSupplierQuoteTotalShippingTax(supplierQuote, currency): string

Parameters

Name Type
supplierQuote any
currency any

Returns

string


getSupplierQuoteTotalTax

▸ getSupplierQuoteTotalTax(supplierQuote, currency): string

Parameters

Name Type
supplierQuote any
currency any

Returns

string


getSupplierQuotes

▸ getSupplierQuotes(quote): any

Parameters

Name Type
quote any

Returns

any


getSuppliersForProduct

▸ getSuppliersForProduct(productVariantId, supplierQuotes): any

Parameters

Name Type
productVariantId string
supplierQuotes SupplierQuote[]

Returns

any


getTotal

▸ getTotal(quotes): number

Parameters

Name Type
quotes Quote[]

Returns

number