KeckInvoice constructor

KeckInvoice({
  1. required String invoiceNumber,
  2. required DateTime invoiceDate,
  3. required DateTime serviceDateStart,
  4. DateTime? serviceDateEnd,
  5. required bool vatIncluded,
  6. required bool isTaxFree,
  7. required KeckInvoicePaymentMethode paymentMethod,
  8. required String company,
  9. required String customerName,
  10. required String customerPhone,
  11. required String customerAddressStreetName,
  12. required String customerAddressStreetNumber,
  13. required String customerAddressCountryCode,
  14. required String customerAddressZIP,
  15. required String customerAddressCity,
  16. int? payUntil,
  17. required String downloadUrl,
})

Implementation

KeckInvoice({
  required this.invoiceNumber,
  required this.invoiceDate,
  required this.serviceDateStart,
  this.serviceDateEnd,
  required this.vatIncluded,
  required this.isTaxFree,
  required this.paymentMethod,
  required this.company,
  required this.customerName,
  required this.customerPhone,
  required this.customerAddressStreetName,
  required this.customerAddressStreetNumber,
  required this.customerAddressCountryCode,
  required this.customerAddressZIP,
  required this.customerAddressCity,
  this.payUntil, // optional
  required this.downloadUrl
});