copyWith method

WebApiModulesReportsBillingBillingAnalysisReportBillingAnalysisReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? dateType,
  4. String? officeLocationId,
  5. String? customerId,
  6. String? dealId,
  7. String? projectId,
  8. String? agentId,
  9. String? orderId,
  10. List<FwStandardModelsSelectedCheckBoxListItem>? status,
  11. List<FwStandardModelsSelectedCheckBoxListItem>? includeFilter,
  12. List<FwStandardModelsSelectedCheckBoxListItem>? includeTaxFilter,
  13. bool? excludeOrdersBilledInTotal,
  14. bool? excludeZeroOrderTotal,
  15. bool? includeProjectStatus,
  16. bool? includeCreditsInvoiced,
  17. String? userDepartmentId,
  18. String? userLocationId,
  19. String? userWarehouseId,
  20. String? customReportLayoutId,
  21. bool? isSummary,
  22. bool? includeSubHeadingsAndSubTotals,
  23. bool? includeIdColumns,
  24. String? locale,
  25. List<FwStandardModelsCheckBoxListItem>? excelfields,
  26. String? reportName,
  27. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsBillingBillingAnalysisReportBillingAnalysisReportRequest
copyWith({
  DateTime? fromDate,
  DateTime? toDate,
  String? dateType,
  String? officeLocationId,
  String? customerId,
  String? dealId,
  String? projectId,
  String? agentId,
  String? orderId,
  List<FwStandardModelsSelectedCheckBoxListItem>? status,
  List<FwStandardModelsSelectedCheckBoxListItem>? includeFilter,
  List<FwStandardModelsSelectedCheckBoxListItem>? includeTaxFilter,
  bool? excludeOrdersBilledInTotal,
  bool? excludeZeroOrderTotal,
  bool? includeProjectStatus,
  bool? includeCreditsInvoiced,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsBillingBillingAnalysisReportBillingAnalysisReportRequest(
    fromDate: fromDate ?? this.fromDate,
    toDate: toDate ?? this.toDate,
    dateType: dateType ?? this.dateType,
    officeLocationId: officeLocationId ?? this.officeLocationId,
    customerId: customerId ?? this.customerId,
    dealId: dealId ?? this.dealId,
    projectId: projectId ?? this.projectId,
    agentId: agentId ?? this.agentId,
    orderId: orderId ?? this.orderId,
    status: status ?? this.status,
    includeFilter: includeFilter ?? this.includeFilter,
    includeTaxFilter: includeTaxFilter ?? this.includeTaxFilter,
    excludeOrdersBilledInTotal:
        excludeOrdersBilledInTotal ?? this.excludeOrdersBilledInTotal,
    excludeZeroOrderTotal:
        excludeZeroOrderTotal ?? this.excludeZeroOrderTotal,
    includeProjectStatus: includeProjectStatus ?? this.includeProjectStatus,
    includeCreditsInvoiced:
        includeCreditsInvoiced ?? this.includeCreditsInvoiced,
    userDepartmentId: userDepartmentId ?? this.userDepartmentId,
    userLocationId: userLocationId ?? this.userLocationId,
    userWarehouseId: userWarehouseId ?? this.userWarehouseId,
    customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
    isSummary: isSummary ?? this.isSummary,
    includeSubHeadingsAndSubTotals:
        includeSubHeadingsAndSubTotals ?? this.includeSubHeadingsAndSubTotals,
    includeIdColumns: includeIdColumns ?? this.includeIdColumns,
    locale: locale ?? this.locale,
    excelfields: excelfields ?? this.excelfields,
    reportName: reportName ?? this.reportName,
    useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate,
  );
}