InvoiceModel constructor

InvoiceModel({
  1. required String id,
  2. String dueDate = '',
  3. String? currency,
  4. Object? discountCents,
  5. String? email,
  6. int? itemsTotalCents,
  7. Object? notificationUrl,
  8. Object? returnUrl,
  9. String? status,
  10. Object? taxCents,
  11. String? updatedAt,
  12. int? totalCents,
  13. String? totalPaid,
  14. int? totalPaidCents,
  15. Object? paidAt,
  16. int? paidCents,
  17. String? paid,
  18. String? secureId,
  19. String? secureUrl,
  20. Object? customerId,
  21. Object? userId,
  22. String? total,
  23. String? taxesPaid,
  24. Object? interest,
  25. Object? discount,
  26. String? createdAt,
  27. Object? refundable,
  28. Object? installments,
  29. BankSlip? bankSlip,
  30. List<Item>? items,
  31. List<Variable>? variables,
  32. List<CustomVariables>? customVariables,
  33. bool? earlyPaymentDiscount,
  34. List<EarlyPaymentDiscounts>? earlyPaymentDiscounts,
  35. List<Logs>? logs,
})

Implementation

InvoiceModel({
  required this.id,
  this.dueDate = '',
  this.currency,
  this.discountCents,
  this.email,
  this.itemsTotalCents,
  this.notificationUrl,
  this.returnUrl,
  this.status,
  this.taxCents,
  this.updatedAt,
  this.totalCents,
  this.totalPaid,
  this.totalPaidCents,
  this.paidAt,
  this.paidCents,
  this.paid,
  this.secureId,
  this.secureUrl,
  this.customerId,
  this.userId,
  this.total,
  this.taxesPaid,
  this.interest,
  this.discount,
  this.createdAt,
  this.refundable,
  this.installments,
  this.bankSlip,
  this.items,
  this.variables,
  this.customVariables,
  this.earlyPaymentDiscount,
  this.earlyPaymentDiscounts,
  this.logs,
});