copyWith method

WebApiModulesBillingInvoiceOrderInvoiceOrder copyWith({
  1. String? orderInvoiceId,
  2. String? orderNumber,
  3. String? orderDescription,
  4. String? orderNumberAndDescription,
  5. String? referenceNumber,
  6. String? location,
  7. String? orderLocation,
  8. String? officeLocation,
  9. String? department,
  10. String? agentId,
  11. String? agent,
  12. String? agentEmail,
  13. String? agentPhoneAndExtension,
  14. String? agentPhone,
  15. String? agentExtension,
  16. String? agentFax,
  17. String? projectManagerId,
  18. String? projectManager,
  19. String? projectManagerEmail,
  20. String? projectManagerPhoneAndExtension,
  21. String? projectManagerPhone,
  22. String? projectManagerExtension,
  23. String? projectManagerFax,
  24. String? estimatedStartDate,
  25. String? estimatedStopDate,
  26. String? estimatedStartTime,
  27. String? estimatedStopTime,
  28. String? billingStartDate,
  29. String? billingEndDate,
  30. String? billingStopDate,
  31. String? usageStartDate,
  32. String? usageStopDate,
  33. String? billingCycleEvent,
  34. String? poNumber,
  35. String? purchaseOrderNumber,
  36. String? orderId,
  37. String? flatPoId,
  38. bool? excludeFromFlatPO,
  39. bool? billableFlat,
  40. String? invoiceId,
  41. double? summaryInvoiceOrderBy,
  42. double? rentalSubTotal,
  43. double? laborSubTotal,
  44. double? nonRentalSubTotal,
  45. double? orderInvoiceSubTotal,
  46. double? orderInvoiceTax,
  47. double? orderInvoiceTotal,
  48. String? currencyId,
  49. String? currencyCode,
  50. String? currencySymbol,
  51. String? currency,
  52. String? orderBy,
  53. String? customerId,
  54. String? customer,
  55. String? customerNumber,
  56. String? customerEmail,
  57. String? dealId,
  58. String? deal,
  59. String? dealNumber,
  60. String? dealAndDealNumber,
  61. String? dealEmail,
  62. String? paymentTerms,
  63. bool? hasRecurring,
  64. String? auditNote,
  65. String? recordTitle,
  66. dynamic urlIdentifier,
  67. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  68. List<FwStandardDataFwCustomValue>? custom,
  69. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  70. FwStandardBusinessLogicFwBusinessLogic? original,
  71. List<FwStandardDataFwTranslatedValue>? translation,
  72. bool? hasImport,
  73. bool? hasDocuments,
  74. String? createdByUserId,
  75. String? createdByUserName,
  76. String? createdDateTime,
  77. String? modifiedByUserId,
  78. String? modifiedByUserName,
  79. String? modifiedDateTime,
})

Implementation

