Package it.tdlight.jni
Class TdApi.PaymentReceipt
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PaymentReceipt
- Enclosing class:
- TdApi
public static class TdApi.PaymentReceipt extends TdApi.Object
Contains information about a successful payment.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
credentialsTitle
Title of the saved credentials.int
date
Point in time (Unix timestamp) when the payment was made.TdApi.Invoice
invoice
Contains information about the invoice.TdApi.OrderInfo
orderInfo
Contains order information; may be null.int
paymentsProviderUserId
User identifier of the payment provider bot.TdApi.ShippingOption
shippingOption
Chosen shipping option; may be null. -
Constructor Summary
Constructors Constructor Description PaymentReceipt()
Contains information about a successful payment.PaymentReceipt(int date, int paymentsProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, String credentialsTitle)
Contains information about a successful payment.PaymentReceipt(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
date
public int datePoint in time (Unix timestamp) when the payment was made. -
paymentsProviderUserId
public int paymentsProviderUserIdUser identifier of the payment provider bot. -
invoice
Contains information about the invoice. -
orderInfo
Contains order information; may be null. -
shippingOption
Chosen shipping option; may be null. -
credentialsTitle
Title of the saved credentials. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PaymentReceipt
public PaymentReceipt()Contains information about a successful payment. -
PaymentReceipt
public PaymentReceipt(int date, int paymentsProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, String credentialsTitle)Contains information about a successful payment.- Parameters:
date
- int Point in time (Unix timestamp) when the payment was made.paymentsProviderUserId
- int User identifier of the payment provider bot.invoice
- Invoice Contains information about the invoice.orderInfo
- OrderInfo Contains order information; may be null.shippingOption
- ShippingOption Chosen shipping option; may be null.credentialsTitle
- String Title of the saved credentials.
-
PaymentReceipt
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-