copyWith method

WebApiModulesReportsOrderReportsOutgoingShippingLabelOutgoingShippingLabelRequest copyWith({
  1. String? orderId,
  2. String? transferId,
  3. String? itemId,
  4. String? weightInCase,
  5. bool? groupByShippingCase,
  6. String? userDepartmentId,
  7. String? userLocationId,
  8. String? userWarehouseId,
  9. String? customReportLayoutId,
  10. bool? isSummary,
  11. bool? includeSubHeadingsAndSubTotals,
  12. bool? includeIdColumns,
  13. String? locale,
  14. List<FwStandardModelsCheckBoxListItem>? excelfields,
  15. String? reportName,
  16. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderReportsOutgoingShippingLabelOutgoingShippingLabelRequest
copyWith({
  String? orderId,
  String? transferId,
  String? itemId,
  String? weightInCase,
  bool? groupByShippingCase,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsOrderReportsOutgoingShippingLabelOutgoingShippingLabelRequest(
    orderId: orderId ?? this.orderId,
    transferId: transferId ?? this.transferId,
    itemId: itemId ?? this.itemId,
    weightInCase: weightInCase ?? this.weightInCase,
    groupByShippingCase: groupByShippingCase ?? this.groupByShippingCase,
    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,
  );
}