InvoiceModel constructor
InvoiceModel({
- required String id,
- String dueDate = '',
- String? currency,
- Object? discountCents,
- String? email,
- int? itemsTotalCents,
- Object? notificationUrl,
- Object? returnUrl,
- String? status,
- Object? taxCents,
- String? updatedAt,
- int? totalCents,
- String? totalPaid,
- int? totalPaidCents,
- Object? paidAt,
- int? paidCents,
- String? paid,
- String? secureId,
- String? secureUrl,
- Object? customerId,
- Object? userId,
- String? total,
- String? taxesPaid,
- Object? interest,
- Object? discount,
- String? createdAt,
- Object? refundable,
- Object? installments,
- BankSlip? bankSlip,
- List<
Item> ? items, - List<
Variable> ? variables, - List<
CustomVariables> ? customVariables, - bool? earlyPaymentDiscount,
- List<
EarlyPaymentDiscounts> ? earlyPaymentDiscounts, - 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,
});