Frontend | Backend | Api

Quotes\Models\Frontend\Quote

Method Description Returns
getId() int
getExpiryDate() Gets the expiry date DateTime
getItemTotalAsMoney() Gets the item total as a Money object. Represents the sum of all items' Amount values. Money
getShippingTotalAsMoney() Gets the shipping total as a Money object. Represents the net shipping total. Tax and discount on shipping are tracked in Tax Total and Discount Total. Money
getHandlingTotalAsMoney() Gets the handling total as a Money object. Represents the net handling total. Tax and discount on handling are tracked in Tax Total and Discount Total. Money
getInsuranceTotalAsMoney() Gets the insurance total as a Money object. Represents the net insurance total. Tax and discount on insurance are tracked in Tax Total and Discount Total. Money
getDiscountTotalAsMoney() Gets the discount total as a Money object. Represents the sum of discount values across all line items, including shipping, handling, etc. Money
getTaxTotalAsMoney() Gets the tax total as a Money object. Represents the sum of tax values across all line items, including shipping, handling, etc. Money
getSurchargeTotalAsMoney() Gets the surcharge total as a Money object. Represents the surcharge total. Money
getTotalAsMoney() Gets the grand total as a Money object. Represents the final value calculated as `Item Total + Shipping Total + Handling Total + Insurance Total - Discount Total + Tax Total + Surcharge Total`. Money
getInvoices() Get all invoices linked to this order (Order, Checkout) Collection
getCurrencyCode() Get currency code string
getUuid() string
getExternalId() string
getComments() string
getAppliedDiscounts() Metadata of the applied discounts. array
getDiscountCodes() List of the applied discount codes. array
getShippingTotal() Represents the net shipping total. Tax and discount on shipping are tracked in Tax Total and Discount Total. string
getHandlingTotal() Represents the net handling total. Tax and discount on handling are tracked in Tax Total and Discount Total. string
getInsuranceTotal() Represents the net insurance total. Tax and discount on insurance are tracked in Tax Total and Discount Total. string
getDiscountTotal() Represents the sum of discount values across all line items, including shipping, handling, etc. string
getTaxTotal() Represents the sum of tax values across all line items, including shipping, handling, etc. string
getSurchargeTotal() Represents the surcharge total. string
getTotal() Represents the final value calculated as `Item Total + Shipping Total + Handling Total + Insurance Total - Discount Total + Tax Total + Surcharge Total`. string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getBillingAddress() Address
getDeliveryAddress() Address
getCurrency() Currency
getPerson() Person
getSite() Site
getItems() Collection (Item)
getFulfillments() Collection (Fulfillment)
getMetadataFieldValues() Collection (MetadataFieldValue)
getSourceEntity() Get the source record entity string
getSourceUuid() Get the source record uuid string
getDiscountLogs() Collection (Log)