copyWithWrapped method
WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemRequest
copyWithWrapped(
{ - Wrapped<String?>? physicalInventoryId,
- Wrapped<int?>? physicalItemId,
- Wrapped<String?>? inventoryId,
- Wrapped<String?>? assetId,
- Wrapped<String?>? code,
- Wrapped<String?>? trackedBy,
- Wrapped<double?>? quantity,
- Wrapped<bool?>? replace,
- Wrapped<String?>? consignorId,
- Wrapped<String?>? countedSpaceId,
})
Implementation
WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemRequest
copyWithWrapped(
{Wrapped<String?>? physicalInventoryId,
Wrapped<int?>? physicalItemId,
Wrapped<String?>? inventoryId,
Wrapped<String?>? assetId,
Wrapped<String?>? code,
Wrapped<String?>? trackedBy,
Wrapped<double?>? quantity,
Wrapped<bool?>? replace,
Wrapped<String?>? consignorId,
Wrapped<String?>? countedSpaceId}) {
return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemRequest(
physicalInventoryId: (physicalInventoryId != null
? physicalInventoryId.value
: this.physicalInventoryId),
physicalItemId: (physicalItemId != null
? physicalItemId.value
: this.physicalItemId),
inventoryId:
(inventoryId != null ? inventoryId.value : this.inventoryId),
assetId: (assetId != null ? assetId.value : this.assetId),
code: (code != null ? code.value : this.code),
trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
quantity: (quantity != null ? quantity.value : this.quantity),
replace: (replace != null ? replace.value : this.replace),
consignorId:
(consignorId != null ? consignorId.value : this.consignorId),
countedSpaceId: (countedSpaceId != null
? countedSpaceId.value
: this.countedSpaceId));
}