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.
|
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
Contains information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.
|
TdApi.SavedCredentials |
savedCredentials
Contains information about saved card credentials; may be null.
|
TdApi.OrderInfo |
savedOrderInfo
Saved server-side order information; may be null.
|
java.lang.String |
url
Payment form URL.
|
Constructor and Description |
---|
PaymentForm()
Contains information about an invoice payment form.
|
PaymentForm(TdApi.Invoice invoice,
java.lang.String url,
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 TdApi.Invoice invoice
public java.lang.String url
@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(TdApi.Invoice invoice, java.lang.String url, TdApi.PaymentsProviderStripe paymentsProvider, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials savedCredentials, boolean canSaveCredentials, boolean needPassword)
invoice
- Full information of the invoice.url
- Payment form URL.paymentsProvider
- Contains 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
- Contains 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