public static class TdApi.ValidateOrderInfo extends TdApi.Function<TdApi.ValidatedOrderInfo>
Returns ValidatedOrderInfo
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowSave
Pass true to save the order information.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputInvoice |
inputInvoice
The invoice.
|
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(TdApi.InputInvoice inputInvoice,
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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InputInvoice inputInvoice
public TdApi.OrderInfo orderInfo
public boolean allowSave
public static final int CONSTRUCTOR
public ValidateOrderInfo()
Returns ValidatedOrderInfo
public ValidateOrderInfo(TdApi.InputInvoice inputInvoice, TdApi.OrderInfo orderInfo, boolean allowSave)
Returns ValidatedOrderInfo
inputInvoice - The invoice.orderInfo - The order information, provided by the user; pass null if empty.allowSave - Pass true to save the order information.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object