ValidateOrderInfo class
- Inheritance
-
- Object
- TdFunction
- ValidateOrderInfo
Constructors
- ValidateOrderInfo({required int chatId, required int messageId, OrderInfo? orderInfo, required bool allowSave})
-
Validates the order information provided by a user and returns the available shipping options for a flexible invoice
const
Properties
- allowSave → bool
-
allowSave True, if the order information can be saved
final
- chatId → int
-
chatId Chat identifier of the Invoice message
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
messageId Message identifier
final
- orderInfo → OrderInfo?
-
orderInfo The order information, provided by the user; pass null if empty
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? chatId, int? messageId, OrderInfo? orderInfo, bool? allowSave}) → ValidateOrderInfo -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String