copyWithWrapped method
WebApiModulesWarehouseCheckInCheckInItemsRequest
copyWithWrapped({
- Wrapped<
String?> ? contractId, - Wrapped<
String?> ? containerId, - Wrapped<
String?> ? containerItemId, - Wrapped<
String?> ? containerOutContractId, - Wrapped<
String?> ? dealId, - Wrapped<
String?> ? departmentId, - Wrapped<
String?> ? locationId, - Wrapped<
String?> ? moduleType, - Wrapped<
String?> ? contractType, - Wrapped<
String?> ? userWarehouseId, - Wrapped<
bool?> ? forceNewSession, - Wrapped<
List< ? items,WebApiModulesWarehouseCheckInCheckInItem> ?>
Implementation
WebApiModulesWarehouseCheckInCheckInItemsRequest copyWithWrapped(
{Wrapped<String?>? contractId,
Wrapped<String?>? containerId,
Wrapped<String?>? containerItemId,
Wrapped<String?>? containerOutContractId,
Wrapped<String?>? dealId,
Wrapped<String?>? departmentId,
Wrapped<String?>? locationId,
Wrapped<String?>? moduleType,
Wrapped<String?>? contractType,
Wrapped<String?>? userWarehouseId,
Wrapped<bool?>? forceNewSession,
Wrapped<List<WebApiModulesWarehouseCheckInCheckInItem>?>? items}) {
return WebApiModulesWarehouseCheckInCheckInItemsRequest(
contractId: (contractId != null ? contractId.value : this.contractId),
containerId:
(containerId != null ? containerId.value : this.containerId),
containerItemId: (containerItemId != null
? containerItemId.value
: this.containerItemId),
containerOutContractId: (containerOutContractId != null
? containerOutContractId.value
: this.containerOutContractId),
dealId: (dealId != null ? dealId.value : this.dealId),
departmentId:
(departmentId != null ? departmentId.value : this.departmentId),
locationId: (locationId != null ? locationId.value : this.locationId),
moduleType: (moduleType != null ? moduleType.value : this.moduleType),
contractType:
(contractType != null ? contractType.value : this.contractType),
userWarehouseId: (userWarehouseId != null
? userWarehouseId.value
: this.userWarehouseId),
forceNewSession: (forceNewSession != null
? forceNewSession.value
: this.forceNewSession),
items: (items != null ? items.value : this.items));
}