copyWith method

WebApiModulesBillingBillingWorksheetBillingWorksheet copyWith({
  1. String? billingWorksheetId,
  2. String? worksheetNumber,
  3. String? worksheetDate,
  4. String? billingStartDate,
  5. String? billingEndDate,
  6. String? orderInvoiceId,
  7. String? orderId,
  8. String? orderNumber,
  9. String? orderDescription,
  10. String? orderDate,
  11. String? worksheetDescription,
  12. String? customerId,
  13. String? dealId,
  14. String? deal,
  15. String? dealNumber,
  16. String? departmentId,
  17. String? department,
  18. String? taxId,
  19. String? taxOptionId,
  20. String? taxOption,
  21. String? tax1Name,
  22. String? tax2Name,
  23. double? rentalTaxRate1,
  24. double? salesTaxRate1,
  25. double? laborTaxRate1,
  26. double? rentalTaxRate2,
  27. double? salesTaxRate2,
  28. double? laborTaxRate2,
  29. String? purchaseOrderNumber,
  30. String? status,
  31. String? statusDate,
  32. bool? isNoCharge,
  33. bool? isAdjusted,
  34. bool? isBilledHiatus,
  35. bool? hasLockedTotal,
  36. bool? isAlteredDates,
  37. String? officeLocationId,
  38. String? officeLocation,
  39. String? inputByUserId,
  40. String? flatPoId,
  41. String? orderType,
  42. String? rateType,
  43. String? rateTypeDisplay,
  44. double? resultingInvoiceTotal,
  45. String? referenceNumber,
  46. String? agentId,
  47. String? agent,
  48. String? currencyId,
  49. String? currencyCode,
  50. String? officeLocationDefaultCurrencyId,
  51. String? outsideSalesRepresentativeId,
  52. String? usageStartDate,
  53. String? usageEndDate,
  54. String? resultingInvoiceNumber,
  55. String? resultingInvoiceId,
  56. double? rentalTotal,
  57. double? salesTotal,
  58. double? facilitiesTotal,
  59. double? worksheetGrossTotal,
  60. double? worksheetDiscountTotal,
  61. double? worksheetSubTotal,
  62. double? worksheetTax1,
  63. double? worksheetTax2,
  64. double? worksheetTax,
  65. double? worksheetTotal,
  66. String? auditNote,
  67. String? recordTitle,
  68. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  69. List<FwStandardDataFwCustomValue>? custom,
  70. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  71. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesBillingBillingWorksheetBillingWorksheet copyWith(
    {String? billingWorksheetId,
    String? worksheetNumber,
    String? worksheetDate,
    String? billingStartDate,
    String? billingEndDate,
    String? orderInvoiceId,
    String? orderId,
    String? orderNumber,
    String? orderDescription,
    String? orderDate,
    String? worksheetDescription,
    String? customerId,
    String? dealId,
    String? deal,
    String? dealNumber,
    String? departmentId,
    String? department,
    String? taxId,
    String? taxOptionId,
    String? taxOption,
    String? tax1Name,
    String? tax2Name,
    double? rentalTaxRate1,
    double? salesTaxRate1,
    double? laborTaxRate1,
    double? rentalTaxRate2,
    double? salesTaxRate2,
    double? laborTaxRate2,
    String? purchaseOrderNumber,
    String? status,
    String? statusDate,
    bool? isNoCharge,
    bool? isAdjusted,
    bool? isBilledHiatus,
    bool? hasLockedTotal,
    bool? isAlteredDates,
    String? officeLocationId,
    String? officeLocation,
    String? inputByUserId,
    String? flatPoId,
    String? orderType,
    String? rateType,
    String? rateTypeDisplay,
    double? resultingInvoiceTotal,
    String? referenceNumber,
    String? agentId,
    String? agent,
    String? currencyId,
    String? currencyCode,
    String? officeLocationDefaultCurrencyId,
    String? outsideSalesRepresentativeId,
    String? usageStartDate,
    String? usageEndDate,
    String? resultingInvoiceNumber,
    String? resultingInvoiceId,
    double? rentalTotal,
    double? salesTotal,
    double? facilitiesTotal,
    double? worksheetGrossTotal,
    double? worksheetDiscountTotal,
    double? worksheetSubTotal,
    double? worksheetTax1,
    double? worksheetTax2,
    double? worksheetTax,
    double? worksheetTotal,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesBillingBillingWorksheetBillingWorksheet(
      billingWorksheetId: billingWorksheetId ?? this.billingWorksheetId,
      worksheetNumber: worksheetNumber ?? this.worksheetNumber,
      worksheetDate: worksheetDate ?? this.worksheetDate,
      billingStartDate: billingStartDate ?? this.billingStartDate,
      billingEndDate: billingEndDate ?? this.billingEndDate,
      orderInvoiceId: orderInvoiceId ?? this.orderInvoiceId,
      orderId: orderId ?? this.orderId,
      orderNumber: orderNumber ?? this.orderNumber,
      orderDescription: orderDescription ?? this.orderDescription,
      orderDate: orderDate ?? this.orderDate,
      worksheetDescription: worksheetDescription ?? this.worksheetDescription,
      customerId: customerId ?? this.customerId,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      dealNumber: dealNumber ?? this.dealNumber,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      taxId: taxId ?? this.taxId,
      taxOptionId: taxOptionId ?? this.taxOptionId,
      taxOption: taxOption ?? this.taxOption,
      tax1Name: tax1Name ?? this.tax1Name,
      tax2Name: tax2Name ?? this.tax2Name,
      rentalTaxRate1: rentalTaxRate1 ?? this.rentalTaxRate1,
      salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
      laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
      rentalTaxRate2: rentalTaxRate2 ?? this.rentalTaxRate2,
      salesTaxRate2: salesTaxRate2 ?? this.salesTaxRate2,
      laborTaxRate2: laborTaxRate2 ?? this.laborTaxRate2,
      purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
      status: status ?? this.status,
      statusDate: statusDate ?? this.statusDate,
      isNoCharge: isNoCharge ?? this.isNoCharge,
      isAdjusted: isAdjusted ?? this.isAdjusted,
      isBilledHiatus: isBilledHiatus ?? this.isBilledHiatus,
      hasLockedTotal: hasLockedTotal ?? this.hasLockedTotal,
      isAlteredDates: isAlteredDates ?? this.isAlteredDates,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      officeLocation: officeLocation ?? this.officeLocation,
      inputByUserId: inputByUserId ?? this.inputByUserId,
      flatPoId: flatPoId ?? this.flatPoId,
      orderType: orderType ?? this.orderType,
      rateType: rateType ?? this.rateType,
      rateTypeDisplay: rateTypeDisplay ?? this.rateTypeDisplay,
      resultingInvoiceTotal:
          resultingInvoiceTotal ?? this.resultingInvoiceTotal,
      referenceNumber: referenceNumber ?? this.referenceNumber,
      agentId: agentId ?? this.agentId,
      agent: agent ?? this.agent,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      officeLocationDefaultCurrencyId: officeLocationDefaultCurrencyId ??
          this.officeLocationDefaultCurrencyId,
      outsideSalesRepresentativeId:
          outsideSalesRepresentativeId ?? this.outsideSalesRepresentativeId,
      usageStartDate: usageStartDate ?? this.usageStartDate,
      usageEndDate: usageEndDate ?? this.usageEndDate,
      resultingInvoiceNumber:
          resultingInvoiceNumber ?? this.resultingInvoiceNumber,
      resultingInvoiceId: resultingInvoiceId ?? this.resultingInvoiceId,
      rentalTotal: rentalTotal ?? this.rentalTotal,
      salesTotal: salesTotal ?? this.salesTotal,
      facilitiesTotal: facilitiesTotal ?? this.facilitiesTotal,
      worksheetGrossTotal: worksheetGrossTotal ?? this.worksheetGrossTotal,
      worksheetDiscountTotal:
          worksheetDiscountTotal ?? this.worksheetDiscountTotal,
      worksheetSubTotal: worksheetSubTotal ?? this.worksheetSubTotal,
      worksheetTax1: worksheetTax1 ?? this.worksheetTax1,
      worksheetTax2: worksheetTax2 ?? this.worksheetTax2,
      worksheetTax: worksheetTax ?? this.worksheetTax,
      worksheetTotal: worksheetTotal ?? this.worksheetTotal,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}