ShippingQuery class
This object contains information about an incoming shipping query.
- Implemented types
Constructors
- ShippingQuery({required String id, required User from, required String invoicePayload, required ShippingAddress shippingAddress})
-
Constructs a ShippingQuery object
const
-
ShippingQuery.fromJson(Map<
String, dynamic> json) -
Creates a ShippingQuery object from a JSON object
factory
Properties
- from → User
-
User who sent the query
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique query identifier
final
- invoicePayload → String
-
Bot specified invoice payload
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingAddress → ShippingAddress
-
User specified shipping address
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a ShippingQuery object to a JSON object
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited