copyWithWrapped method

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

Implementation

WebApiModulesReportsBillingBillingStatementReportBillingStatementReportRequest
    copyWithWrapped(
        {Wrapped<DateTime?>? fromDate,
        Wrapped<DateTime?>? toDate,
        Wrapped<bool?>? includeNoCharge,
        Wrapped<bool?>? includePaidInvoices,
        Wrapped<bool?>? includeZeroBalance,
        Wrapped<bool?>? paymentsThroughToday,
        Wrapped<bool?>? hidePaymentDetails,
        Wrapped<String?>? officeLocationId,
        Wrapped<String?>? dealStatusId,
        Wrapped<String?>? dealTypeId,
        Wrapped<String?>? customerId,
        Wrapped<String?>? dealId,
        Wrapped<String?>? userDepartmentId,
        Wrapped<String?>? userLocationId,
        Wrapped<String?>? userWarehouseId,
        Wrapped<String?>? customReportLayoutId,
        Wrapped<bool?>? isSummary,
        Wrapped<bool?>? includeSubHeadingsAndSubTotals,
        Wrapped<bool?>? includeIdColumns,
        Wrapped<String?>? locale,
        Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
        Wrapped<String?>? reportName,
        Wrapped<bool?>? useEmailTemplate}) {
  return WebApiModulesReportsBillingBillingStatementReportBillingStatementReportRequest(
      fromDate: (fromDate != null ? fromDate.value : this.fromDate),
      toDate: (toDate != null ? toDate.value : this.toDate),
      includeNoCharge: (includeNoCharge != null
          ? includeNoCharge.value
          : this.includeNoCharge),
      includePaidInvoices: (includePaidInvoices != null
          ? includePaidInvoices.value
          : this.includePaidInvoices),
      includeZeroBalance: (includeZeroBalance != null
          ? includeZeroBalance.value
          : this.includeZeroBalance),
      paymentsThroughToday: (paymentsThroughToday != null
          ? paymentsThroughToday.value
          : this.paymentsThroughToday),
      hidePaymentDetails: (hidePaymentDetails != null
          ? hidePaymentDetails.value
          : this.hidePaymentDetails),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      dealStatusId:
          (dealStatusId != null ? dealStatusId.value : this.dealStatusId),
      dealTypeId: (dealTypeId != null ? dealTypeId.value : this.dealTypeId),
      customerId: (customerId != null ? customerId.value : this.customerId),
      dealId: (dealId != null ? dealId.value : this.dealId),
      userDepartmentId: (userDepartmentId != null
          ? userDepartmentId.value
          : this.userDepartmentId),
      userLocationId: (userLocationId != null
          ? userLocationId.value
          : this.userLocationId),
      userWarehouseId: (userWarehouseId != null
          ? userWarehouseId.value
          : this.userWarehouseId),
      customReportLayoutId: (customReportLayoutId != null
          ? customReportLayoutId.value
          : this.customReportLayoutId),
      isSummary: (isSummary != null ? isSummary.value : this.isSummary),
      includeSubHeadingsAndSubTotals: (includeSubHeadingsAndSubTotals != null
          ? includeSubHeadingsAndSubTotals.value
          : this.includeSubHeadingsAndSubTotals),
      includeIdColumns: (includeIdColumns != null
          ? includeIdColumns.value
          : this.includeIdColumns),
      locale: (locale != null ? locale.value : this.locale),
      excelfields:
          (excelfields != null ? excelfields.value : this.excelfields),
      reportName: (reportName != null ? reportName.value : this.reportName),
      useEmailTemplate: (useEmailTemplate != null
          ? useEmailTemplate.value
          : this.useEmailTemplate));
}