BillingInvoice constructor

BillingInvoice({
  1. int? amountDue,
  2. int? amountPaid,
  3. int? attemptCount,
  4. String? createdAt,
  5. int? creditApplied,
  6. String? currency,
  7. String? customerEmail,
  8. int? discount,
  9. String? dueDate,
  10. String? id,
  11. List<InvoiceLineItem> lineItems = const [],
  12. int? number,
  13. String? numberStr,
  14. String? paidAt,
  15. String? paymentMethod,
  16. String? paymentRef,
  17. String? periodEnd,
  18. String? periodStart,
  19. String? status,
  20. String? subscriptionId,
  21. int? subtotal,
  22. int? tax,
  23. String? updatedAt,
  24. String? userId,
  25. String? voidedAt,
})

Returns a new BillingInvoice instance.

Implementation

BillingInvoice({
  this.amountDue,
  this.amountPaid,
  this.attemptCount,
  this.createdAt,
  this.creditApplied,
  this.currency,
  this.customerEmail,
  this.discount,
  this.dueDate,
  this.id,
  this.lineItems = const [],
  this.number,
  this.numberStr,
  this.paidAt,
  this.paymentMethod,
  this.paymentRef,
  this.periodEnd,
  this.periodStart,
  this.status,
  this.subscriptionId,
  this.subtotal,
  this.tax,
  this.updatedAt,
  this.userId,
  this.voidedAt,
});