LegalMonetaryTotal class
Represents the legal monetary totals for an invoice, including various financial amounts such as line extension, tax amounts, prepaid amounts, and the payable amount.
The LegalMonetaryTotal class holds the essential financial summary related to the invoice's monetary totals, such as the line extension amount, tax exclusive and inclusive amounts, allowance total, prepaid amounts, and payable amounts. These totals are often required for legal or regulatory compliance in many invoicing systems.
Constructors
- LegalMonetaryTotal({required String lineExtensionAmount, required String taxExclusiveAmount, required String taxInclusiveAmount, required String payableAmount, required double allowanceTotalAmount, required double prepaidAmount})
- Constructs a LegalMonetaryTotal with the provided financial amounts.
Properties
- allowanceTotalAmount → double
-
The total amount of allowances (allowance total amount).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineExtensionAmount → String
-
The total amount before any tax is applied (line extension amount).
final
- payableAmount → String
-
The amount to be paid after considering all factors (payable amount).
final
- prepaidAmount → double
-
The amount that has been prepaid (prepaid amount).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taxExclusiveAmount → String
-
The total amount excluding taxes (tax-exclusive amount).
final
- taxInclusiveAmount → String
-
The total amount including taxes (tax-inclusive amount).
final
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 LegalMonetaryTotal instance into XML format using the
XmlBuilder
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited