Invoice constructor

Invoice({
  1. required String id,
  2. required String currency,
  3. required String customer,
  4. required int total,
  5. String? description,
  6. String? hostedInvoiceUrl,
  7. String? status,
  8. String? subscription,
  9. String? paymentIntent,
  10. String? accountCountry,
  11. String? accountName,
})

Implementation

Invoice({
  required this.id,
  required this.currency,
  required this.customer,
  required this.total,
  this.description,
  this.hostedInvoiceUrl,
  this.status,
  this.subscription,
  this.paymentIntent,
  this.accountCountry,
  this.accountName,
});