| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to string | Name of item. | [optional] |
| Sku | Pointer to string | Stock keeping unit of item. | |
| Quantity | Pointer to int64 | Number of units of this item. Due to cart item flattening, if you provide a quantity greater than 1, the item will be split in as many items as the provided quantity. This will impact the number of per-item effects triggered from your campaigns. | |
| ReturnedQuantity | Pointer to int64 | Number of returned items, calculated internally based on returns of this item. | [optional] |
| RemainingQuantity | Pointer to int64 | 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] |
| Product | Pointer to Product | [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. Note: Any previously defined attributes that you do not include in the array will be removed. | [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 int64 | The catalog item ID. | [optional] |
| SelectedPriceType | Pointer to string | The selected price type for this cart item (e.g. the price for members only). | [optional] |
| AdjustmentReferenceId | Pointer to string | The reference ID of the selected price adjustment for this cart item. Only returned if the selected price resulted from a price adjustment. | [optional] |
| AdjustmentEffectiveFrom | Pointer to time.Time | The date and time from which the price adjustment is effective. Only returned if the selected price resulted from a price adjustment that contains this field. | [optional] |
| AdjustmentEffectiveUntil | Pointer to time.Time | The date and time until which the price adjustment is effective. Only returned if the selected price resulted from a price adjustment that contains this field. | [optional] |
| Prices | Pointer to map[string]PriceDetail | A map of keys and values representing the price types and related price adjustment details for this cart item. The keys correspond to the `priceType` names. | [optional] |
func NewCartItem(sku string, quantity int64, ) *CartItem
NewCartItem instantiates a new CartItem 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 NewCartItemWithDefaults() *CartItem
NewCartItemWithDefaults instantiates a new CartItem 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 *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) SetName(v string)
SetName sets Name field to given value.
func (o *CartItem) HasName() bool
HasName returns a boolean if a field has been set.
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) SetSku(v string)
SetSku sets Sku field to given value.
func (o *CartItem) GetQuantity() int64
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *CartItem) GetQuantityOk() (*int64, 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) SetQuantity(v int64)
SetQuantity sets Quantity field to given value.
func (o *CartItem) GetReturnedQuantity() int64
GetReturnedQuantity returns the ReturnedQuantity field if non-nil, zero value otherwise.
func (o *CartItem) GetReturnedQuantityOk() (*int64, 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) SetReturnedQuantity(v int64)
SetReturnedQuantity sets ReturnedQuantity field to given value.
func (o *CartItem) HasReturnedQuantity() bool
HasReturnedQuantity returns a boolean if a field has been set.
func (o *CartItem) GetRemainingQuantity() int64
GetRemainingQuantity returns the RemainingQuantity field if non-nil, zero value otherwise.
func (o *CartItem) GetRemainingQuantityOk() (*int64, 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) SetRemainingQuantity(v int64)
SetRemainingQuantity sets RemainingQuantity field to given value.
func (o *CartItem) HasRemainingQuantity() bool
HasRemainingQuantity returns a boolean if a field has been set.
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) SetPrice(v float32)
SetPrice sets Price field to given value.
func (o *CartItem) HasPrice() bool
HasPrice returns a boolean if a field has been set.
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) SetCategory(v string)
SetCategory sets Category field to given value.
func (o *CartItem) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *CartItem) GetProduct() Product
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *CartItem) 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 *CartItem) SetProduct(v Product)
SetProduct sets Product field to given value.
func (o *CartItem) HasProduct() bool
HasProduct returns a boolean if a field has been set.
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) SetWeight(v float32)
SetWeight sets Weight field to given value.
func (o *CartItem) HasWeight() bool
HasWeight returns a boolean if a field has been set.
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) SetHeight(v float32)
SetHeight sets Height field to given value.
func (o *CartItem) HasHeight() bool
HasHeight returns a boolean if a field has been set.
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) SetWidth(v float32)
SetWidth sets Width field to given value.
func (o *CartItem) HasWidth() bool
HasWidth returns a boolean if a field has been set.
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) SetLength(v float32)
SetLength sets Length field to given value.
func (o *CartItem) HasLength() bool
HasLength returns a boolean if a field has been set.
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) SetPosition(v float32)
SetPosition sets Position field to given value.
func (o *CartItem) HasPosition() bool
HasPosition returns a boolean if a field has been set.
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) SetAttributes(v map[string]interface{})
SetAttributes sets Attributes field to given value.
func (o *CartItem) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
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) SetAdditionalCosts(v map[string]AdditionalCost)
SetAdditionalCosts sets AdditionalCosts field to given value.
func (o *CartItem) HasAdditionalCosts() bool
HasAdditionalCosts returns a boolean if a field has been set.
func (o *CartItem) GetCatalogItemID() int64
GetCatalogItemID returns the CatalogItemID field if non-nil, zero value otherwise.
func (o *CartItem) GetCatalogItemIDOk() (*int64, 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) SetCatalogItemID(v int64)
SetCatalogItemID sets CatalogItemID field to given value.
func (o *CartItem) HasCatalogItemID() bool
HasCatalogItemID returns a boolean if a field has been set.
func (o *CartItem) GetSelectedPriceType() string
GetSelectedPriceType returns the SelectedPriceType field if non-nil, zero value otherwise.
func (o *CartItem) GetSelectedPriceTypeOk() (*string, bool)
GetSelectedPriceTypeOk returns a tuple with the SelectedPriceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) SetSelectedPriceType(v string)
SetSelectedPriceType sets SelectedPriceType field to given value.
func (o *CartItem) HasSelectedPriceType() bool
HasSelectedPriceType returns a boolean if a field has been set.
func (o *CartItem) GetAdjustmentReferenceId() string
GetAdjustmentReferenceId returns the AdjustmentReferenceId field if non-nil, zero value otherwise.
func (o *CartItem) GetAdjustmentReferenceIdOk() (*string, bool)
GetAdjustmentReferenceIdOk returns a tuple with the AdjustmentReferenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) SetAdjustmentReferenceId(v string)
SetAdjustmentReferenceId sets AdjustmentReferenceId field to given value.
func (o *CartItem) HasAdjustmentReferenceId() bool
HasAdjustmentReferenceId returns a boolean if a field has been set.
func (o *CartItem) GetAdjustmentEffectiveFrom() time.Time
GetAdjustmentEffectiveFrom returns the AdjustmentEffectiveFrom field if non-nil, zero value otherwise.
func (o *CartItem) GetAdjustmentEffectiveFromOk() (*time.Time, bool)
GetAdjustmentEffectiveFromOk returns a tuple with the AdjustmentEffectiveFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) SetAdjustmentEffectiveFrom(v time.Time)
SetAdjustmentEffectiveFrom sets AdjustmentEffectiveFrom field to given value.
func (o *CartItem) HasAdjustmentEffectiveFrom() bool
HasAdjustmentEffectiveFrom returns a boolean if a field has been set.
func (o *CartItem) GetAdjustmentEffectiveUntil() time.Time
GetAdjustmentEffectiveUntil returns the AdjustmentEffectiveUntil field if non-nil, zero value otherwise.
func (o *CartItem) GetAdjustmentEffectiveUntilOk() (*time.Time, bool)
GetAdjustmentEffectiveUntilOk returns a tuple with the AdjustmentEffectiveUntil field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) SetAdjustmentEffectiveUntil(v time.Time)
SetAdjustmentEffectiveUntil sets AdjustmentEffectiveUntil field to given value.
func (o *CartItem) HasAdjustmentEffectiveUntil() bool
HasAdjustmentEffectiveUntil returns a boolean if a field has been set.
func (o *CartItem) GetPrices() map[string]PriceDetail
GetPrices returns the Prices field if non-nil, zero value otherwise.
func (o *CartItem) GetPricesOk() (*map[string]PriceDetail, bool)
GetPricesOk returns a tuple with the Prices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CartItem) SetPrices(v map[string]PriceDetail)
SetPrices sets Prices field to given value.
func (o *CartItem) HasPrices() bool
HasPrices returns a boolean if a field has been set.