Name | Type | Description | Notes |
---|---|---|---|
AntifraudInfo | Pointer to map[string]interface{} | [optional] | |
Brand | Pointer to string | The brand of the item. | [optional] |
Description | Pointer to string | Short description of the item | [optional] |
Metadata | Pointer to map[string]interface{} | It is a key/value hash that can hold custom fields. Maximum 100 elements and allows special characters. | [optional] [default to {}] |
Name | string | The name of the item. It will be displayed in the order. | |
Quantity | int32 | The quantity of the item in the order. | |
Sku | Pointer to string | The stock keeping unit for the item. It is used to identify the item in the order. | [optional] |
Tags | Pointer to []string | List of tags for the item. It is used to identify the item in the order. | [optional] |
UnitPrice | int32 | The price of the item in cents. | |
Id | Pointer to string | [optional] | |
Object | Pointer to string | [optional] | |
ParentId | Pointer to string | [optional] |
func NewProductOrderResponse(name string, quantity int32, unitPrice int32, ) *ProductOrderResponse
NewProductOrderResponse instantiates a new ProductOrderResponse 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 NewProductOrderResponseWithDefaults() *ProductOrderResponse
NewProductOrderResponseWithDefaults instantiates a new ProductOrderResponse 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 *ProductOrderResponse) GetAntifraudInfo() map[string]interface{}
GetAntifraudInfo returns the AntifraudInfo field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetAntifraudInfoOk() (*map[string]interface{}, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetAntifraudInfo(v map[string]interface{})
SetAntifraudInfo sets AntifraudInfo field to given value.
func (o *ProductOrderResponse) HasAntifraudInfo() bool
HasAntifraudInfo returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetBrand() string
GetBrand returns the Brand field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetBrand(v string)
SetBrand sets Brand field to given value.
func (o *ProductOrderResponse) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ProductOrderResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *ProductOrderResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) 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 *ProductOrderResponse) SetName(v string)
SetName sets Name field to given value.
func (o *ProductOrderResponse) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) 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 *ProductOrderResponse) SetQuantity(v int32)
SetQuantity sets Quantity field to given value.
func (o *ProductOrderResponse) GetSku() string
GetSku returns the Sku field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetSku(v string)
SetSku sets Sku field to given value.
func (o *ProductOrderResponse) HasSku() bool
HasSku returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *ProductOrderResponse) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetUnitPrice() int32
GetUnitPrice returns the UnitPrice field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetUnitPriceOk() (*int32, bool)
GetUnitPriceOk returns a tuple with the UnitPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetUnitPrice(v int32)
SetUnitPrice sets UnitPrice field to given value.
func (o *ProductOrderResponse) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) 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 *ProductOrderResponse) SetId(v string)
SetId sets Id field to given value.
func (o *ProductOrderResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetObject(v string)
SetObject sets Object field to given value.
func (o *ProductOrderResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (o *ProductOrderResponse) GetParentId() string
GetParentId returns the ParentId field if non-nil, zero value otherwise.
func (o *ProductOrderResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductOrderResponse) SetParentId(v string)
SetParentId sets ParentId field to given value.
func (o *ProductOrderResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.