public static class TdApi.MessagePaymentSuccessfulBot extends TdApi.MessageContent
TdApi.MessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
currency
Currency for price of the product.
|
byte[] |
invoicePayload
Invoice payload.
|
TdApi.OrderInfo |
orderInfo
Information about the order; may be null.
|
java.lang.String |
providerPaymentChargeId
Provider payment identifier.
|
java.lang.String |
shippingOptionId
Identifier of the shipping option chosen by the user; may be empty if not applicable.
|
java.lang.String |
telegramPaymentChargeId
Telegram payment identifier.
|
long |
totalAmount
Total price for the product, in the smallest units of the currency.
|
Constructor and Description |
---|
MessagePaymentSuccessfulBot()
A payment has been completed; for bots only.
|
MessagePaymentSuccessfulBot(java.lang.String currency,
long totalAmount,
byte[] invoicePayload,
java.lang.String shippingOptionId,
TdApi.OrderInfo orderInfo,
java.lang.String telegramPaymentChargeId,
java.lang.String providerPaymentChargeId)
A payment has been completed; for bots only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String currency
public long totalAmount
public byte[] invoicePayload
public java.lang.String shippingOptionId
@Nullable public TdApi.OrderInfo orderInfo
public java.lang.String telegramPaymentChargeId
public java.lang.String providerPaymentChargeId
public static final int CONSTRUCTOR
public MessagePaymentSuccessfulBot()
public MessagePaymentSuccessfulBot(java.lang.String currency, long totalAmount, byte[] invoicePayload, java.lang.String shippingOptionId, TdApi.OrderInfo orderInfo, java.lang.String telegramPaymentChargeId, java.lang.String providerPaymentChargeId)
currency
- Currency for price of the product.totalAmount
- Total price for the product, in the smallest units 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.public int getConstructor()
getConstructor
in class TdApi.MessageContent