SendPaymentForm class final
Sends a filled-out payment form to the bot for final verification
Returns PaymentResult.
- Inheritance
-
- Object
- TdFunction<
PaymentResult> - SendPaymentForm
Constructors
- SendPaymentForm({required InputInvoice inputInvoice, required int paymentFormId, required String orderInfoId, required String shippingOptionId, required InputCredentials credentials, required int tipAmount})
-
Sends a filled-out payment form to the bot for final verification
const
Properties
- canBeCalledSynchronously → bool
-
Whether TDLib documents this request as callable through
td_execute.no setterinherited - credentials → InputCredentials
-
The credentials chosen by user for payment
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputInvoice → InputInvoice
-
The invoice
final
- orderInfoId → String
-
Identifier returned by validateOrderInfo, or an empty string
final
- paymentFormId → int
-
Payment form identifier returned by getPaymentForm
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingOptionId → String
-
Identifier of a chosen shipping option, if applicable
final
- tipAmount → int
-
Chosen by the user amount of tip in the smallest units of the currency
final
Methods
-
copyWith(
{InputInvoice? inputInvoice, int? paymentFormId, String? orderInfoId, String? shippingOptionId, InputCredentials? credentials, int? tipAmount}) → SendPaymentForm -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib function name, e.g.
getMe.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Converts this request to TDLib JSON, tagged with
extraif given.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.