2. Models

2.1. Cart

The cart is represented by Cart instance. It inherits all the properties from Sylius\Component\Order\Model\Order and has following property:

Method Description Type
expiresAt Expiration time DateTime

Примечание

This model implements CartInterface

2.2. CartItem

The items of the cart are represented by CartItem instance and it has not property but it inherits all of them from Sylius\Component\Order\Model\OrderItem

Примечание

This model implements CartItemInterface