PaymentReceipt class

Contains information about a successful payment.

Inheritance
Available Extensions

Constructors

PaymentReceipt({required String title, required FormattedText description, Photo? photo, required int date, required int seller_bot_user_id, required int payment_provider_user_id, required Invoice invoice, OrderInfo? order_info, ShippingOption? shipping_option, required String credentials_title, required int tip_amount, int? extra, int? clientId})
Contains information about a successful payment

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
credentials_title String
Title of the saved credentials chosen by the buyer.
read / write
date int
Point in time (Unix timestamp) when the payment was made.
read / write
description FormattedText
Product description.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
invoice Invoice
Information about the invoice.
read / write
order_info OrderInfo?
Order information; may be null.
read / write
payment_provider_user_id int
User identifier of the payment provider bot.
read / write
photo Photo?
Product photo; may be null.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
seller_bot_user_id int
User identifier of the seller bot.
read / write
shipping_option ShippingOption?
Chosen shipping option; may be null.
read / write
tip_amount int
The amount of tip chosen by the buyer in the smallest units of the currency.
read / write
title String
Product title.
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) PaymentReceipt?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"paymentReceipt"