BillingReference class
Represents the billing reference for an invoice, typically used in tax-related documents.
This class models the reference information for an invoice, which includes the invoice number and the issue date. This information is often required when referencing an invoice in subsequent transactions or documents.
It includes the following properties:
- invoiceNumber: The unique identifier for the invoice.
- invoiceIssueDate: The date when the invoice was issued.
Constructors
- BillingReference.new({required DateTime invoiceIssueDate, required int invoiceNumber})
-
Constructs a BillingReference instance with the specified
invoiceNumber
andinvoiceIssueDate
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoiceIssueDate → DateTime
-
The date when the invoice was issued.
final
- invoiceNumber → int
-
The unique identifier for the invoice.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXml(
XmlBuilder builder) → void -
Converts the BillingReference instance to an XML representation using the
XmlBuilder
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited