TaxCalculationLineItem class final
TaxProductResourceTaxCalculationLineItem
- Implemented types
Constructors
-
TaxCalculationLineItem({required int amount, required int amountTax, required String id, required bool livemode, String? product, required int quantity, String? reference, required TaxCalculationShippingCostTaxBehavior taxBehavior, List<
TaxProductResourceLineItemTaxBreakdown> ? taxBreakdown, required String taxCode}) -
TaxProductResourceTaxCalculationLineItem
const
- TaxCalculationLineItem.fromJson(Object? json)
-
factory
Properties
- amount → int
-
final
- amountTax → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- livemode → bool
-
final
- object → String
-
The resource's type.
final
- product → String?
-
final
- quantity → int
-
final
- reference → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taxBehavior → TaxCalculationShippingCostTaxBehavior
-
final
-
taxBreakdown
→ List<
TaxProductResourceLineItemTaxBreakdown> ? -
final
- taxCode → String
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (TaxCalculationLineItem instance, Encoder< V> encoder) → V