CreditNoteLineItem constructor

const CreditNoteLineItem({
  1. required int amount,
  2. int? amountExcludingTax,
  3. String? description,
  4. required int discountAmount,
  5. required List<DiscountsResourceDiscountAmount> discountAmounts,
  6. required String id,
  7. String? invoiceLineItem,
  8. required bool livemode,
  9. int? quantity,
  10. required List<CreditNoteTaxAmount> taxAmounts,
  11. required List<TaxRate> taxRates,
  12. required CreditNoteLineItemType type,
  13. int? unitAmount,
  14. String? unitAmountDecimal,
  15. 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,
});