Skip to content

Latest commit

 

History

History
65 lines (34 loc) · 1.77 KB

ReturnedCartItem.md

File metadata and controls

65 lines (34 loc) · 1.77 KB

ReturnedCartItem

Properties

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]

Methods

GetPosition

func (o *ReturnedCartItem) GetPosition() int32

GetPosition returns the Position field if non-nil, zero value otherwise.

GetPositionOk

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.

HasPosition

func (o *ReturnedCartItem) HasPosition() bool

HasPosition returns a boolean if a field has been set.

SetPosition

func (o *ReturnedCartItem) SetPosition(v int32)

SetPosition gets a reference to the given int32 and assigns it to the Position field.

GetQuantity

func (o *ReturnedCartItem) GetQuantity() int32

GetQuantity returns the Quantity field if non-nil, zero value otherwise.

GetQuantityOk

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.

HasQuantity

func (o *ReturnedCartItem) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

SetQuantity

func (o *ReturnedCartItem) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

[Back to Model list] [Back to API list] [Back to README]