Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Name of item. | [optional] |
Sku | Pointer to string | Stock keeping unit of item. | |
Quantity | Pointer to int32 | Quantity of item. Important: If you enabled cart item flattening, the quantity is always one and the same cart item might receive multiple per-item discounts. Ensure you can process multiple discounts on one cart item correctly. | |
ReturnedQuantity | Pointer to int32 | Number of returned items, calculated internally based on returns of this item. | [optional] |
RemainingQuantity | Pointer to int32 | Remaining quantity of the item, calculated internally based on returns of this item. | [optional] |
Price | Pointer to float32 | Price of the item in the currency defined by your Application. This field is required if this item is not part of a catalog. If it is part of a catalog, setting a price here overrides the price from the catalog. | [optional] |
Category | Pointer to string | Type, group or model of the item. | [optional] |
Weight | Pointer to float32 | Weight of item in grams. | [optional] |
Height | Pointer to float32 | Height of item in mm. | [optional] |
Width | Pointer to float32 | Width of item in mm. | [optional] |
Length | Pointer to float32 | Length of item in mm. | [optional] |
Position | Pointer to float32 | Position of the Cart Item in the Cart (calculated internally). | [optional] |
Attributes | Pointer to map[string]interface{} | Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to this cart item. Custom cart item attributes must be created in the Campaign Manager before you set them with this property. | [optional] |
AdditionalCosts | Pointer to map[string]AdditionalCost | Use this property to set a value for the additional costs of this item, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See Managing additional costs. | [optional] |
CatalogItemID | Pointer to int32 | The catalog item ID. | [optional] |
func (o *CartItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CartItem) 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 *CartItem) HasName() bool
HasName returns a boolean if a field has been set.
func (o *CartItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *CartItem) GetSku() string
GetSku returns the Sku field if non-nil, zero value otherwise.
func (o *CartItem) 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 *CartItem) HasSku() bool
HasSku returns a boolean if a field has been set.
func (o *CartItem) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (o *CartItem) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *CartItem) 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 *CartItem) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (o *CartItem) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (o *CartItem) GetReturnedQuantity() int32
GetReturnedQuantity returns the ReturnedQuantity field if non-nil, zero value otherwise.
func (o *CartItem) GetReturnedQuantityOk() (int32, bool)
GetReturnedQuantityOk returns a tuple with the ReturnedQuantity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasReturnedQuantity() bool
HasReturnedQuantity returns a boolean if a field has been set.
func (o *CartItem) SetReturnedQuantity(v int32)
SetReturnedQuantity gets a reference to the given int32 and assigns it to the ReturnedQuantity field.
func (o *CartItem) GetRemainingQuantity() int32
GetRemainingQuantity returns the RemainingQuantity field if non-nil, zero value otherwise.
func (o *CartItem) GetRemainingQuantityOk() (int32, bool)
GetRemainingQuantityOk returns a tuple with the RemainingQuantity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasRemainingQuantity() bool
HasRemainingQuantity returns a boolean if a field has been set.
func (o *CartItem) SetRemainingQuantity(v int32)
SetRemainingQuantity gets a reference to the given int32 and assigns it to the RemainingQuantity field.
func (o *CartItem) GetPrice() float32
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *CartItem) 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 *CartItem) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *CartItem) SetPrice(v float32)
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (o *CartItem) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *CartItem) GetCategoryOk() (string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *CartItem) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (o *CartItem) GetWeight() float32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *CartItem) GetWeightOk() (float32, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (o *CartItem) SetWeight(v float32)
SetWeight gets a reference to the given float32 and assigns it to the Weight field.
func (o *CartItem) GetHeight() float32
GetHeight returns the Height field if non-nil, zero value otherwise.
func (o *CartItem) GetHeightOk() (float32, bool)
GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (o *CartItem) SetHeight(v float32)
SetHeight gets a reference to the given float32 and assigns it to the Height field.
func (o *CartItem) GetWidth() float32
GetWidth returns the Width field if non-nil, zero value otherwise.
func (o *CartItem) GetWidthOk() (float32, bool)
GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (o *CartItem) SetWidth(v float32)
SetWidth gets a reference to the given float32 and assigns it to the Width field.
func (o *CartItem) GetLength() float32
GetLength returns the Length field if non-nil, zero value otherwise.
func (o *CartItem) GetLengthOk() (float32, bool)
GetLengthOk returns a tuple with the Length field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasLength() bool
HasLength returns a boolean if a field has been set.
func (o *CartItem) SetLength(v float32)
SetLength gets a reference to the given float32 and assigns it to the Length field.
func (o *CartItem) GetPosition() float32
GetPosition returns the Position field if non-nil, zero value otherwise.
func (o *CartItem) GetPositionOk() (float32, bool)
GetPositionOk returns a tuple with the Position field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasPosition() bool
HasPosition returns a boolean if a field has been set.
func (o *CartItem) SetPosition(v float32)
SetPosition gets a reference to the given float32 and assigns it to the Position field.
func (o *CartItem) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *CartItem) 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 *CartItem) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *CartItem) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (o *CartItem) GetAdditionalCosts() map[string]AdditionalCost
GetAdditionalCosts returns the AdditionalCosts field if non-nil, zero value otherwise.
func (o *CartItem) GetAdditionalCostsOk() (map[string]AdditionalCost, bool)
GetAdditionalCostsOk returns a tuple with the AdditionalCosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasAdditionalCosts() bool
HasAdditionalCosts returns a boolean if a field has been set.
func (o *CartItem) SetAdditionalCosts(v map[string]AdditionalCost)
SetAdditionalCosts gets a reference to the given map[string]AdditionalCost and assigns it to the AdditionalCosts field.
func (o *CartItem) GetCatalogItemID() int32
GetCatalogItemID returns the CatalogItemID field if non-nil, zero value otherwise.
func (o *CartItem) GetCatalogItemIDOk() (int32, bool)
GetCatalogItemIDOk returns a tuple with the CatalogItemID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) HasCatalogItemID() bool
HasCatalogItemID returns a boolean if a field has been set.
func (o *CartItem) SetCatalogItemID(v int32)
SetCatalogItemID gets a reference to the given int32 and assigns it to the CatalogItemID field.