UpdateNewPreCheckoutQuery class
A new incoming pre-checkout query; for bots only. Contains full information about a checkout.
- Inheritance
- Available Extensions
Constructors
- UpdateNewPreCheckoutQuery({required int64 id, required int sender_user_id, required String currency, required int total_amount, required bytes invoice_payload, required String shipping_option_id, OrderInfo? order_info, int? extra, int? clientId})
- A new incoming pre-checkout query; for bots only. Contains full information about a checkout
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- currency ↔ String
-
Currency for the product price.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int64
-
Unique query identifier.
; string representation of int, use
int.parse
read / write - invoice_payload ↔ bytes
-
Invoice payload.
; base64-encoded bytes
List<int>
read / write - order_info ↔ OrderInfo?
-
Information about the order; may be null.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sender_user_id ↔ int
-
Identifier of the user who sent the query.
read / write
- shipping_option_id ↔ String
-
Identifier of a shipping option chosen by the user; may be empty if not applicable.
read / write
- total_amount ↔ int
-
Total price for the product, 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) → UpdateNewPreCheckoutQuery? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"updateNewPreCheckoutQuery"