Frontend | Backend | Api

Carts\Models\Api\Item

Item that appears in the Cart for the first time and then can go to the Order

Property Description Returns
itemPrice Returns the price for a single item string
currency Get the currency of the item. It prefers the checkout/order currency over the cart currency. Currency
amountAsMoney Get the amount of the item as a Money object. Money
unitPriceAsMoney Get the unit price of the item as a Money object. Money
discountAsMoney Get the discount of the item as a Money object. Money
id int
productCode string
name string
quantity Quantity of the item. Integer positive (not 0) number. int
amount string
tax string
discount string
attributes string
available If an item is available, i.e. its product still available or the item is not expired. bool
created Date the record was created. DateTime
modified Last modification date for the record. DateTime
cart Cart
order BaseOrder
product BaseProduct
messages Collection (Message)
discountLogs Gets discount logs associated with an item. Logs are changing only on the checkout operations, not inside the cart. Collection (Log)