Customer class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

Customer({Address? address, int? balance, int? created, String? currency, dynamic defaultSource, bool? delinquent, String? description, dynamic discount, String? email, String? id, String? invoicePrefix, dynamic invoiceSettings, bool? livemode, Map<String, dynamic>? metadata, String? name, int? nextInvoiceSequence, String? object, String? phone, List<String>? preferredLocales, Shipping? shipping, dynamic sources, dynamic subscriptions, String? taxExempt, dynamic taxIds})
Customer.fromJson(Map<String, dynamic> json)
factory

Properties

address Address?
getter/setter pair
balance int?
getter/setter pair
created int?
getter/setter pair
currency String?
getter/setter pair
defaultSource ↔ dynamic
getter/setter pair
delinquent bool?
getter/setter pair
description String?
getter/setter pair
discount ↔ dynamic
getter/setter pair
email String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
invoicePrefix String?
getter/setter pair
invoiceSettings ↔ dynamic
getter/setter pair
livemode bool?
getter/setter pair
metadata Map<String, dynamic>?
getter/setter pair
name String?
getter/setter pair
nextInvoiceSequence int?
getter/setter pair
object String?
getter/setter pair
phone String?
getter/setter pair
preferredLocales List<String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping Shipping?
getter/setter pair
sources ↔ dynamic
getter/setter pair
subscriptions ↔ dynamic
getter/setter pair
taxExempt String?
getter/setter pair
taxIds ↔ dynamic
getter/setter pair

Methods

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

Operators

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