new TaxRate()
- Source:
Methods
(static) TaxRate#getId() → {String}
Get the field value
- Source:
Returns:
- Type
- String
(static) TaxRate#getIsDefault() → {Boolean}
Get the field value
- Source:
Returns:
- Type
- Boolean
(static) TaxRate#getItems() → {Array.<base.Reference>}
Get the field value
Items associated with this tax rate
- Source:
Returns:
An array of
- Type
- Array.<base.Reference>
(static) TaxRate#getLineItemRef() → {base.Reference}
Get the field value
The line item with which the tax rate is associated
- Source:
Returns:
- Type
- base.Reference
(static) TaxRate#getName() → {String}
Get the field value
- Source:
Returns:
- Type
- String
(static) TaxRate#getRate() → {Number}
Get the field value
- Source:
Returns:
must be a long integer
- Type
- Number
(static) TaxRate#setId(id)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) TaxRate#setIsDefault(isDefault)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
isDefault |
Boolean |
- Source:
(static) TaxRate#setItems(items)
Set the field value
Items associated with this tax rate
Parameters:
Name | Type | Description |
---|---|---|
items |
Array.<base.Reference> | An array of |
- Source:
(static) TaxRate#setLineItemRef(lineItemRef)
Set the field value
The line item with which the tax rate is associated
Parameters:
Name | Type | Description |
---|---|---|
lineItemRef |
base.Reference |
- Source:
(static) TaxRate#setName(name)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) TaxRate#setRate(rate)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
rate |
Number | must be a long integer |
- Source: