CreditNote constructor

CreditNote({
  1. String? id,
  2. String? object,
  3. int? amount,
  4. int? created,
  5. String? currency,
  6. dynamic customer,
  7. dynamic customerBalanceTransaction,
  8. int? discountAmount,
  9. dynamic invoice,
  10. CreditNoteLines? lines,
  11. bool? livemode,
  12. String? memo,
  13. Map<String, dynamic>? metadata,
  14. String? number,
  15. int? outOfBandAmount,
  16. String? pdf,
  17. String? reason,
  18. dynamic refund,
  19. String? status,
  20. int? subtotal,
  21. List<TaxAmount>? taxAmounts,
  22. int? total,
  23. String? type,
  24. int? voidedAt,
})

Implementation

CreditNote({
  this.id,
  this.object,
  this.amount,
  this.created,
  this.currency,
  this.customer,
  this.customerBalanceTransaction,
  this.discountAmount,
  this.invoice,
  this.lines,
  this.livemode,
  this.memo,
  this.metadata,
  this.number,
  this.outOfBandAmount,
  this.pdf,
  this.reason,
  this.refund,
  this.status,
  this.subtotal,
  this.taxAmounts,
  this.total,
  this.type,
  this.voidedAt,
});