Refund class
An object representing a refund processed for a Square transaction.
- Annotations
-
- @JsonSerializable()
Constructors
-
Refund({required String id, required String locationId, required String transactionId, required String tenderId, required DateTime createdAt, required String reason, required Money amountMoney, required PaymentRefundStatus status, required Money processingFeeMoney, required List<
AdditionalRecipient> additionalRecipients}) -
const
-
Refund.fromJson(Map<
String, dynamic> json) -
Converts a Map to an Refund
factory
Properties
-
additionalRecipients
→ List<
AdditionalRecipient> -
final
- amountMoney → Money
-
final
- createdAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- locationId → String
-
final
- processingFeeMoney → Money
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- reason → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PaymentRefundStatus
-
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - tenderId → String
-
final
- transactionId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a Refund to a Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited