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 TypeFieldDescriptionThe list of additional payment options.boolean
True, if the user can choose to save credentials.static final int
Identifier uniquely determining type of the object.long
The payment form identifier.Full information about the invoice.boolean
True, if the user will be able to save credentials, if sets up a 2-step verification password.Information about the payment provider.long
User identifier of the payment provider bot.Product description.Product photo; may be null.Product title.The list of saved payment credentials.Saved server-side order information; may be null.long
User identifier of the seller bot. -
Constructor Summary
ConstructorDescriptionContains information about an invoice payment form.PaymentForm
(long id, TdApi.Invoice invoice, long sellerBotUserId, long paymentProviderUserId, TdApi.PaymentProvider paymentProvider, TdApi.PaymentOption[] additionalPaymentOptions, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials[] savedCredentials, boolean canSaveCredentials, boolean needPassword, String productTitle, TdApi.FormattedText productDescription, TdApi.Photo productPhoto) Contains information about an invoice payment form.PaymentForm
(DataInput input) Contains information about an invoice payment form. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public long idThe payment form identifier. -
invoice
Full information about the invoice. -
sellerBotUserId
public long sellerBotUserIdUser identifier of the seller bot. -
paymentProviderUserId
public long paymentProviderUserIdUser 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
public boolean canSaveCredentialsTrue, if the user can choose to save credentials. -
needPassword
public boolean needPasswordTrue, if the user will be able to save credentials, if sets up a 2-step verification password. -
productTitle
Product title. -
productDescription
Product description. -
productPhoto
Product photo; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PaymentForm
public PaymentForm()Contains information about an invoice payment form. -
PaymentForm
public PaymentForm(long id, TdApi.Invoice invoice, long sellerBotUserId, long paymentProviderUserId, TdApi.PaymentProvider paymentProvider, TdApi.PaymentOption[] additionalPaymentOptions, TdApi.OrderInfo savedOrderInfo, TdApi.SavedCredentials[] savedCredentials, boolean canSaveCredentials, boolean needPassword, String productTitle, TdApi.FormattedText productDescription, TdApi.Photo productPhoto) Contains information about an invoice payment form.- Parameters:
id
- The payment form identifier.invoice
- Full information about the invoice.sellerBotUserId
- User identifier of the seller bot.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.productTitle
- Product title.productDescription
- Product description.productPhoto
- Product photo; may be null.
-
PaymentForm
Contains information about an invoice payment form.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-