Sha256: 003375a94f6ad76647ca12a47f87d6a619bc262b3e0cfcc4d94c0ab0324bf61d

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 KB

Contents

# DearInventoryRuby::SaleQuoteLine

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**product_id** | **String** | Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
**sku** | **String** | Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
**name** | **String** | Product Name referenced by this Line |
**quantity** | **Float** | Product or service quantity. Minimal value is 1. |
**price** | **Float** | Price per unit in Customer currency |
**discount** | **Float** | Discount. Value between 0 and 100. For free items discount is 100. Default value is 0 | [optional]
**tax** | **Float** | Tax | [optional]
**average_cost** | **Float** | Average product cost | [optional]
**tax_rule** | **String** | Line Tax Rule name. | [optional]
**comment** | **String** | Comment for this line | [optional]
**total** | **Float** | Line Total. For validation | [optional]

## Code Sample

```ruby
require 'DearInventoryRuby'

instance = DearInventoryRuby::SaleQuoteLine.new(product_id: nil,
                                 sku: nil,
                                 name: nil,
                                 quantity: nil,
                                 price: nil,
                                 discount: nil,
                                 tax: nil,
                                 average_cost: nil,
                                 tax_rule: nil,
                                 comment: nil,
                                 total: nil)
```


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dear-inventory-ruby-0.2.13 docs/SaleQuoteLine.md
dear-inventory-ruby-0.2.12 docs/SaleQuoteLine.md