Package org.drinkless.tdlib
Class TdApi.PaymentForm
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PaymentForm
-
- Enclosing class:
- TdApi
public static class TdApi.PaymentForm extends TdApi.Object
Contains information about an invoice payment form.
-
-
Field Summary
Fields Modifier and Type Field Description booleancanSaveCredentialsTrue, if the user can choose to save credentials.static intCONSTRUCTORIdentifier uniquely determining type of the object.longidThe payment form identifier.TdApi.InvoiceinvoiceFull information of the invoice.booleanneedPasswordTrue, if the user will be able to save credentials protected by a password they set up.TdApi.PaymentsProviderStripepaymentsProviderInformation about the payment provider, if available, to support it natively without the need for opening the URL; may be null.longpaymentsProviderUserIdUser identifier of the payment provider bot.TdApi.SavedCredentialssavedCredentialsInformation about saved card credentials; may be null.TdApi.OrderInfosavedOrderInfoSaved server-side order information; may be null.longsellerBotUserIdUser identifier of the seller bot.StringurlPayment form URL.
-
Constructor Summary
Constructors Constructor Description PaymentForm()Contains information about an invoice payment form.PaymentForm(long id, TdApi.Invoice invoice, String url, long sellerBotUserId, long paymentsProviderUserId, TdApi.PaymentsProviderStripe paymentsProvider, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials savedCredentials, boolean canSaveCredentials, boolean needPassword)Contains information about an invoice payment form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public long id
The payment form identifier.
-
invoice
public TdApi.Invoice invoice
Full information of the invoice.
-
url
public String url
Payment form URL.
-
sellerBotUserId
public long sellerBotUserId
User identifier of the seller bot.
-
paymentsProviderUserId
public long paymentsProviderUserId
User identifier of the payment provider bot.
-
paymentsProvider
public TdApi.PaymentsProviderStripe paymentsProvider
Information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.
-
savedOrderInfo
public TdApi.OrderInfo savedOrderInfo
Saved server-side order information; may be null.
-
savedCredentials
public TdApi.SavedCredentials savedCredentials
Information about saved card credentials; may be null.
-
canSaveCredentials
public boolean canSaveCredentials
True, if the user can choose to save credentials.
-
needPassword
public boolean needPassword
True, if the user will be able to save credentials protected by a password they set up.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaymentForm
public PaymentForm()
Contains information about an invoice payment form.
-
PaymentForm
public PaymentForm(long id, TdApi.Invoice invoice, String url, long sellerBotUserId, long paymentsProviderUserId, TdApi.PaymentsProviderStripe paymentsProvider, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials savedCredentials, boolean canSaveCredentials, boolean needPassword)Contains information about an invoice payment form.- Parameters:
id- The payment form identifier.invoice- Full information of the invoice.url- Payment form URL.sellerBotUserId- User identifier of the seller bot.paymentsProviderUserId- User identifier of the payment provider bot.paymentsProvider- Information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.savedOrderInfo- Saved server-side order information; may be null.savedCredentials- Information about saved card credentials; may be null.canSaveCredentials- True, if the user can choose to save credentials.needPassword- True, if the user will be able to save credentials protected by a password they set up.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-