CreditNoteItem class

One entry of a CreditNoteItems's items: what was credited and refunded, by source, each amount a string.

Inheritance

Constructors

CreditNoteItem({String? creditNoteFromBlankMethod, String? creditNoteFromCreditNote, String? creditNoteFromGiftCertificate, String? creditNoteFromInvoiceCredit, String? creditNoteFromPaymentMethod, String? creditNoteTotal, Object? invoice, String? object, String? refundFromBlankMethod, String? refundFromCreditNote, String? refundFromGiftCertificate, String? refundFromInvoiceCredit, String? refundFromPaymentMethod, String? refundTotal})
const

Properties

creditNoteFromBlankMethod → String?
final
creditNoteFromCreditNote → String?
final
creditNoteFromGiftCertificate → String?
final
creditNoteFromInvoiceCredit → String?
final
creditNoteFromPaymentMethod → String?
final
creditNoteTotal → 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
invoice → Object?
Null in every record measured, so untyped.
final
object → String?
final
refundFromBlankMethod → String?
final
refundFromCreditNote → String?
final
refundFromGiftCertificate → String?
final
refundFromInvoiceCredit → String?
final
refundFromPaymentMethod → String?
final
refundTotal → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited

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) → CreditNoteItem?