Customer constructor

Customer({
  1. String? id,
  2. BillingAddress? address,
  3. num balance = 0,
  4. String? currency,
  5. String? default_source,
  6. bool delinquent = false,
  7. bool? livemode,
  8. Map<String, dynamic>? discount,
  9. num? created,
  10. String tax_exempt = "none",
  11. String? test_clock,
  12. required String? description,
  13. required String? email,
  14. String? invoice_prefix,
  15. Map<String, dynamic>? metadata,
  16. Map<String, dynamic>? invoice_settings,
  17. String? name,
  18. num? next_invoice_sequence,
  19. String? phone,
  20. List? preferred_locales,
  21. Map<String, dynamic>? shipping,
})

Implementation

Customer({
  this.id,
  this.address,
  this.balance = 0,
  this.currency,
  this.default_source,
  this.delinquent = false,
  this.livemode,
  this.discount,
  this.created,
  this.tax_exempt = "none",
  this.test_clock,
  required this.description,
  required this.email,
  this.invoice_prefix,
  this.metadata,
  this.invoice_settings,
  this.name,
  this.next_invoice_sequence,
  this.phone,
  this.preferred_locales,
  this.shipping,
});