PurchaseRefund class

The purchase refund body.

Inheritance

Constructors

PurchaseRefund({PurchaseRefundAccount? account, String? alternateDate, String? amount, PurchaseRefundCreatedBy? createdBy, String? createdOn, PurchaseRefundCreditNote? creditNote, String? creditNoteId, List<PurchaseRefundCustomAttribute?>? customAttributes, String? date, String? id, String? issueDate, String? lastUpdatedBy, String? lastUpdatedOn, String? note, String? object, String? paymentMethod, String? paymentProcessor, Object? purchaseRefund, String? reference, String? status, String? uuid, int? version})
const

Properties

account → PurchaseRefundAccount?
final
alternateDate → String?
final
amount → String?
final
createdBy → PurchaseRefundCreatedBy?
final
createdOn → String?
final
creditNote → PurchaseRefundCreditNote?
final
creditNoteId → String?
final
customAttributes → List<PurchaseRefundCustomAttribute?>?
final
date → String?
final
envelopeKey → String?
The key the API wraps this record in - 'account' for {"account": {...}}. readRecord unwraps it on the way in, toMap puts it back on the way out.
no setteroverride
fields → Map<String, Object?>
Every field this type declares, keyed by wire name, in the order it sends them.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
issueDate → String?
final
lastUpdatedBy → String?
final
lastUpdatedOn → String?
final
note → String?
final
object → String?
final
paymentMethod → String?
final
paymentProcessor → String?
final
purchaseRefund → Object?
Untyped: never populated in the records measured.
final
reference → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
uuid → String?
final
version → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
The body this DTO stands for, envelope included.
inherited
toString() → String
Set fields, values under a secret-named key masked.
inherited

Operators

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

Static Methods

fromMap(Object? body) → PurchaseRefund?

Constants

measuredFrom → const List<String>