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