PurchaseRefunds class

The purchase refunds body.

Inheritance

Constructors

PurchaseRefunds({String? alternateDate, String? amount, String? createdBy, String? createdOn, String? creditNoteId, List<Object?>? customAttributes, List<PurchaseRefundsData?>? data, String? date, String? id, String? lastUpdatedBy, String? lastUpdatedOn, String? note, String? object, Pagination? pagination, String? paymentMethod, String? paymentProcessor, String? reference, String? status, String? url, String? uuid, String? version})
const

Properties

alternateDate → String?
final
amount → String?
final
createdBy → String?
final
createdOn → String?
final
creditNoteId → String?
final
customAttributes → List<Object?>?
final
data → List<PurchaseRefundsData?>?
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 setterinherited
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
lastUpdatedBy → String?
final
lastUpdatedOn → String?
final
note → String?
final
object → String?
final
pagination → Pagination?
final
paymentMethod → String?
final
paymentProcessor → String?
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
url → String?
final
uuid → String?
final
version → String?
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) → PurchaseRefunds?

Constants

measuredFrom → const List<String>