Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The modifier's ID that is on the partner's system. | [optional] |
Price | Pointer to int64 | The modifier's price (tax-inclusive) in minor format. `round(165 * (1 + 0.06)) = 175`. | [optional] |
Tax | Pointer to int64 | Tax in minor format for 1 modifier. `165*0.06=10`. Refer to FAQs for more details about tax. | [optional] |
Quantity | Pointer to int32 | The number of modifiers present. The value is always 1. | [optional] |
func NewOrderItemModifier() *OrderItemModifier
NewOrderItemModifier instantiates a new OrderItemModifier 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 NewOrderItemModifierWithDefaults() *OrderItemModifier
NewOrderItemModifierWithDefaults instantiates a new OrderItemModifier 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 *OrderItemModifier) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *OrderItemModifier) 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 *OrderItemModifier) SetId(v string)
SetId sets Id field to given value.
func (o *OrderItemModifier) HasId() bool
HasId returns a boolean if a field has been set.
func (o *OrderItemModifier) GetPrice() int64
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *OrderItemModifier) 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 *OrderItemModifier) SetPrice(v int64)
SetPrice sets Price field to given value.
func (o *OrderItemModifier) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *OrderItemModifier) GetTax() int64
GetTax returns the Tax field if non-nil, zero value otherwise.
func (o *OrderItemModifier) GetTaxOk() (*int64, bool)
GetTaxOk returns a tuple with the Tax field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrderItemModifier) SetTax(v int64)
SetTax sets Tax field to given value.
func (o *OrderItemModifier) HasTax() bool
HasTax returns a boolean if a field has been set.
func (o *OrderItemModifier) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *OrderItemModifier) 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 *OrderItemModifier) SetQuantity(v int32)
SetQuantity sets Quantity field to given value.
func (o *OrderItemModifier) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.