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? paymentTypeId,
  19. String? paymentType,
  20. String? paymentTermsId,
  21. String? paymentTerms,
  22. String? paymentTermsColor,
  23. String? taxId,
  24. String? taxOptionId,
  25. String? taxOption,
  26. String? tax1Name,
  27. String? tax2Name,
  28. String? rentalTaxAlias,
  29. String? salesTaxAlias,
  30. String? laborTaxAlias,
  31. double? rentalTaxRate1,
  32. double? salesTaxRate1,
  33. double? laborTaxRate1,
  34. double? rentalTaxRate2,
  35. double? salesTaxRate2,
  36. double? laborTaxRate2,
  37. String? purchaseOrderNumber,
  38. String? status,
  39. String? statusDate,
  40. bool? isNoCharge,
  41. bool? isAdjusted,
  42. bool? isBilledHiatus,
  43. bool? hasLockedTotal,
  44. bool? isAlteredDates,
  45. String? officeLocationId,
  46. String? officeLocation,
  47. String? inputByUserId,
  48. String? flatPoId,
  49. String? orderType,
  50. String? rateType,
  51. String? rateTypeDisplay,
  52. double? resultingInvoiceTotal,
  53. String? referenceNumber,
  54. String? agentId,
  55. String? agent,
  56. String? currencyId,
  57. String? currencyCode,
  58. String? officeLocationDefaultCurrencyId,
  59. String? outsideSalesRepresentativeId,
  60. String? usageStartDate,
  61. String? usageEndDate,
  62. String? resultingInvoiceNumber,
  63. String? resultingInvoiceId,
  64. double? rentalTotal,
  65. double? salesTotal,
  66. double? laborTotal,
  67. double? miscTotal,
  68. double? facilitiesTotal,
  69. double? worksheetGrossTotal,
  70. double? worksheetDiscountTotal,
  71. double? worksheetSubTotal,
  72. double? worksheetTax1,
  73. double? worksheetTax2,
  74. double? worksheetTax,
  75. double? worksheetTotal,
  76. String? auditNote,
  77. String? recordTitle,
  78. dynamic urlIdentifier,
  79. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  80. List<FwStandardDataFwCustomValue>? custom,
  81. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  82. FwStandardBusinessLogicFwBusinessLogic? original,
  83. List<FwStandardDataFwTranslatedValue>? translation,
  84. bool? hasImport,
  85. bool? hasDocuments,
  86. String? createdByUserId,
  87. String? createdByUserName,
  88. String? createdDateTime,
  89. String? modifiedByUserId,
  90. String? modifiedByUserName,
  91. String? modifiedDateTime,
})

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? paymentTypeId,
  String? paymentType,
  String? paymentTermsId,
  String? paymentTerms,
  String? paymentTermsColor,
  String? taxId,
  String? taxOptionId,
  String? taxOption,
  String? tax1Name,
  String? tax2Name,
  String? rentalTaxAlias,
  String? salesTaxAlias,
  String? laborTaxAlias,
  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? laborTotal,
  double? miscTotal,
  double? facilitiesTotal,
  double? worksheetGrossTotal,
  double? worksheetDiscountTotal,
  double? worksheetSubTotal,
  double? worksheetTax1,
  double? worksheetTax2,
  double? worksheetTax,
  double? worksheetTotal,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    paymentTypeId: paymentTypeId ?? this.paymentTypeId,
    paymentType: paymentType ?? this.paymentType,
    paymentTermsId: paymentTermsId ?? this.paymentTermsId,
    paymentTerms: paymentTerms ?? this.paymentTerms,
    paymentTermsColor: paymentTermsColor ?? this.paymentTermsColor,
    taxId: taxId ?? this.taxId,
    taxOptionId: taxOptionId ?? this.taxOptionId,
    taxOption: taxOption ?? this.taxOption,
    tax1Name: tax1Name ?? this.tax1Name,
    tax2Name: tax2Name ?? this.tax2Name,
    rentalTaxAlias: rentalTaxAlias ?? this.rentalTaxAlias,
    salesTaxAlias: salesTaxAlias ?? this.salesTaxAlias,
    laborTaxAlias: laborTaxAlias ?? this.laborTaxAlias,
    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,
    laborTotal: laborTotal ?? this.laborTotal,
    miscTotal: miscTotal ?? this.miscTotal,
    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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}