Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The item's ID | [optional] |
Name | Pointer to string | The name of the item. | [optional] |
Quantity | Pointer to int32 | The item's quantity. Maximum is 1. | [optional] |
Price | Pointer to int64 | The item's price in minor unit format. | [optional] |
func NewOrderFreeItem() *OrderFreeItem
NewOrderFreeItem instantiates a new OrderFreeItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOrderFreeItemWithDefaults() *OrderFreeItem
NewOrderFreeItemWithDefaults instantiates a new OrderFreeItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *OrderFreeItem) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *OrderFreeItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrderFreeItem) SetId(v string)
SetId sets Id field to given value.
func (o *OrderFreeItem) HasId() bool
HasId returns a boolean if a field has been set.
func (o *OrderFreeItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *OrderFreeItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrderFreeItem) SetName(v string)
SetName sets Name field to given value.
func (o *OrderFreeItem) HasName() bool
HasName returns a boolean if a field has been set.
func (o *OrderFreeItem) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *OrderFreeItem) 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 *OrderFreeItem) SetQuantity(v int32)
SetQuantity sets Quantity field to given value.
func (o *OrderFreeItem) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (o *OrderFreeItem) GetPrice() int64
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *OrderFreeItem) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrderFreeItem) SetPrice(v int64)
SetPrice sets Price field to given value.
func (o *OrderFreeItem) HasPrice() bool
HasPrice returns a boolean if a field has been set.