PaymentReceipt class
Contains information about a successful payment
Constructors
- PaymentReceipt({String? extra, int? client_id, string? title, FormattedText? description, Photo? photo, int32? date, int53? seller_bot_user_id, int53? payment_provider_user_id, Invoice? invoice, OrderInfo? order_info, ShippingOption? shipping_option, string? credentials_title, int53? tip_amount})
-
PaymentReceipt.fromMap(Map<
String, dynamic> map)
Properties
- client_id ↔ int?
-
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
- credentials_title ↔ string?
-
Title of the saved credentials chosen by the buyer
getter/setter pair
- date ↔ int32?
-
Point in time (Unix timestamp) when the payment was made
getter/setter pair
- description ↔ FormattedText?
-
getter/setter pair
- extra ↔ String?
-
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoice ↔ Invoice?
-
Information about the invoice
getter/setter pair
- order_info ↔ OrderInfo?
-
Order information; may be null
getter/setter pair
- payment_provider_user_id ↔ int53?
-
User identifier of the payment provider bot
getter/setter pair
- photo ↔ Photo?
-
Product photo; may be null
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seller_bot_user_id ↔ int53?
-
User identifier of the seller bot
getter/setter pair
- shipping_option ↔ ShippingOption?
-
Chosen shipping option; may be null
getter/setter pair
- tdType → String
-
JSON object type; maps to the field @type.
no setteroverride
- tip_amount ↔ int53?
-
The amount of tip chosen by the buyer in the smallest units of the currency
getter/setter pair
- title ↔ string?
-
Product title
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{dynamic skipNulls = true}) → String -
Serialize a Td instance to a JSON string.
If
skipNullsistruethe fields with null values are not serialized.inherited -
toMap(
{dynamic skipNulls = true}) → Map< String, dynamic> -
Create a Map from a Td instance.
override
-
toString(
{dynamic skipNulls = false}) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited