PaymentForm class

Implemented types

Constructors

PaymentForm({Invoice invoice, String url, PaymentsProviderStripe paymentsProvider, OrderInfo savedOrderInfo, SavedCredentials savedCredentials, bool canSaveCredentials, bool needPassword})
Contains information about an invoice payment form. invoice Full information of the invoice . url Payment form URL . paymentsProvider Contains information about the payment provider, if available, to support it natively without the need for opening the URL; may be null. savedOrderInfo Saved server-side order information; may be null . savedCredentials Contains information about saved card credentials; may be null . canSaveCredentials True, if the user can choose to save credentials . needPassword True, if the user will be able to save credentials protected by a password they set up
PaymentForm.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

canSaveCredentials bool
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
invoice Invoice
read / write
needPassword bool
read / write
paymentsProvider PaymentsProviderStripe
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
savedCredentials SavedCredentials
read / write
savedOrderInfo OrderInfo
read / write
url String
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"paymentForm"