UpdateNewPreCheckoutQuery class

Inheritance

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
UpdateNewPreCheckoutQuery.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

currency String
currency Currency for the product price
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
id Unique query identifier
read / write
invoicePayload String
invoicePayload Invoice payload
read / write
orderInfo OrderInfo
orderInfo Information about the order; may be null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
senderUserId int
senderUserId Identifier of the user who sent the query
read / write
shippingOptionId String
shippingOptionId Identifier of a shipping option chosen by the user; may be empty if not applicable
read / write
totalAmount int
totalAmount Total price for the product, in the minimal quantity of the currency
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'updateNewPreCheckoutQuery'