BillingData class

Customer billing information sent with a payment intention.

Paymob requires every billing field to be present, so empty fields are sent as "NA" (or "Unidentified" for name / contact fields).

Constructors

BillingData({String? email, String? firstName, String? lastName, String? phoneNumber, String? apartment, String? building, String? postalCode, String? city, String? state, String? country, String? floor, String? street, String? shippingMethod})

Properties

apartment ↔ String?
getter/setter pair
building ↔ String?
getter/setter pair
city ↔ String?
getter/setter pair
country ↔ String?
getter/setter pair
email ↔ String?
getter/setter pair
firstName ↔ String?
getter/setter pair
floor ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lastName ↔ String?
getter/setter pair
phoneNumber ↔ String?
getter/setter pair
postalCode ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shippingMethod ↔ String?
Not used by the Intention API; kept so 1.x code still compiles.
getter/setter pair
state ↔ String?
getter/setter pair
street ↔ String?
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