DVInvoice class

One invoice from a billing provider.

Constructors

DVInvoice({required String id, required DVMoney total, required DVInvoiceStatus status, required DateTime createdAt, String? number, Uri? hostedUrl, Uri? pdfUrl, DVMoney? tax})
const

Properties

createdAt → DateTime
When the provider created it, in UTC.
final
hashCode → int
The hash code for this object.
no setterinherited
hostedUrl → Uri?
A page the customer can open, when the provider hosts one.
final
id → String
The provider's identifier for it.
final
number → String?
The human-facing invoice number, when the provider issued one. A draft often has none.
final
pdfUrl → Uri?
A PDF, when the provider exposes one directly.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → DVInvoiceStatus
final
tax → DVMoney?
The tax the provider collected, when it acts as merchant of record.
final
total → DVMoney
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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