Class TdApi.PaymentFormTypeRegular
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PaymentFormType
dev.voroby.springframework.telegram.client.TdApi.PaymentFormTypeRegular
- Enclosing class:
- TdApi
The payment form is for a regular payment.
-
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.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.The list of saved payment credentials.Saved server-side order information; may be null. -
Constructor Summary
ConstructorDescriptionThe 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
invoice
Full information about the invoice. -
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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PaymentFormTypeRegular
public PaymentFormTypeRegular()The payment form is for a regular payment. -
PaymentFormTypeRegular
public 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.- Parameters:
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.
-
-
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
-