copyWithWrapped method

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

Implementation

WebApiModulesHomeControlsInvoiceOrderInvoiceOrder copyWithWrapped(
    {Wrapped<String?>? orderInvoiceId,
    Wrapped<String?>? orderNumber,
    Wrapped<String?>? orderDescription,
    Wrapped<String?>? orderNumberAndDescription,
    Wrapped<String?>? referenceNumber,
    Wrapped<String?>? location,
    Wrapped<String?>? orderLocation,
    Wrapped<String?>? officeLocation,
    Wrapped<String?>? department,
    Wrapped<String?>? agentId,
    Wrapped<String?>? agent,
    Wrapped<String?>? agentEmail,
    Wrapped<String?>? agentPhoneAndExtension,
    Wrapped<String?>? agentPhone,
    Wrapped<String?>? agentExtension,
    Wrapped<String?>? agentFax,
    Wrapped<String?>? projectManagerId,
    Wrapped<String?>? projectManager,
    Wrapped<String?>? projectManagerEmail,
    Wrapped<String?>? projectManagerPhoneAndExtension,
    Wrapped<String?>? projectManagerPhone,
    Wrapped<String?>? projectManagerExtension,
    Wrapped<String?>? projectManagerFax,
    Wrapped<String?>? estimatedStartDate,
    Wrapped<String?>? estimatedStopDate,
    Wrapped<String?>? estimatedStartTime,
    Wrapped<String?>? estimatedStopTime,
    Wrapped<String?>? billingStartDate,
    Wrapped<String?>? billingEndDate,
    Wrapped<String?>? billingStopDate,
    Wrapped<String?>? usageStartDate,
    Wrapped<String?>? usageStopDate,
    Wrapped<String?>? poNumber,
    Wrapped<String?>? purchaseOrderNumber,
    Wrapped<String?>? orderId,
    Wrapped<String?>? flatPoId,
    Wrapped<bool?>? excludeFromFlatPO,
    Wrapped<bool?>? billableFlat,
    Wrapped<String?>? invoiceId,
    Wrapped<double?>? summaryInvoiceOrderBy,
    Wrapped<double?>? rentalSubTotal,
    Wrapped<double?>? laborSubTotal,
    Wrapped<double?>? nonRentalSubTotal,
    Wrapped<double?>? orderInvoiceSubTotal,
    Wrapped<double?>? orderInvoiceTax,
    Wrapped<double?>? orderInvoiceTotal,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currencyCode,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? currency,
    Wrapped<String?>? orderBy,
    Wrapped<String?>? customerId,
    Wrapped<String?>? customer,
    Wrapped<String?>? customerNumber,
    Wrapped<String?>? customerEmail,
    Wrapped<String?>? dealId,
    Wrapped<String?>? deal,
    Wrapped<String?>? dealNumber,
    Wrapped<String?>? dealAndDealNumber,
    Wrapped<String?>? dealEmail,
    Wrapped<String?>? paymentTerms,
    Wrapped<bool?>? hasRecurring,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsInvoiceOrderInvoiceOrder(
      orderInvoiceId: (orderInvoiceId != null
          ? orderInvoiceId.value
          : this.orderInvoiceId),
      orderNumber:
          (orderNumber != null ? orderNumber.value : this.orderNumber),
      orderDescription: (orderDescription != null
          ? orderDescription.value
          : this.orderDescription),
      orderNumberAndDescription: (orderNumberAndDescription != null
          ? orderNumberAndDescription.value
          : this.orderNumberAndDescription),
      referenceNumber: (referenceNumber != null
          ? referenceNumber.value
          : this.referenceNumber),
      location: (location != null ? location.value : this.location),
      orderLocation:
          (orderLocation != null ? orderLocation.value : this.orderLocation),
      officeLocation: (officeLocation != null
          ? officeLocation.value
          : this.officeLocation),
      department: (department != null ? department.value : this.department),
      agentId: (agentId != null ? agentId.value : this.agentId),
      agent: (agent != null ? agent.value : this.agent),
      agentEmail: (agentEmail != null ? agentEmail.value : this.agentEmail),
      agentPhoneAndExtension: (agentPhoneAndExtension != null
          ? agentPhoneAndExtension.value
          : this.agentPhoneAndExtension),
      agentPhone: (agentPhone != null ? agentPhone.value : this.agentPhone),
      agentExtension: (agentExtension != null
          ? agentExtension.value
          : this.agentExtension),
      agentFax: (agentFax != null ? agentFax.value : this.agentFax),
      projectManagerId: (projectManagerId != null
          ? projectManagerId.value
          : this.projectManagerId),
      projectManager: (projectManager != null
          ? projectManager.value
          : this.projectManager),
      projectManagerEmail: (projectManagerEmail != null
          ? projectManagerEmail.value
          : this.projectManagerEmail),
      projectManagerPhoneAndExtension: (projectManagerPhoneAndExtension != null
          ? projectManagerPhoneAndExtension.value
          : this.projectManagerPhoneAndExtension),
      projectManagerPhone: (projectManagerPhone != null
          ? projectManagerPhone.value
          : this.projectManagerPhone),
      projectManagerExtension: (projectManagerExtension != null
          ? projectManagerExtension.value
          : this.projectManagerExtension),
      projectManagerFax: (projectManagerFax != null
          ? projectManagerFax.value
          : this.projectManagerFax),
      estimatedStartDate: (estimatedStartDate != null
          ? estimatedStartDate.value
          : this.estimatedStartDate),
      estimatedStopDate: (estimatedStopDate != null
          ? estimatedStopDate.value
          : this.estimatedStopDate),
      estimatedStartTime: (estimatedStartTime != null
          ? estimatedStartTime.value
          : this.estimatedStartTime),
      estimatedStopTime: (estimatedStopTime != null
          ? estimatedStopTime.value
          : this.estimatedStopTime),
      billingStartDate: (billingStartDate != null
          ? billingStartDate.value
          : this.billingStartDate),
      billingEndDate: (billingEndDate != null
          ? billingEndDate.value
          : this.billingEndDate),
      billingStopDate: (billingStopDate != null
          ? billingStopDate.value
          : this.billingStopDate),
      usageStartDate: (usageStartDate != null
          ? usageStartDate.value
          : this.usageStartDate),
      usageStopDate:
          (usageStopDate != null ? usageStopDate.value : this.usageStopDate),
      poNumber: (poNumber != null ? poNumber.value : this.poNumber),
      purchaseOrderNumber: (purchaseOrderNumber != null
          ? purchaseOrderNumber.value
          : this.purchaseOrderNumber),
      orderId: (orderId != null ? orderId.value : this.orderId),
      flatPoId: (flatPoId != null ? flatPoId.value : this.flatPoId),
      excludeFromFlatPO: (excludeFromFlatPO != null
          ? excludeFromFlatPO.value
          : this.excludeFromFlatPO),
      billableFlat:
          (billableFlat != null ? billableFlat.value : this.billableFlat),
      invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
      summaryInvoiceOrderBy: (summaryInvoiceOrderBy != null
          ? summaryInvoiceOrderBy.value
          : this.summaryInvoiceOrderBy),
      rentalSubTotal: (rentalSubTotal != null
          ? rentalSubTotal.value
          : this.rentalSubTotal),
      laborSubTotal:
          (laborSubTotal != null ? laborSubTotal.value : this.laborSubTotal),
      nonRentalSubTotal: (nonRentalSubTotal != null
          ? nonRentalSubTotal.value
          : this.nonRentalSubTotal),
      orderInvoiceSubTotal: (orderInvoiceSubTotal != null
          ? orderInvoiceSubTotal.value
          : this.orderInvoiceSubTotal),
      orderInvoiceTax: (orderInvoiceTax != null
          ? orderInvoiceTax.value
          : this.orderInvoiceTax),
      orderInvoiceTotal: (orderInvoiceTotal != null
          ? orderInvoiceTotal.value
          : this.orderInvoiceTotal),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      currencyCode:
          (currencyCode != null ? currencyCode.value : this.currencyCode),
      currencySymbol: (currencySymbol != null
          ? currencySymbol.value
          : this.currencySymbol),
      currency: (currency != null ? currency.value : this.currency),
      orderBy: (orderBy != null ? orderBy.value : this.orderBy),
      customerId: (customerId != null ? customerId.value : this.customerId),
      customer: (customer != null ? customer.value : this.customer),
      customerNumber: (customerNumber != null
          ? customerNumber.value
          : this.customerNumber),
      customerEmail:
          (customerEmail != null ? customerEmail.value : this.customerEmail),
      dealId: (dealId != null ? dealId.value : this.dealId),
      deal: (deal != null ? deal.value : this.deal),
      dealNumber: (dealNumber != null ? dealNumber.value : this.dealNumber),
      dealAndDealNumber: (dealAndDealNumber != null
          ? dealAndDealNumber.value
          : this.dealAndDealNumber),
      dealEmail: (dealEmail != null ? dealEmail.value : this.dealEmail),
      paymentTerms:
          (paymentTerms != null ? paymentTerms.value : this.paymentTerms),
      hasRecurring:
          (hasRecurring != null ? hasRecurring.value : this.hasRecurring),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}