WebApiModulesBillingInvoiceOrderInvoiceOrder copyWith({
  String? orderInvoiceId,
  String? orderNumber,
  String? orderDescription,
  String? orderNumberAndDescription,
  String? referenceNumber,
  String? location,
  String? orderLocation,
  String? officeLocation,
  String? department,
  String? agentId,
  String? agent,
  String? agentEmail,
  String? agentPhoneAndExtension,
  String? agentPhone,
  String? agentExtension,
  String? agentFax,
  String? projectManagerId,
  String? projectManager,
  String? projectManagerEmail,
  String? projectManagerPhoneAndExtension,
  String? projectManagerPhone,
  String? projectManagerExtension,
  String? projectManagerFax,
  String? estimatedStartDate,
  String? estimatedStopDate,
  String? estimatedStartTime,
  String? estimatedStopTime,
  String? billingStartDate,
  String? billingEndDate,
  String? billingStopDate,
  String? usageStartDate,
  String? usageStopDate,
  String? billingCycleEvent,
  String? poNumber,
  String? purchaseOrderNumber,
  String? orderId,
  String? flatPoId,
  bool? excludeFromFlatPO,
  bool? billableFlat,
  String? invoiceId,
  double? summaryInvoiceOrderBy,
  double? rentalSubTotal,
  double? laborSubTotal,
  double? nonRentalSubTotal,
  double? orderInvoiceSubTotal,
  double? orderInvoiceTax,
  double? orderInvoiceTotal,
  String? currencyId,
  String? currencyCode,
  String? currencySymbol,
  String? currency,
  String? orderBy,
  String? customerId,
  String? customer,
  String? customerNumber,
  String? customerEmail,
  String? dealId,
  String? deal,
  String? dealNumber,
  String? dealAndDealNumber,
  String? dealEmail,
  String? paymentTerms,
  bool? hasRecurring,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesBillingInvoiceOrderInvoiceOrder(
    orderInvoiceId: orderInvoiceId ?? this.orderInvoiceId,
    orderNumber: orderNumber ?? this.orderNumber,
    orderDescription: orderDescription ?? this.orderDescription,
    orderNumberAndDescription:
        orderNumberAndDescription ?? this.orderNumberAndDescription,
    referenceNumber: referenceNumber ?? this.referenceNumber,
    location: location ?? this.location,
    orderLocation: orderLocation ?? this.orderLocation,
    officeLocation: officeLocation ?? this.officeLocation,
    department: department ?? this.department,
    agentId: agentId ?? this.agentId,
    agent: agent ?? this.agent,
    agentEmail: agentEmail ?? this.agentEmail,
    agentPhoneAndExtension:
        agentPhoneAndExtension ?? this.agentPhoneAndExtension,
    agentPhone: agentPhone ?? this.agentPhone,
    agentExtension: agentExtension ?? this.agentExtension,
    agentFax: agentFax ?? this.agentFax,
    projectManagerId: projectManagerId ?? this.projectManagerId,
    projectManager: projectManager ?? this.projectManager,
    projectManagerEmail: projectManagerEmail ?? this.projectManagerEmail,
    projectManagerPhoneAndExtension:
        projectManagerPhoneAndExtension ??
        this.projectManagerPhoneAndExtension,
    projectManagerPhone: projectManagerPhone ?? this.projectManagerPhone,
    projectManagerExtension:
        projectManagerExtension ?? this.projectManagerExtension,
    projectManagerFax: projectManagerFax ?? this.projectManagerFax,
    estimatedStartDate: estimatedStartDate ?? this.estimatedStartDate,
    estimatedStopDate: estimatedStopDate ?? this.estimatedStopDate,
    estimatedStartTime: estimatedStartTime ?? this.estimatedStartTime,
    estimatedStopTime: estimatedStopTime ?? this.estimatedStopTime,
    billingStartDate: billingStartDate ?? this.billingStartDate,
    billingEndDate: billingEndDate ?? this.billingEndDate,
    billingStopDate: billingStopDate ?? this.billingStopDate,
    usageStartDate: usageStartDate ?? this.usageStartDate,
    usageStopDate: usageStopDate ?? this.usageStopDate,
    billingCycleEvent: billingCycleEvent ?? this.billingCycleEvent,
    poNumber: poNumber ?? this.poNumber,
    purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
    orderId: orderId ?? this.orderId,
    flatPoId: flatPoId ?? this.flatPoId,
    excludeFromFlatPO: excludeFromFlatPO ?? this.excludeFromFlatPO,
    billableFlat: billableFlat ?? this.billableFlat,
    invoiceId: invoiceId ?? this.invoiceId,
    summaryInvoiceOrderBy:
        summaryInvoiceOrderBy ?? this.summaryInvoiceOrderBy,
    rentalSubTotal: rentalSubTotal ?? this.rentalSubTotal,
    laborSubTotal: laborSubTotal ?? this.laborSubTotal,
    nonRentalSubTotal: nonRentalSubTotal ?? this.nonRentalSubTotal,
    orderInvoiceSubTotal: orderInvoiceSubTotal ?? this.orderInvoiceSubTotal,
    orderInvoiceTax: orderInvoiceTax ?? this.orderInvoiceTax,
    orderInvoiceTotal: orderInvoiceTotal ?? this.orderInvoiceTotal,
    currencyId: currencyId ?? this.currencyId,
    currencyCode: currencyCode ?? this.currencyCode,
    currencySymbol: currencySymbol ?? this.currencySymbol,
    currency: currency ?? this.currency,
    orderBy: orderBy ?? this.orderBy,
    customerId: customerId ?? this.customerId,
    customer: customer ?? this.customer,
    customerNumber: customerNumber ?? this.customerNumber,
    customerEmail: customerEmail ?? this.customerEmail,
    dealId: dealId ?? this.dealId,
    deal: deal ?? this.deal,
    dealNumber: dealNumber ?? this.dealNumber,
    dealAndDealNumber: dealAndDealNumber ?? this.dealAndDealNumber,
    dealEmail: dealEmail ?? this.dealEmail,
    paymentTerms: paymentTerms ?? this.paymentTerms,
    hasRecurring: hasRecurring ?? this.hasRecurring,
    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,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}