copyWith method

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWith({
  1. int? 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. double? fee,
  13. double? totalWithFee,
  14. bool? receiptId,
  15. String? invoiceType,
  16. double? applied,
  17. double? amount,
  18. double? due,
  19. String? customerId,
  20. String? customer,
  21. String? officeLocationId,
  22. String? departmentId,
  23. String? currencyId,
  24. String? currencyCode,
  25. String? currencySymbol,
  26. String? auditNote,
  27. String? recordTitle,
  28. dynamic urlIdentifier,
  29. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  30. List<FwStandardDataFwCustomValue>? custom,
  31. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  32. FwStandardBusinessLogicFwBusinessLogic? original,
  33. List<FwStandardDataFwTranslatedValue>? translation,
  34. bool? hasImport,
  35. String? createdByUserId,
  36. String? createdByUserName,
  37. String? createdDateTime,
  38. String? modifiedByUserId,
  39. String? modifiedByUserName,
  40. String? modifiedDateTime,
})

Implementation

WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWith({
  int? invoiceReceiptId,
  String? invoiceId,
  String? invoiceNumber,
  String? invoiceDate,
  String? description,
  String? status,
  String? orderId,
  String? orderNumber,
  String? dealId,
  String? deal,
  double? total,
  double? fee,
  double? totalWithFee,
  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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    fee: fee ?? this.fee,
    totalWithFee: totalWithFee ?? this.totalWithFee,
    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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}