Class TdApi.PaymentReceiptTypeRegular
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PaymentReceiptType
dev.voroby.springframework.telegram.client.TdApi.PaymentReceiptTypeRegular
- Enclosing class:
- TdApi
The payment was done using a third-party payment provider.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Title of the saved credentials chosen by the buyer.Information about the invoice.Order information; may be null.long
User identifier of the payment provider bot.Chosen shipping option; may be null.long
The amount of tip chosen by the buyer in the smallest units of the currency. -
Constructor Summary
ConstructorDescriptionThe payment was done using a third-party payment provider.PaymentReceiptTypeRegular
(long paymentProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, String credentialsTitle, long tipAmount) The payment was done using a third-party payment provider. -
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
-
paymentProviderUserId
public long paymentProviderUserIdUser identifier of the payment provider bot. -
invoice
Information about the invoice. -
orderInfo
Order information; may be null. -
shippingOption
Chosen shipping option; may be null. -
credentialsTitle
Title of the saved credentials chosen by the buyer. -
tipAmount
public long tipAmountThe amount of tip chosen by the buyer in the smallest units of the currency. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PaymentReceiptTypeRegular
public PaymentReceiptTypeRegular()The payment was done using a third-party payment provider. -
PaymentReceiptTypeRegular
public PaymentReceiptTypeRegular(long paymentProviderUserId, TdApi.Invoice invoice, TdApi.OrderInfo orderInfo, TdApi.ShippingOption shippingOption, String credentialsTitle, long tipAmount) The payment was done using a third-party payment provider.- Parameters:
paymentProviderUserId
- User identifier of the payment provider bot.invoice
- Information about the invoice.orderInfo
- Order information; may be null.shippingOption
- Chosen shipping option; may be null.credentialsTitle
- Title of the saved credentials chosen by the buyer.tipAmount
- The amount of tip chosen by the buyer in the smallest units of the currency.
-
-
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
-