- 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
True, if the order information can be saved.long
Chat identifier of the Invoice message.static final int
long
Message identifier.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
(long chatId, long messageId, 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
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier of the Invoice message. -
messageId
public long messageIdMessage identifier. -
orderInfo
The order information, provided by the user; pass null if empty. -
allowSave
public boolean allowSaveTrue, if the order information can be saved. -
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.Returns
ValidatedOrderInfo
-
ValidateOrderInfo
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.Returns
ValidatedOrderInfo
- Parameters:
chatId
- long Chat identifier of the Invoice message.messageId
- long Message identifier.orderInfo
- OrderInfo The order information, provided by the user; pass null if empty.allowSave
- boolean True, if the order information can be saved.
-
ValidateOrderInfo
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.Returns
ValidatedOrderInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-