PaymentElementOptions class
- Annotations
-
- @freezed
Constructors
- PaymentElementOptions({PaymentElementLayout? layout, PaymentElementDefaultValues? defaultValues, PaymentElementBusiness? business, dynamic paymentMethodOrder, PaymentElementFields? fields, dynamic readOnly, dynamic terms, dynamic wallets})
-
constfactory
-
PaymentElementOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- business → PaymentElementBusiness?
-
Provide information about your business that will
be displayed in the Payment Element.
This information will be retrieved from your Stripe account
if not provided.
no setterinherited
-
copyWith
→ $PaymentElementOptionsCopyWith<
PaymentElementOptions> -
no setterinherited
- defaultValues → PaymentElementDefaultValues?
-
Provide initial customer information that will be displayed
in the Payment Element.
The form will render with empty fields if not provided.
no setterinherited
- fields → PaymentElementFields?
-
By default, the Payment Element will collect all necessary details to
complete a payment.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → PaymentElementLayout?
-
no setterinherited
- paymentMethodOrder → dynamic
-
no setterinherited
- readOnly → dynamic
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terms → dynamic
-
no setterinherited
- wallets → dynamic
-
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