Package org.drinkless.tdlib
Class TdApi.ValidateOrderInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ValidateOrderInfo
-
- Enclosing class:
- TdApi
public static class TdApi.ValidateOrderInfo extends TdApi.Function
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.Returns
ValidatedOrderInfo
-
-
Field Summary
Fields Modifier and Type Field Description booleanallowSaveTrue, if the order information can be saved.longchatIdChat identifier of the Invoice message.static intCONSTRUCTORIdentifier uniquely determining type of the object.longmessageIdMessage identifier.TdApi.OrderInfoorderInfoThe order information, provided by the user; pass null if empty.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier of the Invoice message.
-
messageId
public long messageId
Message identifier.
-
orderInfo
public TdApi.OrderInfo orderInfo
The order information, provided by the user; pass null if empty.
-
allowSave
public boolean allowSave
True, if the order information can be saved.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ValidateOrderInfo
public 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.Returns
ValidatedOrderInfo
-
ValidateOrderInfo
public 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.Returns
ValidatedOrderInfo- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-