java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessagePaymentSuccessful
- Enclosing class:
- TdApi
A payment has been completed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCurrency for the price of the product.longIdentifier of the chat, containing the corresponding invoice message.longIdentifier of the message with the corresponding invoice; can be 0 or an identifier of a deleted message.Name of the invoice; may be empty if unknown.booleanTrue, if this is the first recurring payment.booleanTrue, if this is a recurring payment.longTotal price for the product, in the smallest units of the currency. -
Constructor Summary
ConstructorsConstructorDescriptionA payment has been completed.MessagePaymentSuccessful(long invoiceChatId, long invoiceMessageId, String currency, long totalAmount, boolean isRecurring, boolean isFirstRecurring, String invoiceName) A payment has been completed.A payment has been completed. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
invoiceChatId
public long invoiceChatIdIdentifier of the chat, containing the corresponding invoice message. -
invoiceMessageId
public long invoiceMessageIdIdentifier of the message with the corresponding invoice; can be 0 or an identifier of a deleted message. -
currency
Currency for the price of the product. -
totalAmount
public long totalAmountTotal price for the product, in the smallest units of the currency. -
isRecurring
public boolean isRecurringTrue, if this is a recurring payment. -
isFirstRecurring
public boolean isFirstRecurringTrue, if this is the first recurring payment. -
invoiceName
Name of the invoice; may be empty if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessagePaymentSuccessful
public MessagePaymentSuccessful()A payment has been completed. -
MessagePaymentSuccessful
public MessagePaymentSuccessful(long invoiceChatId, long invoiceMessageId, String currency, long totalAmount, boolean isRecurring, boolean isFirstRecurring, String invoiceName) A payment has been completed.- Parameters:
invoiceChatId- long Identifier of the chat, containing the corresponding invoice message.invoiceMessageId- long Identifier of the message with the corresponding invoice; can be 0 or an identifier of a deleted message.currency- String Currency for the price of the product.totalAmount- long Total price for the product, in the smallest units of the currency.isRecurring- boolean True, if this is a recurring payment.isFirstRecurring- boolean True, if this is the first recurring payment.invoiceName- String Name of the invoice; may be empty if unknown.
-
MessagePaymentSuccessful
A payment has been completed.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-