| Method | Description | Returns |
|---|---|---|
| getCurrency() | Get the currency for the cart. | Currency |
| getId() | int | |
| getUuid() | string | |
| getAppliedDiscounts() | array | |
| getDiscountCodes() | array | |
| getTotal() | string | |
| getDiscountTotal() | string | |
| getTaxTotal() | string | |
| getLocked() | Last locked date for the cart. | DateTime |
| getCreated() | Date the record was created. | DateTime |
| getModified() | Last modification date for the record. | DateTime |
| getPerson() | Person | |
| getSite() | Site | |
| getItems() | Collection (Item) | |
| getMessages() | Collection (Message) | |
| isNewRecord() | Check if the record is a new record | bool |
| isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
| isVersionedModel() | Check whether a model is versioned | bool |
Carts\Models\Backend\Cart
Cart