Script: Class dw.order.TaxItem

Class TaxItem

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

Properties

amount : Money Read Only

Gets the amount.

taxGroup : TaxGroup Read Only

The tax group.

Constructor Summary

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

Method Summary

getAmount() : Money

Gets the amount.

getTaxGroup() : TaxGroup

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

Method Detail

getAmount

getAmount() : Money

Gets the amount.

Returns:

the amount

getTaxGroup

getTaxGroup() : TaxGroup

Returns the tax group.

Returns:

the tax rate

See Also:

TaxGroup