copyWithWrapped method

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

Implementation

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