Name | Type | Description | Notes |
---|---|---|---|
Position | Pointer to int32 | The index of the cart item in the provided customer session's `cartItems` property. | |
Quantity | Pointer to int32 | Number of cart items to return. | [optional] |
func (o *ReturnedCartItem) GetPosition() int32
GetPosition returns the Position field if non-nil, zero value otherwise.
func (o *ReturnedCartItem) GetPositionOk() (int32, bool)
GetPositionOk returns a tuple with the Position field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReturnedCartItem) HasPosition() bool
HasPosition returns a boolean if a field has been set.
func (o *ReturnedCartItem) SetPosition(v int32)
SetPosition gets a reference to the given int32 and assigns it to the Position field.
func (o *ReturnedCartItem) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *ReturnedCartItem) GetQuantityOk() (int32, bool)
GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReturnedCartItem) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (o *ReturnedCartItem) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.