TaxTransactionLineItem class final

TaxProductResourceTaxTransactionLineItem

Implemented types

Constructors

TaxTransactionLineItem({required int amount, required int amountTax, required String id, required bool livemode, Map<String, String>? metadata, String? product, required int quantity, required String reference, TaxTransactionLineItemReversal? reversal, required TaxCalculationShippingCostTaxBehavior taxBehavior, required String taxCode, required TaxTransactionType type})
TaxProductResourceTaxTransactionLineItem
const
TaxTransactionLineItem.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
metadata → Map<String, String>?
final
object → String
The resource's type.
final
product → String?
final
quantity → int
final
reference → String
final
reversal → TaxTransactionLineItemReversal?
If `type=reversal`, contains information about what was reversed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taxBehavior → TaxCalculationShippingCostTaxBehavior
final
taxCode → String
final
type → TaxTransactionType
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>(TaxTransactionLineItem instance, Encoder<V> encoder) → V