copyWithWrapped method

WebApiModulesBillingInvoiceOrderInvoiceOrder 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?>? billingCycleEvent,
  34. Wrapped<String?>? poNumber,
  35. Wrapped<String?>? purchaseOrderNumber,
  36. Wrapped<String?>? orderId,
  37. Wrapped<String?>? flatPoId,
  38. Wrapped<bool?>? excludeFromFlatPO,
  39. Wrapped<bool?>? billableFlat,
  40. Wrapped<String?>? invoiceId,
  41. Wrapped<double?>? summaryInvoiceOrderBy,
  42. Wrapped<double?>? rentalSubTotal,
  43. Wrapped<double?>? laborSubTotal,
  44. Wrapped<double?>? nonRentalSubTotal,
  45. Wrapped<double?>? orderInvoiceSubTotal,
  46. Wrapped<double?>? orderInvoiceTax,
  47. Wrapped<double?>? orderInvoiceTotal,
  48. Wrapped<String?>? currencyId,
  49. Wrapped<String?>? currencyCode,
  50. Wrapped<String?>? currencySymbol,
  51. Wrapped<String?>? currency,
  52. Wrapped<String?>? orderBy,
  53. Wrapped<String?>? customerId,
  54. Wrapped<String?>? customer,
  55. Wrapped<String?>? customerNumber,
  56. Wrapped<String?>? customerEmail,
  57. Wrapped<String?>? dealId,
  58. Wrapped<String?>? deal,
  59. Wrapped<String?>? dealNumber,
  60. Wrapped<String?>? dealAndDealNumber,
  61. Wrapped<String?>? dealEmail,
  62. Wrapped<String?>? paymentTerms,
  63. Wrapped<bool?>? hasRecurring,
  64. Wrapped<String?>? auditNote,
  65. Wrapped<String?>? recordTitle,
  66. Wrapped? urlIdentifier,
  67. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  68. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  69. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  70. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  71. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  72. Wrapped<bool?>? hasImport,
  73. Wrapped<bool?>? hasDocuments,
  74. Wrapped<String?>? createdByUserId,
  75. Wrapped<String?>? createdByUserName,
  76. Wrapped<String?>? createdDateTime,
  77. Wrapped<String?>? modifiedByUserId,
  78. Wrapped<String?>? modifiedByUserName,
  79. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesBillingInvoiceOrderInvoiceOrder 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?>? billingCycleEvent,
  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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesBillingInvoiceOrderInvoiceOrder(
    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),
    billingCycleEvent: (billingCycleEvent != null
        ? billingCycleEvent.value
        : this.billingCycleEvent),
    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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}