copyWith method

WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest copyWith({
  1. String? invoiceId,
  2. bool? rollUpPeriods,
  3. bool? printZeroExtended,
  4. String? userDepartmentId,
  5. String? userLocationId,
  6. String? userWarehouseId,
  7. String? customReportLayoutId,
  8. bool? isSummary,
  9. bool? includeSubHeadingsAndSubTotals,
  10. bool? includeIdColumns,
  11. String? locale,
  12. List<FwStandardModelsCheckBoxListItem>? excelfields,
  13. String? reportName,
  14. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest copyWith(
    {String? invoiceId,
    bool? rollUpPeriods,
    bool? printZeroExtended,
    String? userDepartmentId,
    String? userLocationId,
    String? userWarehouseId,
    String? customReportLayoutId,
    bool? isSummary,
    bool? includeSubHeadingsAndSubTotals,
    bool? includeIdColumns,
    String? locale,
    List<FwStandardModelsCheckBoxListItem>? excelfields,
    String? reportName,
    bool? useEmailTemplate}) {
  return WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest(
      invoiceId: invoiceId ?? this.invoiceId,
      rollUpPeriods: rollUpPeriods ?? this.rollUpPeriods,
      printZeroExtended: printZeroExtended ?? this.printZeroExtended,
      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);
}