java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PaymentForm
- Enclosing class:
- TdApi
Contains information about an invoice payment form.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
True, if the user can choose to save credentials.static final int
long
The payment form identifier.Full information of the invoice.boolean
True, if the user will be able to save credentials protected by a password they set up.Contains information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.long
User identifier of the payment provider bot.Contains information about saved card credentials; may be null.Saved server-side order information; may be null.long
User identifier of the seller bot.Payment form URL. -
Constructor Summary
ConstructorDescriptionContains 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.PaymentForm
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public long idThe payment form identifier. -
invoice
Full information of the invoice. -
url
Payment form URL. -
sellerBotUserId
public long sellerBotUserIdUser identifier of the seller bot. -
paymentsProviderUserId
public long paymentsProviderUserIdUser identifier of the payment provider bot. -
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
public boolean canSaveCredentialsTrue, if the user can choose to save credentials. -
needPassword
public boolean needPasswordTrue, if the user will be able to save credentials protected by a password they set up. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
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
- long The payment form identifier.invoice
- Invoice Full information of the invoice.url
- String Payment form URL.sellerBotUserId
- long User identifier of the seller bot.paymentsProviderUserId
- long User identifier of the payment provider bot.paymentsProvider
- PaymentsProviderStripe Contains information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.savedOrderInfo
- OrderInfo Saved server-side order information; may be null.savedCredentials
- SavedCredentials Contains information about saved card credentials; may be null.canSaveCredentials
- boolean True, if the user can choose to save credentials.needPassword
- boolean True, if the user will be able to save credentials protected by a password they set up.
-
PaymentForm
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-