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?>? taxId,
  19. Wrapped<String?>? taxOptionId,
  20. Wrapped<String?>? taxOption,
  21. Wrapped<String?>? tax1Name,
  22. Wrapped<String?>? tax2Name,
  23. Wrapped<double?>? rentalTaxRate1,
  24. Wrapped<double?>? salesTaxRate1,
  25. Wrapped<double?>? laborTaxRate1,
  26. Wrapped<double?>? rentalTaxRate2,
  27. Wrapped<double?>? salesTaxRate2,
  28. Wrapped<double?>? laborTaxRate2,
  29. Wrapped<String?>? purchaseOrderNumber,
  30. Wrapped<String?>? status,
  31. Wrapped<String?>? statusDate,
  32. Wrapped<bool?>? isNoCharge,
  33. Wrapped<bool?>? isAdjusted,
  34. Wrapped<bool?>? isBilledHiatus,
  35. Wrapped<bool?>? hasLockedTotal,
  36. Wrapped<bool?>? isAlteredDates,
  37. Wrapped<String?>? officeLocationId,
  38. Wrapped<String?>? officeLocation,
  39. Wrapped<String?>? inputByUserId,
  40. Wrapped<String?>? flatPoId,
  41. Wrapped<String?>? orderType,
  42. Wrapped<String?>? rateType,
  43. Wrapped<String?>? rateTypeDisplay,
  44. Wrapped<double?>? resultingInvoiceTotal,
  45. Wrapped<String?>? referenceNumber,
  46. Wrapped<String?>? agentId,
  47. Wrapped<String?>? agent,
  48. Wrapped<String?>? currencyId,
  49. Wrapped<String?>? currencyCode,
  50. Wrapped<String?>? officeLocationDefaultCurrencyId,
  51. Wrapped<String?>? outsideSalesRepresentativeId,
  52. Wrapped<String?>? usageStartDate,
  53. Wrapped<String?>? usageEndDate,
  54. Wrapped<String?>? resultingInvoiceNumber,
  55. Wrapped<String?>? resultingInvoiceId,
  56. Wrapped<double?>? rentalTotal,
  57. Wrapped<double?>? salesTotal,
  58. Wrapped<double?>? facilitiesTotal,
  59. Wrapped<double?>? worksheetGrossTotal,
  60. Wrapped<double?>? worksheetDiscountTotal,
  61. Wrapped<double?>? worksheetSubTotal,
  62. Wrapped<double?>? worksheetTax1,
  63. Wrapped<double?>? worksheetTax2,
  64. Wrapped<double?>? worksheetTax,
  65. Wrapped<double?>? worksheetTotal,
  66. Wrapped<String?>? auditNote,
  67. Wrapped<String?>? recordTitle,
  68. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  69. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  70. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  71. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

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?>? taxId,
    Wrapped<String?>? taxOptionId,
    Wrapped<String?>? taxOption,
    Wrapped<String?>? tax1Name,
    Wrapped<String?>? tax2Name,
    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?>? 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<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  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),
      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),
      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),
      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),
      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));
}