AllowanceCharge constructor
AllowanceCharge({
- required String reason,
- required double amount,
- required TaxDetails tax,
Constructs an AllowanceCharge instance with the specified reason, amount, and tax.
reason is a string representing the reason for the allowance or charge (e.g., discount).
amount is a numeric value representing the amount of the allowance or charge.
tax is a TaxDetails instance that contains tax-related information.
Implementation
AllowanceCharge(
{required this.reason, required this.amount, required this.tax});