public static class TdApi.UpdateNewPreCheckoutQuery extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
currency
Currency for the product price.
|
long |
id
Unique query identifier.
|
byte[] |
invoicePayload
Invoice payload.
|
TdApi.OrderInfo |
orderInfo
Information about the order; may be null.
|
long |
senderUserId
Identifier of the user who sent the query.
|
java.lang.String |
shippingOptionId
Identifier of a shipping option chosen by the user; may be empty if not applicable.
|
long |
totalAmount
Total price for the product, in the smallest units of the currency.
|
| Constructor and Description |
|---|
UpdateNewPreCheckoutQuery()
A new incoming pre-checkout query; for bots only.
|
UpdateNewPreCheckoutQuery(long id,
long senderUserId,
java.lang.String currency,
long totalAmount,
byte[] invoicePayload,
java.lang.String shippingOptionId,
TdApi.OrderInfo orderInfo)
A new incoming pre-checkout query; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public long senderUserId
public java.lang.String currency
public long totalAmount
public byte[] invoicePayload
public java.lang.String shippingOptionId
public TdApi.OrderInfo orderInfo
public static final int CONSTRUCTOR
public UpdateNewPreCheckoutQuery()
public UpdateNewPreCheckoutQuery(long id,
long senderUserId,
java.lang.String currency,
long totalAmount,
byte[] invoicePayload,
java.lang.String shippingOptionId,
TdApi.OrderInfo orderInfo)
id - Unique query identifier.senderUserId - Identifier of the user who sent the query.currency - Currency for the product price.totalAmount - Total price for the product, in the smallest units of the currency.invoicePayload - Invoice payload.shippingOptionId - Identifier of a shipping option chosen by the user; may be empty if not applicable.orderInfo - Information about the order; may be null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object