Billing class
Represents the billing details for the payment process.
Constructors
- Billing({required String firstName, required String lastName, required String email, required String phone, required String address, required String city, required String region, required String country, required String postalCode, required String idType, required String idNumber})
- Creates a new instance of Billing with the given parameters.
-
Billing.fromJson(Map<
String, dynamic> json) -
Creates a new instance of Billing from a JSON object.
factory
Properties
- address → String
-
The address of the billing contact.
final
- city → String
-
The city of the billing contact.
final
- country → String
-
The country of the billing contact.
final
- email → String
-
The email address of the billing contact.
final
- firstName → String
-
The first name of the billing contact.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idNumber → String
-
The ID number of the billing contact.
final
- idType → String
-
The ID type of the billing contact.
final
- lastName → String
-
The last name of the billing contact.
final
- phone → String
-
The phone number of the billing contact.
final
- postalCode → String
-
The postal code of the billing contact.
final
- region → String
-
The region of the billing contact.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the Billing instance to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited