public static class TdApi.PaymentFormTypeRegular extends TdApi.PaymentFormType
| Modifier and Type | Field and Description |
|---|---|
TdApi.PaymentOption[] |
additionalPaymentOptions
The list of additional payment options.
|
boolean |
canSaveCredentials
True, if the user can choose to save credentials.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Invoice |
invoice
Full information about the invoice.
|
boolean |
needPassword
True, if the user will be able to save credentials, if sets up a 2-step verification password.
|
TdApi.PaymentProvider |
paymentProvider
Information about the payment provider.
|
long |
paymentProviderUserId
User identifier of the payment provider bot.
|
TdApi.SavedCredentials[] |
savedCredentials
The list of saved payment credentials.
|
TdApi.OrderInfo |
savedOrderInfo
Saved server-side order information; may be null.
|
| Constructor and Description |
|---|
PaymentFormTypeRegular()
The payment form is for a regular payment.
|
PaymentFormTypeRegular(TdApi.Invoice invoice,
long paymentProviderUserId,
TdApi.PaymentProvider paymentProvider,
TdApi.PaymentOption[] additionalPaymentOptions,
TdApi.OrderInfo savedOrderInfo,
TdApi.SavedCredentials[] savedCredentials,
boolean canSaveCredentials,
boolean needPassword)
The payment form is for a regular payment.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Invoice invoice
public long paymentProviderUserId
public TdApi.PaymentProvider paymentProvider
public TdApi.PaymentOption[] additionalPaymentOptions
public TdApi.OrderInfo savedOrderInfo
public TdApi.SavedCredentials[] savedCredentials
public boolean canSaveCredentials
public boolean needPassword
public static final int CONSTRUCTOR
public PaymentFormTypeRegular()
public PaymentFormTypeRegular(TdApi.Invoice invoice, long paymentProviderUserId, TdApi.PaymentProvider paymentProvider, TdApi.PaymentOption[] additionalPaymentOptions, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials[] savedCredentials, boolean canSaveCredentials, boolean needPassword)
invoice - Full information about the invoice.paymentProviderUserId - User identifier of the payment provider bot.paymentProvider - Information about the payment provider.additionalPaymentOptions - The list of additional payment options.savedOrderInfo - Saved server-side order information; may be null.savedCredentials - The list of saved payment credentials.canSaveCredentials - True, if the user can choose to save credentials.needPassword - True, if the user will be able to save credentials, if sets up a 2-step verification password.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object