SplitRefundResult class

Result model returned by SplitRefundScreen when the refund flow completes.

Passed to the onComplete callback so the caller (merchant app) can update its own state and navigate accordingly.

Constructors

SplitRefundResult({required bool success, String? errorMessage, required double refundedAmount, String? refundEventId, required String parentEventId})
const

Properties

errorMessage String?
Human-readable error message when success is false.
final
hashCode int
The hash code for this object.
no setterinherited
parentEventId String
The event ID of the original purchase leg that was refunded.
final
refundedAmount double
The amount that was refunded.
final
refundEventId String?
The event ID of the newly created refund PosPaymentEvent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Whether the refund was processed successfully.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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