copyWithWrapped method

WebApiModulesReportsOrderReportsOutgoingShippingLabelOutgoingShippingLabelRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? customReportLayoutId,
  3. Wrapped<bool?>? isSummary,
  4. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  5. Wrapped<bool?>? includeIdColumns,
  6. Wrapped<String?>? locale,
  7. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
})

Implementation

WebApiModulesReportsOrderReportsOutgoingShippingLabelOutgoingShippingLabelRequest
    copyWithWrapped(
        {Wrapped<String?>? orderId,
        Wrapped<String?>? customReportLayoutId,
        Wrapped<bool?>? isSummary,
        Wrapped<bool?>? includeSubHeadingsAndSubTotals,
        Wrapped<bool?>? includeIdColumns,
        Wrapped<String?>? locale,
        Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields}) {
  return WebApiModulesReportsOrderReportsOutgoingShippingLabelOutgoingShippingLabelRequest(
      orderId: (orderId != null ? orderId.value : this.orderId),
      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));
}