Package org.drinkless.tdlib
Class TdApi.PaymentReceiptTypeRegular
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PaymentReceiptType
org.drinkless.tdlib.TdApi.PaymentReceiptTypeRegular
- Enclosing class:
- TdApi
The payment was done using a third-party payment provider.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Title of the saved credentials chosen by the buyer.Information about the invoice.Order information; may be null.longUser identifier of the payment provider bot.Chosen shipping option; may be null.longThe amount of tip chosen by the buyer in the smallest units of the currency. -
Constructor Summary
ConstructorsConstructorDescriptionThe 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-