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 Details

    • date

      public int date
      Point in time (Unix timestamp) when the payment was made.
    • paymentsProviderUserId

      public int paymentsProviderUserId
      User identifier of the payment provider bot.
    • invoice

      public TdApi.Invoice invoice
      Contains information about the invoice.
    • orderInfo

      public TdApi.OrderInfo orderInfo
      Contains order information; may be null.
    • shippingOption

      public TdApi.ShippingOption shippingOption
      Chosen shipping option; may be null.
    • credentialsTitle

      public String 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

      public PaymentReceipt​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details