- 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
Modifier and TypeFieldDescriptionboolean
Pass true to save the order information.static final int
Identifier uniquely determining type of the object.The invoice.The order information, provided by the user; pass null if empty. -
Constructor Summary
ConstructorDescriptionValidates 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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods 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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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.Returns
ValidatedOrderInfo
-
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.Returns
ValidatedOrderInfo
- Parameters:
inputInvoice
- The invoice.orderInfo
- The order information, provided by the user; pass null if empty.allowSave
- Pass true to save the order information.Returns
ValidatedOrderInfo
-
ValidateOrderInfo
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.Returns
ValidatedOrderInfo
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-