copyWith method

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

Implementation

WebApiModulesReportsBillingBillingStatementReportBillingStatementReportRequest
copyWith({
  DateTime? fromDate,
  DateTime? toDate,
  bool? includeNoCharge,
  bool? includePaidInvoices,
  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,
    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,
  );
}