CreatePaymentMethodData class
- Annotations
-
- @freezed
Constructors
- CreatePaymentMethodData({required String type, @ElementConverter() Element? card, @JsonKey(name: "au_becs_debit") @ElementConverter() Element? auBecsDebit, @ElementConverter() Element? fpx, @JsonKey(name: "fpx[bank]") String? fpxBank, @JsonKey(name: "netbanking[bank]") String? netbankingBank, @ElementConverter() Element? ideal, @JsonKey(name: "ideal[bank]") String? idealBank, @JsonKey(name: "sepa_debit") @ElementConverter() Element? sepaDebit, @JsonKey(name: "sepa_debit[iban]") String? sepaDebitIban, @JsonKey(name: "upi[vpa]") String? upiVpa, @JsonKey(name: "billing_details") BillingDetails? billingDetails})
-
constfactory
-
CreatePaymentMethodData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- auBecsDebit → Element?
-
An auBankAccount Element.
no setterinherited
- billingDetails → BillingDetails?
-
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
no setterinherited
- card → Element?
-
A card or cardNumber Element.
no setterinherited
-
copyWith
→ $CreatePaymentMethodDataCopyWith<
CreatePaymentMethodData> -
no setterinherited
- fpx → Element?
-
An fpx Element.
no setterinherited
- fpxBank → String?
-
The customer's bank.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- ideal → Element?
-
An idealBank Element.
no setterinherited
- idealBank → String?
-
The customer's bank.
no setterinherited
- netbankingBank → String?
-
The customer's bank.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sepaDebit → Element?
-
An iban Element.
no setterinherited
- sepaDebitIban → String?
-
An IBAN account number.
no setterinherited
- type → String
-
Unique identifier for the object.
no setterinherited
- upiVpa → String?
-
The customer's VPA.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited