CreditNoteLineItem constructor
const
CreditNoteLineItem({
- required int amount,
- int? amountExcludingTax,
- String? description,
- required int discountAmount,
- required List<
DiscountsResourceDiscountAmount> discountAmounts, - required String id,
- String? invoiceLineItem,
- required bool livemode,
- int? quantity,
- required List<
CreditNoteTaxAmount> taxAmounts, - required List<
TaxRate> taxRates, - required CreditNoteLineItemType type,
- int? unitAmount,
- String? unitAmountDecimal,
- String? unitAmountExcludingTax,
CreditNoteLineItem
The credit note line item object
Implementation
const CreditNoteLineItem({
required this.amount,
this.amountExcludingTax,
this.description,
required this.discountAmount,
required this.discountAmounts,
required this.id,
this.invoiceLineItem,
required this.livemode,
this.quantity,
required this.taxAmounts,
required this.taxRates,
required this.type,
this.unitAmount,
this.unitAmountDecimal,
this.unitAmountExcludingTax,
});