Frontend | Backend | Api

Checkouts\Models\Frontend\Checkout

Method Description Returns
getPerson() Gets the person linked to the checkout. A Restricted Person is returned if the user is no logged in or the person isn't the logged in user. Model | RestrictedPerson | null
isReadyForPayment() Checks if the checkout is ready for payment bool
isFullyPaid() Has the checkout been fully paid? This checks if there are payment/s (or at least pre-authorizations) covering the checkout total. bool
getSettledAmount() Get the total amount which has been settled (authorized or captured) Money
getSourceRecord() Get the source record Model
getItemTotalAsMoney() Get item total Money
getDiscountTotalAsMoney() Get discount total as Money object Money
getSurchargeTotalAsMoney() Get surcharge total as Money object Money
getShippingTotalAsMoney() Get shipping total as Money object Money
getHandlingTotalAsMoney() Get handling total as Money object Money
getTaxTotalAsMoney() Get tax total as Money object Money
getInsuranceTotalAsMoney() Get insurance total as Money object Money
getTotalAsMoney() Get total as Money object Money
getInvoices() Get all invoices linked to this order (Order, Checkout) Collection
getCurrencyCode() Get currency code string
getId() int
getUuid() string
getExternalId() string
getComments() string
getData() array
getDiscountCodes() array
getAppliedDiscounts() array
getTotal() string
getDiscountTotal() string
getSurchargeTotal() string
getShippingTotal() string
getHandlingTotal() string
getTaxTotal() string
getInsuranceTotal() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getBillingAddress() Address
getDeliveryAddress() Address
getCurrency() Currency
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)