SendPaymentForm class

Sends a filled-out payment form to the bot for final verification.

Returns PaymentResult.

Inheritance
Available Extensions

Constructors

SendPaymentForm({required InputInvoice input_invoice, required int64 payment_form_id, required String order_info_id, required String shipping_option_id, required InputCredentials credentials, required int tip_amount, int? extra, int? clientId})
Sends a filled-out payment form to the bot for final verification

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
credentials InputCredentials
The credentials chosen by user for payment.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
input_invoice InputInvoice
The invoice.
read / write
order_info_id String
Identifier returned by validateOrderInfo, or an empty string.
read / write
payment_form_id int64
Payment form identifier returned by getPaymentForm. ; string representation of int, use int.parse
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
shipping_option_id String
Identifier of a chosen shipping option, if applicable.
read / write
tip_amount int
Chosen by the user amount of tip in the smallest units of the currency.
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) SendPaymentForm?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"sendPaymentForm"