public static class TdApi.ValidateOrderInfo extends TdApi.Function
Returns ValidatedOrderInfo
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
boolean |
allowSave
True, if the order information can be saved.
|
long |
chatId
Chat identifier of the Invoice message.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Message identifier.
|
TdApi.OrderInfo |
orderInfo
The order information, provided by the user; pass null if empty.
|
Constructor and Description |
---|
ValidateOrderInfo()
Default constructor for a function, which validates the order information provided by a user and returns the available shipping options for a flexible invoice.
|
ValidateOrderInfo(long chatId,
long messageId,
TdApi.OrderInfo orderInfo,
boolean allowSave)
Creates a function, which validates the order information provided by a user and returns the available shipping options for a flexible invoice.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long messageId
public TdApi.OrderInfo orderInfo
public boolean allowSave
public static final int CONSTRUCTOR
public ValidateOrderInfo()
Returns ValidatedOrderInfo
public ValidateOrderInfo(long chatId, long messageId, TdApi.OrderInfo orderInfo, boolean allowSave)
Returns ValidatedOrderInfo
chatId
- Chat identifier of the Invoice message.messageId
- Message identifier.orderInfo
- The order information, provided by the user; pass null if empty.allowSave
- True, if the order information can be saved.public int getConstructor()
getConstructor
in class TdApi.Function