PaymentForm class

Contains information about an invoice payment form

Inheritance

Constructors

PaymentForm({String? extra, int? client_id, int64? id, Invoice? invoice, int53? seller_bot_user_id, int53? payment_provider_user_id, PaymentProvider? payment_provider, vector<PaymentOption>? additional_payment_options, OrderInfo? saved_order_info, vector<SavedCredentials>? saved_credentials, Bool? can_save_credentials, Bool? need_password, string? product_title, FormattedText? product_description, Photo? product_photo})
PaymentForm.fromMap(Map<String, dynamic> map)

Properties

additional_payment_options vector<PaymentOption>?
The list of additional payment options
getter/setter pair
can_save_credentials Bool?
True, if the user can choose to save credentials
getter/setter pair
client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id int64?
The payment form identifier
getter/setter pair
invoice Invoice?
Full information about the invoice
getter/setter pair
need_password Bool?
True, if the user will be able to save credentials, if sets up a 2-step verification password
getter/setter pair
payment_provider PaymentProvider?
Information about the payment provider
getter/setter pair
payment_provider_user_id int53?
User identifier of the payment provider bot
getter/setter pair
product_description FormattedText?
Product description
getter/setter pair
product_photo Photo?
Product photo; may be null
getter/setter pair
product_title string?
Product title
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saved_credentials vector<SavedCredentials>?
The list of saved payment credentials
getter/setter pair
saved_order_info OrderInfo?
Saved server-side order information; may be null
getter/setter pair
seller_bot_user_id int53?
User identifier of the seller bot
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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