copyWithWrapped method

WebApiModulesBillingBillingWorksheetBillingWorksheet copyWithWrapped({
  1. Wrapped<String?>? billingWorksheetId,
  2. Wrapped<String?>? worksheetNumber,
  3. Wrapped<String?>? worksheetDate,
  4. Wrapped<String?>? billingStartDate,
  5. Wrapped<String?>? billingEndDate,
  6. Wrapped<String?>? orderInvoiceId,
  7. Wrapped<String?>? orderId,
  8. Wrapped<String?>? orderNumber,
  9. Wrapped<String?>? orderDescription,
  10. Wrapped<String?>? orderDate,
  11. Wrapped<String?>? worksheetDescription,
  12. Wrapped<String?>? customerId,
  13. Wrapped<String?>? dealId,
  14. Wrapped<String?>? deal,
  15. Wrapped<String?>? dealNumber,
  16. Wrapped<String?>? departmentId,
  17. Wrapped<String?>? department,
  18. Wrapped<String?>? paymentTypeId,
  19. Wrapped<String?>? paymentType,
  20. Wrapped<String?>? paymentTermsId,
  21. Wrapped<String?>? paymentTerms,
  22. Wrapped<String?>? paymentTermsColor,
  23. Wrapped<String?>? taxId,
  24. Wrapped<String?>? taxOptionId,
  25. Wrapped<String?>? taxOption,
  26. Wrapped<String?>? tax1Name,
  27. Wrapped<String?>? tax2Name,
  28. Wrapped<String?>? rentalTaxAlias,
  29. Wrapped<String?>? salesTaxAlias,
  30. Wrapped<String?>? laborTaxAlias,
  31. Wrapped<double?>? rentalTaxRate1,
  32. Wrapped<double?>? salesTaxRate1,
  33. Wrapped<double?>? laborTaxRate1,
  34. Wrapped<double?>? rentalTaxRate2,
  35. Wrapped<double?>? salesTaxRate2,
  36. Wrapped<double?>? laborTaxRate2,
  37. Wrapped<String?>? purchaseOrderNumber,
  38. Wrapped<String?>? status,
  39. Wrapped<String?>? statusDate,
  40. Wrapped<bool?>? isNoCharge,
  41. Wrapped<bool?>? isAdjusted,
  42. Wrapped<bool?>? isBilledHiatus,
  43. Wrapped<bool?>? hasLockedTotal,
  44. Wrapped<bool?>? isAlteredDates,
  45. Wrapped<String?>? officeLocationId,
  46. Wrapped<String?>? officeLocation,
  47. Wrapped<String?>? inputByUserId,
  48. Wrapped<String?>? flatPoId,
  49. Wrapped<String?>? orderType,
  50. Wrapped<String?>? rateType,
  51. Wrapped<String?>? rateTypeDisplay,
  52. Wrapped<double?>? resultingInvoiceTotal,
  53. Wrapped<String?>? referenceNumber,
  54. Wrapped<String?>? agentId,
  55. Wrapped<String?>? agent,
  56. Wrapped<String?>? currencyId,
  57. Wrapped<String?>? currencyCode,
  58. Wrapped<String?>? officeLocationDefaultCurrencyId,
  59. Wrapped<String?>? outsideSalesRepresentativeId,
  60. Wrapped<String?>? usageStartDate,
  61. Wrapped<String?>? usageEndDate,
  62. Wrapped<String?>? resultingInvoiceNumber,
  63. Wrapped<String?>? resultingInvoiceId,
  64. Wrapped<double?>? rentalTotal,
  65. Wrapped<double?>? salesTotal,
  66. Wrapped<double?>? laborTotal,
  67. Wrapped<double?>? miscTotal,
  68. Wrapped<double?>? facilitiesTotal,
  69. Wrapped<double?>? worksheetGrossTotal,
  70. Wrapped<double?>? worksheetDiscountTotal,
  71. Wrapped<double?>? worksheetSubTotal,
  72. Wrapped<double?>? worksheetTax1,
  73. Wrapped<double?>? worksheetTax2,
  74. Wrapped<double?>? worksheetTax,
  75. Wrapped<double?>? worksheetTotal,
  76. Wrapped<String?>? auditNote,
  77. Wrapped<String?>? recordTitle,
  78. Wrapped? urlIdentifier,
  79. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  80. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  81. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  82. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  83. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  84. Wrapped<bool?>? hasImport,
  85. Wrapped<bool?>? hasDocuments,
  86. Wrapped<String?>? createdByUserId,
  87. Wrapped<String?>? createdByUserName,
  88. Wrapped<String?>? createdDateTime,
  89. Wrapped<String?>? modifiedByUserId,
  90. Wrapped<String?>? modifiedByUserName,
  91. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesBillingBillingWorksheetBillingWorksheet copyWithWrapped({
  Wrapped<String?>? billingWorksheetId,
  Wrapped<String?>? worksheetNumber,
  Wrapped<String?>? worksheetDate,
  Wrapped<String?>? billingStartDate,
  Wrapped<String?>? billingEndDate,
  Wrapped<String?>? orderInvoiceId,
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? orderDescription,
  Wrapped<String?>? orderDate,
  Wrapped<String?>? worksheetDescription,
  Wrapped<String?>? customerId,
  Wrapped<String?>? dealId,
  Wrapped<String?>? deal,
  Wrapped<String?>? dealNumber,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? department,
  Wrapped<String?>? paymentTypeId,
  Wrapped<String?>? paymentType,
  Wrapped<String?>? paymentTermsId,
  Wrapped<String?>? paymentTerms,
  Wrapped<String?>? paymentTermsColor,
  Wrapped<String?>? taxId,
  Wrapped<String?>? taxOptionId,
  Wrapped<String?>? taxOption,
  Wrapped<String?>? tax1Name,
  Wrapped<String?>? tax2Name,
  Wrapped<String?>? rentalTaxAlias,
  Wrapped<String?>? salesTaxAlias,
  Wrapped<String?>? laborTaxAlias,
  Wrapped<double?>? rentalTaxRate1,
  Wrapped<double?>? salesTaxRate1,
  Wrapped<double?>? laborTaxRate1,
  Wrapped<double?>? rentalTaxRate2,
  Wrapped<double?>? salesTaxRate2,
  Wrapped<double?>? laborTaxRate2,
  Wrapped<String?>? purchaseOrderNumber,
  Wrapped<String?>? status,
  Wrapped<String?>? statusDate,
  Wrapped<bool?>? isNoCharge,
  Wrapped<bool?>? isAdjusted,
  Wrapped<bool?>? isBilledHiatus,
  Wrapped<bool?>? hasLockedTotal,
  Wrapped<bool?>? isAlteredDates,
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? officeLocation,
  Wrapped<String?>? inputByUserId,
  Wrapped<String?>? flatPoId,
  Wrapped<String?>? orderType,
  Wrapped<String?>? rateType,
  Wrapped<String?>? rateTypeDisplay,
  Wrapped<double?>? resultingInvoiceTotal,
  Wrapped<String?>? referenceNumber,
  Wrapped<String?>? agentId,
  Wrapped<String?>? agent,
  Wrapped<String?>? currencyId,
  Wrapped<String?>? currencyCode,
  Wrapped<String?>? officeLocationDefaultCurrencyId,
  Wrapped<String?>? outsideSalesRepresentativeId,
  Wrapped<String?>? usageStartDate,
  Wrapped<String?>? usageEndDate,
  Wrapped<String?>? resultingInvoiceNumber,
  Wrapped<String?>? resultingInvoiceId,
  Wrapped<double?>? rentalTotal,
  Wrapped<double?>? salesTotal,
  Wrapped<double?>? laborTotal,
  Wrapped<double?>? miscTotal,
  Wrapped<double?>? facilitiesTotal,
  Wrapped<double?>? worksheetGrossTotal,
  Wrapped<double?>? worksheetDiscountTotal,
  Wrapped<double?>? worksheetSubTotal,
  Wrapped<double?>? worksheetTax1,
  Wrapped<double?>? worksheetTax2,
  Wrapped<double?>? worksheetTax,
  Wrapped<double?>? worksheetTotal,
  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 WebApiModulesBillingBillingWorksheetBillingWorksheet(
    billingWorksheetId: (billingWorksheetId != null
        ? billingWorksheetId.value
        : this.billingWorksheetId),
    worksheetNumber: (worksheetNumber != null
        ? worksheetNumber.value
        : this.worksheetNumber),
    worksheetDate: (worksheetDate != null
        ? worksheetDate.value
        : this.worksheetDate),
    billingStartDate: (billingStartDate != null
        ? billingStartDate.value
        : this.billingStartDate),
    billingEndDate: (billingEndDate != null
        ? billingEndDate.value
        : this.billingEndDate),
    orderInvoiceId: (orderInvoiceId != null
        ? orderInvoiceId.value
        : this.orderInvoiceId),
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    orderDescription: (orderDescription != null
        ? orderDescription.value
        : this.orderDescription),
    orderDate: (orderDate != null ? orderDate.value : this.orderDate),
    worksheetDescription: (worksheetDescription != null
        ? worksheetDescription.value
        : this.worksheetDescription),
    customerId: (customerId != null ? customerId.value : this.customerId),
    dealId: (dealId != null ? dealId.value : this.dealId),
    deal: (deal != null ? deal.value : this.deal),
    dealNumber: (dealNumber != null ? dealNumber.value : this.dealNumber),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    department: (department != null ? department.value : this.department),
    paymentTypeId: (paymentTypeId != null
        ? paymentTypeId.value
        : this.paymentTypeId),
    paymentType: (paymentType != null ? paymentType.value : this.paymentType),
    paymentTermsId: (paymentTermsId != null
        ? paymentTermsId.value
        : this.paymentTermsId),
    paymentTerms: (paymentTerms != null
        ? paymentTerms.value
        : this.paymentTerms),
    paymentTermsColor: (paymentTermsColor != null
        ? paymentTermsColor.value
        : this.paymentTermsColor),
    taxId: (taxId != null ? taxId.value : this.taxId),
    taxOptionId: (taxOptionId != null ? taxOptionId.value : this.taxOptionId),
    taxOption: (taxOption != null ? taxOption.value : this.taxOption),
    tax1Name: (tax1Name != null ? tax1Name.value : this.tax1Name),
    tax2Name: (tax2Name != null ? tax2Name.value : this.tax2Name),
    rentalTaxAlias: (rentalTaxAlias != null
        ? rentalTaxAlias.value
        : this.rentalTaxAlias),
    salesTaxAlias: (salesTaxAlias != null
        ? salesTaxAlias.value
        : this.salesTaxAlias),
    laborTaxAlias: (laborTaxAlias != null
        ? laborTaxAlias.value
        : this.laborTaxAlias),
    rentalTaxRate1: (rentalTaxRate1 != null
        ? rentalTaxRate1.value
        : this.rentalTaxRate1),
    salesTaxRate1: (salesTaxRate1 != null
        ? salesTaxRate1.value
        : this.salesTaxRate1),
    laborTaxRate1: (laborTaxRate1 != null
        ? laborTaxRate1.value
        : this.laborTaxRate1),
    rentalTaxRate2: (rentalTaxRate2 != null
        ? rentalTaxRate2.value
        : this.rentalTaxRate2),
    salesTaxRate2: (salesTaxRate2 != null
        ? salesTaxRate2.value
        : this.salesTaxRate2),
    laborTaxRate2: (laborTaxRate2 != null
        ? laborTaxRate2.value
        : this.laborTaxRate2),
    purchaseOrderNumber: (purchaseOrderNumber != null
        ? purchaseOrderNumber.value
        : this.purchaseOrderNumber),
    status: (status != null ? status.value : this.status),
    statusDate: (statusDate != null ? statusDate.value : this.statusDate),
    isNoCharge: (isNoCharge != null ? isNoCharge.value : this.isNoCharge),
    isAdjusted: (isAdjusted != null ? isAdjusted.value : this.isAdjusted),
    isBilledHiatus: (isBilledHiatus != null
        ? isBilledHiatus.value
        : this.isBilledHiatus),
    hasLockedTotal: (hasLockedTotal != null
        ? hasLockedTotal.value
        : this.hasLockedTotal),
    isAlteredDates: (isAlteredDates != null
        ? isAlteredDates.value
        : this.isAlteredDates),
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    officeLocation: (officeLocation != null
        ? officeLocation.value
        : this.officeLocation),
    inputByUserId: (inputByUserId != null
        ? inputByUserId.value
        : this.inputByUserId),
    flatPoId: (flatPoId != null ? flatPoId.value : this.flatPoId),
    orderType: (orderType != null ? orderType.value : this.orderType),
    rateType: (rateType != null ? rateType.value : this.rateType),
    rateTypeDisplay: (rateTypeDisplay != null
        ? rateTypeDisplay.value
        : this.rateTypeDisplay),
    resultingInvoiceTotal: (resultingInvoiceTotal != null
        ? resultingInvoiceTotal.value
        : this.resultingInvoiceTotal),
    referenceNumber: (referenceNumber != null
        ? referenceNumber.value
        : this.referenceNumber),
    agentId: (agentId != null ? agentId.value : this.agentId),
    agent: (agent != null ? agent.value : this.agent),
    currencyId: (currencyId != null ? currencyId.value : this.currencyId),
    currencyCode: (currencyCode != null
        ? currencyCode.value
        : this.currencyCode),
    officeLocationDefaultCurrencyId: (officeLocationDefaultCurrencyId != null
        ? officeLocationDefaultCurrencyId.value
        : this.officeLocationDefaultCurrencyId),
    outsideSalesRepresentativeId: (outsideSalesRepresentativeId != null
        ? outsideSalesRepresentativeId.value
        : this.outsideSalesRepresentativeId),
    usageStartDate: (usageStartDate != null
        ? usageStartDate.value
        : this.usageStartDate),
    usageEndDate: (usageEndDate != null
        ? usageEndDate.value
        : this.usageEndDate),
    resultingInvoiceNumber: (resultingInvoiceNumber != null
        ? resultingInvoiceNumber.value
        : this.resultingInvoiceNumber),
    resultingInvoiceId: (resultingInvoiceId != null
        ? resultingInvoiceId.value
        : this.resultingInvoiceId),
    rentalTotal: (rentalTotal != null ? rentalTotal.value : this.rentalTotal),
    salesTotal: (salesTotal != null ? salesTotal.value : this.salesTotal),
    laborTotal: (laborTotal != null ? laborTotal.value : this.laborTotal),
    miscTotal: (miscTotal != null ? miscTotal.value : this.miscTotal),
    facilitiesTotal: (facilitiesTotal != null
        ? facilitiesTotal.value
        : this.facilitiesTotal),
    worksheetGrossTotal: (worksheetGrossTotal != null
        ? worksheetGrossTotal.value
        : this.worksheetGrossTotal),
    worksheetDiscountTotal: (worksheetDiscountTotal != null
        ? worksheetDiscountTotal.value
        : this.worksheetDiscountTotal),
    worksheetSubTotal: (worksheetSubTotal != null
        ? worksheetSubTotal.value
        : this.worksheetSubTotal),
    worksheetTax1: (worksheetTax1 != null
        ? worksheetTax1.value
        : this.worksheetTax1),
    worksheetTax2: (worksheetTax2 != null
        ? worksheetTax2.value
        : this.worksheetTax2),
    worksheetTax: (worksheetTax != null
        ? worksheetTax.value
        : this.worksheetTax),
    worksheetTotal: (worksheetTotal != null
        ? worksheetTotal.value
        : this.worksheetTotal),
    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),
  );
}