Name | Type | Description | Notes |
---|---|---|---|
Sku | Pointer to string | The unique SKU of the item to add. | |
Price | Pointer to float32 | Price of the item. | [optional] |
Attributes | Pointer to map[string]interface{} | The attributes of the item to add. | [optional] |
Product | Pointer to Product | [optional] | |
ReplaceIfExists | Pointer to bool | Indicates whether to replace the attributes of the item if the same SKU exists. Note: When set to `true`: - If you do not provide a new `price` value, the existing `price` value is retained. - If you do not provide a new `product` value, the `product` value is set to `null`. | [optional] [default to false] |
func (o *AddItemCatalogAction) GetSku() string
GetSku returns the Sku field if non-nil, zero value otherwise.
func (o *AddItemCatalogAction) 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 *AddItemCatalogAction) HasSku() bool
HasSku returns a boolean if a field has been set.
func (o *AddItemCatalogAction) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (o *AddItemCatalogAction) GetPrice() float32
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *AddItemCatalogAction) 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 *AddItemCatalogAction) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *AddItemCatalogAction) SetPrice(v float32)
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (o *AddItemCatalogAction) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *AddItemCatalogAction) 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 *AddItemCatalogAction) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *AddItemCatalogAction) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (o *AddItemCatalogAction) GetProduct() Product
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *AddItemCatalogAction) 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 *AddItemCatalogAction) HasProduct() bool
HasProduct returns a boolean if a field has been set.
func (o *AddItemCatalogAction) SetProduct(v Product)
SetProduct gets a reference to the given Product and assigns it to the Product field.
func (o *AddItemCatalogAction) GetReplaceIfExists() bool
GetReplaceIfExists returns the ReplaceIfExists field if non-nil, zero value otherwise.
func (o *AddItemCatalogAction) GetReplaceIfExistsOk() (bool, bool)
GetReplaceIfExistsOk returns a tuple with the ReplaceIfExists field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddItemCatalogAction) HasReplaceIfExists() bool
HasReplaceIfExists returns a boolean if a field has been set.
func (o *AddItemCatalogAction) SetReplaceIfExists(v bool)
SetReplaceIfExists gets a reference to the given bool and assigns it to the ReplaceIfExists field.