Invoice constructor

Invoice({
  1. String? orderId,
  2. int? version,
  3. String? locationId,
  4. String? id,
  5. String? timezone,
  6. String? createdAt,
  7. InvoiceStatus? status,
  8. String? description,
  9. String? updatedAt,
  10. String? title,
  11. InvoiceAcceptedPaymentMethods? acceptedPaymentMethods,
  12. List<InvoiceCustomField>? customFields,
  13. String? deliveryMethod,
  14. String? invoiceNumber,
  15. Money? nextPaymentAmountMoney,
  16. String? paymentConditions,
  17. List<InvoicePaymentRequest>? paymentRequests,
  18. InvoiceRecipient? primaryRecipient,
  19. String? publicUrl,
  20. String? saleOrServiceDate,
  21. String? scheduledAt,
  22. String? subscriptionId,
})

Implementation

Invoice(
    {this.orderId,
    this.version,
    this.locationId,
    this.id,
    this.timezone,
    this.createdAt,
    this.status,
    this.description,
    this.updatedAt,
    this.title,
    this.acceptedPaymentMethods,
    this.customFields,
    this.deliveryMethod,
    this.invoiceNumber,
    this.nextPaymentAmountMoney,
    this.paymentConditions,
    this.paymentRequests,
    this.primaryRecipient,
    this.publicUrl,
    this.saleOrServiceDate,
    this.scheduledAt,
    this.subscriptionId});