copyWithWrapped method

WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest copyWithWrapped({
  1. Wrapped<DateTime?>? fromDate,
  2. Wrapped<DateTime?>? toDate,
  3. Wrapped<String?>? officeLocationId,
  4. Wrapped<String?>? glDistributionType,
  5. Wrapped<String?>? glAccountId,
  6. Wrapped<String?>? excludeGlAccountId,
  7. Wrapped<String?>? dealId,
  8. Wrapped<bool?>? isSomeDetail,
  9. Wrapped<bool?>? isFullDetail,
  10. Wrapped<String?>? userDepartmentId,
  11. Wrapped<String?>? userLocationId,
  12. Wrapped<String?>? userWarehouseId,
  13. Wrapped<String?>? customReportLayoutId,
  14. Wrapped<bool?>? isSummary,
  15. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  16. Wrapped<bool?>? includeIdColumns,
  17. Wrapped<String?>? locale,
  18. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  19. Wrapped<String?>? reportName,
  20. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest
copyWithWrapped({
  Wrapped<DateTime?>? fromDate,
  Wrapped<DateTime?>? toDate,
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? glDistributionType,
  Wrapped<String?>? glAccountId,
  Wrapped<String?>? excludeGlAccountId,
  Wrapped<String?>? dealId,
  Wrapped<bool?>? isSomeDetail,
  Wrapped<bool?>? isFullDetail,
  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 WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest(
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    toDate: (toDate != null ? toDate.value : this.toDate),
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    glDistributionType: (glDistributionType != null
        ? glDistributionType.value
        : this.glDistributionType),
    glAccountId: (glAccountId != null ? glAccountId.value : this.glAccountId),
    excludeGlAccountId: (excludeGlAccountId != null
        ? excludeGlAccountId.value
        : this.excludeGlAccountId),
    dealId: (dealId != null ? dealId.value : this.dealId),
    isSomeDetail: (isSomeDetail != null
        ? isSomeDetail.value
        : this.isSomeDetail),
    isFullDetail: (isFullDetail != null
        ? isFullDetail.value
        : this.isFullDetail),
    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),
  );
}