docs/CartItem.md in ultracart_api-3.10.220 vs docs/CartItem.md in ultracart_api-4.0.32.rc

- old
+ new

@@ -1,37 +1,74 @@ -# UltracartClient::CartItem - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arbitrary_unit_cost** | [**Currency**](Currency.md) | | [optional] -**attributes** | [**Array<CartItemAttribute>**](CartItemAttribute.md) | Attributes | [optional] -**auto_order_schedule** | **String** | Auto order schedule the customer selected | [optional] -**default_image_url** | **String** | URL to the default multimedia image | [optional] -**default_thumbnail_url** | **String** | URL to the default multimedia thumbnail | [optional] -**description** | **String** | Description of the item | [optional] -**discount** | [**Currency**](Currency.md) | | [optional] -**extended_description** | **String** | Extended description of the item | [optional] -**item_id** | **String** | Item ID | [optional] -**item_oid** | **Integer** | Item object identifier | [optional] -**kit** | **BOOLEAN** | True if this item is a kit | [optional] -**kit_component_options** | [**Array<CartKitComponentOption>**](CartKitComponentOption.md) | Options associated with the kit components | [optional] -**manufacturer_suggested_retail_price** | [**Currency**](Currency.md) | | [optional] -**maximum_quantity** | **Float** | Maximum quantity the customer can purchase | [optional] -**minimum_quantity** | **Float** | Minimum quantity the customer can purchase | [optional] -**multimedia** | [**Array<CartItemMultimedia>**](CartItemMultimedia.md) | Multimedia | [optional] -**options** | [**Array<CartItemOption>**](CartItemOption.md) | Options | [optional] -**phsyical** | [**CartItemPhysical**](CartItemPhysical.md) | | [optional] -**position** | **Integer** | Position of the item in the cart | [optional] -**preorder** | **BOOLEAN** | True if this item is on pre-order | [optional] -**properties** | [**Array<CartItemProperty>**](CartItemProperty.md) | Properties associated with the item | [optional] -**quantity** | **Float** | quantity | [optional] -**schedules** | **Array<String>** | Customer selectable auto order schedules | [optional] -**total_cost** | [**Currency**](Currency.md) | | [optional] -**total_cost_with_discount** | [**Currency**](Currency.md) | | [optional] -**unit_cost** | [**Currency**](Currency.md) | | [optional] -**unit_cost_with_discount** | [**Currency**](Currency.md) | | [optional] -**upsell** | **BOOLEAN** | True if this item was added to the cart as part of an upsell | [optional] -**variations** | [**Array<CartItemVariationSelection>**](CartItemVariationSelection.md) | Variations | [optional] -**view_url** | **String** | URL to view the product on the site | [optional] - - +# UltracartClient::CartItem + +## Properties + +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | +| **arbitrary_unit_cost** | [**Currency**](Currency.md) | | [optional] | +| **attributes** | [**Array<CartItemAttribute>**](CartItemAttribute.md) | Attributes | [optional] | +| **auto_order_schedule** | **String** | Auto order schedule the customer selected | [optional] | +| **default_image_url** | **String** | URL to the default multimedia image | [optional] | +| **default_thumbnail_url** | **String** | URL to the default multimedia thumbnail | [optional] | +| **description** | **String** | Description of the item | [optional] | +| **discount** | [**Currency**](Currency.md) | | [optional] | +| **extended_description** | **String** | Extended description of the item | [optional] | +| **item_id** | **String** | Item ID | [optional] | +| **item_oid** | **Integer** | Item object identifier | [optional] | +| **kit** | **Boolean** | True if this item is a kit | [optional] | +| **kit_component_options** | [**Array<CartKitComponentOption>**](CartKitComponentOption.md) | Options associated with the kit components | [optional] | +| **manufacturer_suggested_retail_price** | [**Currency**](Currency.md) | | [optional] | +| **maximum_quantity** | **Float** | Maximum quantity the customer can purchase | [optional] | +| **minimum_quantity** | **Float** | Minimum quantity the customer can purchase | [optional] | +| **multimedia** | [**Array<CartItemMultimedia>**](CartItemMultimedia.md) | Multimedia | [optional] | +| **options** | [**Array<CartItemOption>**](CartItemOption.md) | Options | [optional] | +| **phsyical** | [**CartItemPhysical**](CartItemPhysical.md) | | [optional] | +| **position** | **Integer** | Position of the item in the cart | [optional] | +| **preorder** | **Boolean** | True if this item is on pre-order | [optional] | +| **quantity** | **Float** | quantity | [optional] | +| **schedules** | **Array<String>** | Customer selectable auto order schedules | [optional] | +| **total_cost** | [**Currency**](Currency.md) | | [optional] | +| **total_cost_with_discount** | [**Currency**](Currency.md) | | [optional] | +| **unit_cost** | [**Currency**](Currency.md) | | [optional] | +| **unit_cost_with_discount** | [**Currency**](Currency.md) | | [optional] | +| **upsell** | **Boolean** | True if this item was added to the cart as part of an upsell | [optional] | +| **variations** | [**Array<CartItemVariationSelection>**](CartItemVariationSelection.md) | Variations | [optional] | +| **view_url** | **String** | URL to view the product on the site | [optional] | + +## Example + +```ruby +require 'ultracart_api' + +instance = UltracartClient::CartItem.new( + arbitrary_unit_cost: null, + attributes: null, + auto_order_schedule: null, + default_image_url: null, + default_thumbnail_url: null, + description: null, + discount: null, + extended_description: null, + item_id: null, + item_oid: null, + kit: null, + kit_component_options: null, + manufacturer_suggested_retail_price: null, + maximum_quantity: null, + minimum_quantity: null, + multimedia: null, + options: null, + phsyical: null, + position: null, + preorder: null, + quantity: null, + schedules: null, + total_cost: null, + total_cost_with_discount: null, + unit_cost: null, + unit_cost_with_discount: null, + upsell: null, + variations: null, + view_url: null +) +``` +