copyWith method

WebApiModulesReportsBillingBillingStatementReportBillingStatementReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. bool? includeNoCharge,
  4. bool? includePaidInvoices,
  5. bool? includeZeroBalance,
  6. bool? paymentsThroughToday,
  7. bool? hidePaymentDetails,
  8. String? officeLocationId,
  9. String? dealStatusId,
  10. String? dealTypeId,
  11. String? customerId,
  12. String? dealId,
  13. String? userDepartmentId,
  14. String? userLocationId,
  15. String? userWarehouseId,
  16. String? customReportLayoutId,
  17. bool? isSummary,
  18. bool? includeSubHeadingsAndSubTotals,
  19. bool? includeIdColumns,
  20. String? locale,
  21. List<FwStandardModelsCheckBoxListItem>? excelfields,
  22. String? reportName,
  23. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsBillingBillingStatementReportBillingStatementReportRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        bool? includeNoCharge,
        bool? includePaidInvoices,
        bool? includeZeroBalance,
        bool? paymentsThroughToday,
        bool? hidePaymentDetails,
        String? officeLocationId,
        String? dealStatusId,
        String? dealTypeId,
        String? customerId,
        String? dealId,
        String? userDepartmentId,
        String? userLocationId,
        String? userWarehouseId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields,
        String? reportName,
        bool? useEmailTemplate}) {
  return WebApiModulesReportsBillingBillingStatementReportBillingStatementReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      includeNoCharge: includeNoCharge ?? this.includeNoCharge,
      includePaidInvoices: includePaidInvoices ?? this.includePaidInvoices,
      includeZeroBalance: includeZeroBalance ?? this.includeZeroBalance,
      paymentsThroughToday: paymentsThroughToday ?? this.paymentsThroughToday,
      hidePaymentDetails: hidePaymentDetails ?? this.hidePaymentDetails,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      dealStatusId: dealStatusId ?? this.dealStatusId,
      dealTypeId: dealTypeId ?? this.dealTypeId,
      customerId: customerId ?? this.customerId,
      dealId: dealId ?? this.dealId,
      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);
}