CreateRequest class final
Parameters for creating a refund.
Carries customData, reasonDetails, reference, and requestMeta, among other supported fields.
Constructors
-
CreateRequest({CustomData? customData, String? reasonDetails, String? reference, RequestMetaInput? requestMeta, required List<
CreateLineItemInput> lineItems, required String orderId, required Reason reason}) -
const
-
CreateRequest.fromJson(Map<
String, Object?> json) -
factory
Properties
- customData → CustomData?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lineItems
→ List<
CreateLineItemInput> -
final
- orderId → String
-
final
- reason → Reason
-
final
- reasonDetails → String?
-
final
- reference → String?
-
final
- requestMeta → RequestMetaInput?
-
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