DVRefund class

A refund of part or all of a sale.

Constructors

DVRefund({required String id, required String saleId, required DVMoney amount, required DVMoney tax, required DateTime createdAt, String? reason, DVRefundStatus status = DVRefundStatus.reserved, String? gatewayReference})
const

Properties

amount → DVMoney
final
createdAt → DateTime
final
gatewayReference → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
reason → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saleId → String
final
status → DVRefundStatus
final
tax → DVMoney
The tax inside amount, reversed cumulatively so a sale refunded in parts reverses exactly the tax it collected.
final

Methods

completed(String reference) → DVRefund
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