Class TdApi.PaymentReceiptTypeRegular

Enclosing class:
TdApi

public static class TdApi.PaymentReceiptTypeRegular extends TdApi.PaymentReceiptType
The payment was done using a third-party payment provider.
  • Field Details

    • paymentProviderUserId

      public long paymentProviderUserId
      User identifier of the payment provider bot.
    • invoice

      public TdApi.Invoice invoice
      Information about the invoice.
    • orderInfo

      public TdApi.OrderInfo orderInfo
      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 chosen by the buyer.
    • tipAmount

      public long tipAmount
      The amount of tip chosen by the buyer in the smallest units of the currency.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PaymentReceiptTypeRegular

      public PaymentReceiptTypeRegular()
      The payment was done using a third-party payment provider.
    • PaymentReceiptTypeRegular

      public PaymentReceiptTypeRegular(long paymentProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, String credentialsTitle, long tipAmount)
      The payment was done using a third-party payment provider.
      Parameters:
      paymentProviderUserId - User identifier of the payment provider bot.
      invoice - Information about the invoice.
      orderInfo - Order information; may be null.
      shippingOption - Chosen shipping option; may be null.
      credentialsTitle - Title of the saved credentials chosen by the buyer.
      tipAmount - The amount of tip chosen by the buyer in the smallest units of the currency.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR