Filters out invalid Warehouse IDs (ex: Warehouse is deleted but mapping in Wayfair plugin UI was not manually removed by user) at lookup time in the WarehouseSupplierRepository module.
Note: a large amount of the changes is actually just me renaming local variables from mappingData to results to make the code more readable.
Filters out invalid Warehouse IDs (ex: Warehouse is deleted but mapping in Wayfair plugin UI was not manually removed by user) at lookup time in the
WarehouseSupplierRepository
module.Note: a large amount of the changes is actually just me renaming local variables from
mappingData
toresults
to make the code more readable.Also, adds some comments about the fact that we need to do more detailed filtering on the Warehouse for an order, as mentioned in https://github.com/wayfair-contribs/plentymarkets-plugin/issues/92.