TaxTransaction constructor
const
TaxTransaction({
- required DateTime created,
- required String currency,
- String? customer,
- required TaxProductResourceCustomerDetails customerDetails,
- required String id,
- TaxTransactionLineItems? lineItems,
- required bool livemode,
- Map<
String, String> ? metadata, - required String reference,
- TaxTransactionReversal? reversal,
- TaxCalculationShippingCost? shippingCost,
- required DateTime taxDate,
- required TaxTransactionType type,
TaxProductResourceTaxTransaction
A Tax Transaction records the tax collected from or refunded to your customer. Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction)
Implementation
const TaxTransaction({
required this.created,
required this.currency,
this.customer,
required this.customerDetails,
required this.id,
this.lineItems,
required this.livemode,
this.metadata,
required this.reference,
this.reversal,
this.shippingCost,
required this.taxDate,
required this.type,
});