PaymentForm class

Contains information about an invoice payment form.

Inheritance
Available Extensions

Constructors

PaymentForm({required int64 id, required Invoice invoice, required int seller_bot_user_id, required int payment_provider_user_id, required PaymentProvider payment_provider, required List<PaymentOption> additional_payment_options, OrderInfo? saved_order_info, required List<SavedCredentials> saved_credentials, required bool can_save_credentials, required bool need_password, required String product_title, required FormattedText product_description, Photo? product_photo, int? extra, int? clientId})
Contains information about an invoice payment form

Properties

additional_payment_options ↔ List<PaymentOption>
The list of additional payment options.
read / write
can_save_credentials ↔ bool
True, if the user can choose to save credentials.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode → int
The hash code for this object.
read-onlyinherited
id ↔ int64
The payment form identifier. ; string representation of int, use int.parse
read / write
invoice ↔ Invoice
Full information about the invoice.
read / write
need_password ↔ bool
True, if the user will be able to save credentials, if sets up a 2-step verification password.
read / write
payment_provider ↔ PaymentProvider
Information about the payment provider.
read / write
payment_provider_user_id ↔ int
User identifier of the payment provider bot.
read / write
product_description ↔ FormattedText
Product description.
read / write
product_photo ↔ Photo?
Product photo; may be null.
read / write
product_title ↔ String
Product title.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
saved_credentials ↔ List<SavedCredentials>
The list of saved payment credentials.
read / write
saved_order_info ↔ OrderInfo?
Saved server-side order information; may be null.
read / write
seller_bot_user_id ↔ int
User identifier of the seller bot.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Object to Map serializer
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) → PaymentForm?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"paymentForm"