UpdateNewPreCheckoutQuery class

Implemented types

Constructors

UpdateNewPreCheckoutQuery({int id, int senderUserId, String currency, int totalAmount, String invoicePayload, String shippingOptionId, OrderInfo orderInfo})
A new incoming pre-checkout query; for bots only. Contains full information about a checkout. id Unique query identifier . senderUserId Identifier of the user who sent the query . currency Currency for the product price . totalAmount Total price for the product, in the minimal quantity of the currency. invoicePayload Invoice payload . shippingOptionId Identifier of a shipping option chosen by the user; may be empty if not applicable . orderInfo Information about the order; may be null
UpdateNewPreCheckoutQuery.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

currency String
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
invoicePayload String
read / write
orderInfo OrderInfo
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
senderUserId int
read / write
shippingOptionId String
read / write
totalAmount int
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
"updateNewPreCheckoutQuery"