- Enclosing class:
- TdApi
Validates the order information provided
by a user and returns the available
shipping options for a flexible invoice.
Returns
ValidatedOrderInfo-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanPass true to save the order information.static final intThe invoice.The order information, provided by the user; pass null if empty. -
Constructor Summary
ConstructorsConstructorDescriptionValidates 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) Validates the order information provided by a user and returns the available shipping options for a flexible invoice.ValidateOrderInfo(DataInput input) Validates the order information provided by a user and returns the available shipping options for a flexible invoice. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
inputInvoice
The invoice. -
orderInfo
The order information, provided by the user; pass null if empty. -
allowSave
public boolean allowSavePass true to save the order information. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ValidateOrderInfo
public ValidateOrderInfo()Validates the order information provided by a user and returns the available shipping options for a flexible invoice. ReturnsValidatedOrderInfo -
ValidateOrderInfo
public ValidateOrderInfo(TdApi.InputInvoice inputInvoice, TdApi.OrderInfo orderInfo, boolean allowSave) Validates the order information provided by a user and returns the available shipping options for a flexible invoice. ReturnsValidatedOrderInfo- Parameters:
inputInvoice- InputInvoice The invoice.orderInfo- OrderInfo The order information, provided by the user; pass null if empty.allowSave- boolean Pass true to save the order information.
-
ValidateOrderInfo
Validates the order information provided by a user and returns the available shipping options for a flexible invoice. ReturnsValidatedOrderInfo- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-