CloneOrderRequest class

Annotations
  • @JsonSerializable()

Constructors

CloneOrderRequest({required String orderId, int? version, String? idempotencyKey})
const
CloneOrderRequest.fromJson(Map<String, dynamic> json)
Converts a Map to an CloneOrderRequest
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
idempotencyKey String?
A value you specify that uniquely identifies this clone request.
final
orderId String
The ID of the order to clone.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
version int?
If a version is provided, it must match the latest stored version of the order to clone. If a version is not provided, the API clones the latest version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a CloneOrderRequest to a Map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited