OrderLineItemTaxType enum

Indicates how the tax is applied to the associated line item or order.

Inheritance

Constructors

OrderLineItemTaxType()
const

Values

unknownTax → const OrderLineItemTaxType

Used for reporting only. The original transaction tax type is currently not supported by the API.

additive → const OrderLineItemTaxType

The tax is an additive tax. The tax amount is added on top of the price. For example, a $1.00 item with a 10% additive tax would have a total cost to the buyer of $1.10.

inclusive → const OrderLineItemTaxType

The tax is an inclusive tax. Inclusive taxes are already included in the line item price or order total. For example, a $1.00 item with a 10% inclusive tax would have a pre-tax cost of $0.91 (91 cents) and a $0.09 (9 cents) tax for a total cost of $1 to the buyer.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<OrderLineItemTaxType>
A constant List of the values in this enum, in order of their declaration.