OrderLineItemDiscountType enum
Indicates how the discount is applied to the associated line item or order.
Constructors
- OrderLineItemDiscountType()
-
const
Values
- unknownDiscount → const OrderLineItemDiscountType
-
Used for reporting only. The original transaction discount type is currently not supported by the API.
- fixedPercentage → const OrderLineItemDiscountType
-
Apply the discount as a fixed percentage (e.g., 5%) off the item price.
- fixedAmount → const OrderLineItemDiscountType
-
Apply the discount as a fixed monetary value (e.g., $1.00) off the item price.
- variablePercentage → const OrderLineItemDiscountType
-
Apply the discount as a variable percentage specified at time of the purchase.
- variableAmount → const OrderLineItemDiscountType
-
Apply the discount as a variable monetary value specified at time of the purchase.
Properties
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<
OrderLineItemDiscountType> - A constant List of the values in this enum, in order of their declaration.