TaxTransaction constructor

const TaxTransaction({
  1. required DateTime created,
  2. required String currency,
  3. String? customer,
  4. required TaxProductResourceCustomerDetails customerDetails,
  5. required String id,
  6. TaxTransactionLineItems? lineItems,
  7. required bool livemode,
  8. Map<String, String>? metadata,
  9. required String reference,
  10. TaxTransactionReversal? reversal,
  11. TaxCalculationShippingCost? shippingCost,
  12. required DateTime taxDate,
  13. 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,
});