copyWith method

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWith({
  1. String? invoiceReceiptId,
  2. String? invoiceId,
  3. String? invoiceNumber,
  4. String? invoiceDate,
  5. String? description,
  6. String? status,
  7. String? orderId,
  8. String? orderNumber,
  9. String? dealId,
  10. String? deal,
  11. double? total,
  12. bool? receiptId,
  13. String? invoiceType,
  14. double? applied,
  15. double? amount,
  16. double? due,
  17. String? customerId,
  18. String? customer,
  19. String? officeLocationId,
  20. String? departmentId,
  21. String? currencyId,
  22. String? currencyCode,
  23. String? currencySymbol,
  24. String? auditNote,
  25. String? recordTitle,
  26. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  27. List<FwStandardDataFwCustomValue>? custom,
  28. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  29. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWith(
    {String? invoiceReceiptId,
    String? invoiceId,
    String? invoiceNumber,
    String? invoiceDate,
    String? description,
    String? status,
    String? orderId,
    String? orderNumber,
    String? dealId,
    String? deal,
    double? total,
    bool? receiptId,
    String? invoiceType,
    double? applied,
    double? amount,
    double? due,
    String? customerId,
    String? customer,
    String? officeLocationId,
    String? departmentId,
    String? currencyId,
    String? currencyCode,
    String? currencySymbol,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice(
      invoiceReceiptId: invoiceReceiptId ?? this.invoiceReceiptId,
      invoiceId: invoiceId ?? this.invoiceId,
      invoiceNumber: invoiceNumber ?? this.invoiceNumber,
      invoiceDate: invoiceDate ?? this.invoiceDate,
      description: description ?? this.description,
      status: status ?? this.status,
      orderId: orderId ?? this.orderId,
      orderNumber: orderNumber ?? this.orderNumber,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      total: total ?? this.total,
      receiptId: receiptId ?? this.receiptId,
      invoiceType: invoiceType ?? this.invoiceType,
      applied: applied ?? this.applied,
      amount: amount ?? this.amount,
      due: due ?? this.due,
      customerId: customerId ?? this.customerId,
      customer: customer ?? this.customer,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      departmentId: departmentId ?? this.departmentId,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}