CancelRequest class final

Identifies the order to cancel and supplies any cancellation options.

Carries reason, executeRefund, and orderId.

Constructors

CancelRequest({String? reason, bool? executeRefund, required String orderId})
const
CancelRequest.fromJson(Map<String, Object?> json)
factory

Properties

executeRefund → bool?
final
hashCode → int
The hash code for this object.
no setterinherited
orderId → String
final
reason → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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