Name | Type | Description | Notes |
---|---|---|---|
Sku | Pointer to string | The unique SKU of the item to patch. | |
Price | Pointer to float32 | Price of the item. | [optional] |
Attributes | Pointer to map[string]interface{} | The attributes of the item to patch. | [optional] |
Product | Pointer to Product | [optional] | |
CreateIfNotExists | Pointer to bool | Indicates whether to create an item if the SKU does not exist. | [optional] [default to false] |
func (o *PatchItemCatalogAction) GetSku() string
GetSku returns the Sku field if non-nil, zero value otherwise.
func (o *PatchItemCatalogAction) 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 *PatchItemCatalogAction) HasSku() bool
HasSku returns a boolean if a field has been set.
func (o *PatchItemCatalogAction) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (o *PatchItemCatalogAction) GetPrice() float32
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *PatchItemCatalogAction) GetPriceOk() (float32, 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 *PatchItemCatalogAction) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *PatchItemCatalogAction) SetPrice(v float32)
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (o *PatchItemCatalogAction) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *PatchItemCatalogAction) GetAttributesOk() (map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchItemCatalogAction) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *PatchItemCatalogAction) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (o *PatchItemCatalogAction) GetProduct() Product
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *PatchItemCatalogAction) GetProductOk() (Product, bool)
GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchItemCatalogAction) HasProduct() bool
HasProduct returns a boolean if a field has been set.
func (o *PatchItemCatalogAction) SetProduct(v Product)
SetProduct gets a reference to the given Product and assigns it to the Product field.
func (o *PatchItemCatalogAction) GetCreateIfNotExists() bool
GetCreateIfNotExists returns the CreateIfNotExists field if non-nil, zero value otherwise.
func (o *PatchItemCatalogAction) GetCreateIfNotExistsOk() (bool, bool)
GetCreateIfNotExistsOk returns a tuple with the CreateIfNotExists field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchItemCatalogAction) HasCreateIfNotExists() bool
HasCreateIfNotExists returns a boolean if a field has been set.
func (o *PatchItemCatalogAction) SetCreateIfNotExists(v bool)
SetCreateIfNotExists gets a reference to the given bool and assigns it to the CreateIfNotExists field.