public static class TdApi.PaymentForm extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
boolean |
canSaveCredentials
True, if the user can choose to save credentials.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
id
The payment form identifier.
|
TdApi.Invoice |
invoice
Full information of the invoice.
|
boolean |
needPassword
True, if the user will be able to save credentials protected by a password they set up.
|
TdApi.PaymentsProviderStripe |
paymentsProvider
Information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.
|
long |
paymentsProviderUserId
User identifier of the payment provider bot.
|
TdApi.SavedCredentials |
savedCredentials
Information about saved card credentials; may be null.
|
TdApi.OrderInfo |
savedOrderInfo
Saved server-side order information; may be null.
|
long |
sellerBotUserId
User identifier of the seller bot.
|
java.lang.String |
url
Payment form URL.
|
Constructor and Description |
---|
PaymentForm()
Contains information about an invoice payment form.
|
PaymentForm(long id,
TdApi.Invoice invoice,
java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public TdApi.Invoice invoice
public java.lang.String url
public long sellerBotUserId
public long paymentsProviderUserId
@Nullable public TdApi.PaymentsProviderStripe paymentsProvider
@Nullable public TdApi.OrderInfo savedOrderInfo
@Nullable public TdApi.SavedCredentials savedCredentials
public boolean canSaveCredentials
public boolean needPassword
public static final int CONSTRUCTOR
public PaymentForm()
public PaymentForm(long id, TdApi.Invoice invoice, java.lang.String url, long sellerBotUserId, long paymentsProviderUserId, TdApi.PaymentsProviderStripe paymentsProvider, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials savedCredentials, boolean canSaveCredentials, boolean needPassword)
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.public int getConstructor()
getConstructor
in class TdApi.Object