Class TaxItem

An item containing tax information allowing a tax breakdown between a number of TaxGroups.

Property Summary 

PropertyDescription
amount: Money (read-only)Gets the amount.
taxGroup: TaxGroup (read-only)Returns the tax group.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
getAmount()Gets the amount.
getTaxGroup()Returns the tax group.

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Property Details 

amount 

amount: Money (read-only)

Gets the amount.


taxGroup 

taxGroup: TaxGroup (read-only)

Returns the tax group.

See Also:


Method Details 

getAmount() 

getAmount(): Money

Gets the amount.

Returns:

  • the amount

getTaxGroup() 

getTaxGroup(): TaxGroup

Returns the tax group.

Returns:

  • the tax rate

See Also: