copyWith method
WebApiModulesAgentScheduleBarCodeReservationDataRequest
copyWith({
- String? inventoryId,
- String? warehouseId,
- String? regionId,
- DateTime? start,
- DateTime? end,
- bool? includeHours,
- bool? yearView,
- String? sortReservationsBy,
- bool? excludeConsigned,
- bool? consignedOnly,
- String? departmentId,
- String? dealId,
- String? orderId,
- String? consignorId,
- List<
String> ? filterReservationsBy, - bool? includeUnreserved,
Implementation
WebApiModulesAgentScheduleBarCodeReservationDataRequest copyWith(
{String? inventoryId,
String? warehouseId,
String? regionId,
DateTime? start,
DateTime? end,
bool? includeHours,
bool? yearView,
String? sortReservationsBy,
bool? excludeConsigned,
bool? consignedOnly,
String? departmentId,
String? dealId,
String? orderId,
String? consignorId,
List<String>? filterReservationsBy,
bool? includeUnreserved}) {
return WebApiModulesAgentScheduleBarCodeReservationDataRequest(
inventoryId: inventoryId ?? this.inventoryId,
warehouseId: warehouseId ?? this.warehouseId,
regionId: regionId ?? this.regionId,
start: start ?? this.start,
end: end ?? this.end,
includeHours: includeHours ?? this.includeHours,
yearView: yearView ?? this.yearView,
sortReservationsBy: sortReservationsBy ?? this.sortReservationsBy,
excludeConsigned: excludeConsigned ?? this.excludeConsigned,
consignedOnly: consignedOnly ?? this.consignedOnly,
departmentId: departmentId ?? this.departmentId,
dealId: dealId ?? this.dealId,
orderId: orderId ?? this.orderId,
consignorId: consignorId ?? this.consignorId,
filterReservationsBy: filterReservationsBy ?? this.filterReservationsBy,
includeUnreserved: includeUnreserved ?? this.includeUnreserved);
}