MessagePaymentSuccessfulBot class

Implemented types

Constructors

MessagePaymentSuccessfulBot({int invoiceMessageId, String currency, int totalAmount, String invoicePayload, String shippingOptionId, OrderInfo orderInfo, String telegramPaymentChargeId, String providerPaymentChargeId})
A payment has been completed; for bots only. invoiceMessageId Identifier of the message with the corresponding invoice; can be an identifier of a deleted message . currency Currency for price of the product. totalAmount Total price for the product, in the minimal quantity of the currency . invoicePayload Invoice payload . shippingOptionId Identifier of the shipping option chosen by the user; may be empty if not applicable . orderInfo Information about the order; may be null. telegramPaymentChargeId Telegram payment identifier . providerPaymentChargeId Provider payment identifier
MessagePaymentSuccessfulBot.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

currency String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
invoiceMessageId int
read / write
invoicePayload String
read / write
orderInfo OrderInfo
read / write
providerPaymentChargeId String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shippingOptionId String
read / write
telegramPaymentChargeId String
read / write
totalAmount int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"messagePaymentSuccessfulBot"