Class: TaxRate

inventory.TaxRate()

new TaxRate()

Source:

Methods

(static) TaxRate#getDeletedTime() → {Number}

Get the field value Timestamp when tax rate was last deleted
Source:
Returns:
must be a long integer
Type
Number

(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#getModifiedTime() → {Number}

Get the field value Timestamp when tax rate was last modified
Source:
Returns:
must be a long integer
Type
Number

(static) TaxRate#getName() → {String}

Get the field value
Source:
Returns:
Type
String

(static) TaxRate#getRate() → {Number}

Get the field value For percentage based discounts like sales tax
Source:
Returns:
must be a long integer
Type
Number

(static) TaxRate#getTaxAmount() → {Number}

Get the field value For a flat tax like recycling redemption fee, expressed as number of cents
Source:
Returns:
must be a long integer
Type
Number

(static) TaxRate#getTaxType() → {inventory.TaxType}

Get the field value to support Argentina's tax type
Source:
Returns:
Type
inventory.TaxType

(static) TaxRate#setDeletedTime(deletedTime)

Set the field value Timestamp when tax rate was last deleted
Parameters:
Name Type Description
deletedTime Number must be a long integer
Source:

(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#setModifiedTime(modifiedTime)

Set the field value Timestamp when tax rate was last modified
Parameters:
Name Type Description
modifiedTime Number must be a long integer
Source:

(static) TaxRate#setName(name)

Set the field value
Parameters:
Name Type Description
name String
Source:

(static) TaxRate#setRate(rate)

Set the field value For percentage based discounts like sales tax
Parameters:
Name Type Description
rate Number must be a long integer
Source:

(static) TaxRate#setTaxAmount(taxAmount)

Set the field value For a flat tax like recycling redemption fee, expressed as number of cents
Parameters:
Name Type Description
taxAmount Number must be a long integer
Source:

(static) TaxRate#setTaxType(taxType)

Set the field value to support Argentina's tax type
Parameters:
Name Type Description
taxType inventory.TaxType
Source: