Customer class

Constructors

Customer({String? id, BillingAddress? address, num balance = 0, String? currency, String? default_source, bool delinquent = false, bool? livemode, Map<String, dynamic>? discount, num? created, String tax_exempt = "none", String? test_clock, required String? description, required String? email, String? invoice_prefix, Map<String, dynamic>? metadata, Map<String, dynamic>? invoice_settings, String? name, num? next_invoice_sequence, String? phone, List? preferred_locales, Map<String, dynamic>? shipping})

Properties

address → BillingAddress?
final
balance → num
final
created → num?
final
currency → String?
final
default_source → String?
final
delinquent → bool
final
description → String?
final
discount → Map<String, dynamic>?
final
email → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
invoice_prefix → String?
final
invoice_settings → Map<String, dynamic>?
final
livemode → bool?
final
metadata → Map<String, dynamic>?
final
name → String?
final
next_invoice_sequence → num?
final
object → String
final
phone → String?
final
preferred_locales → List?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shipping → Map<String, dynamic>?
final
tax_exempt → String
final
test_clock → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

parse(Map<String, dynamic> parsedJSON) → Customer