Interface ATPResultHandler
-
- All Known Implementing Classes:
DefaultATPResultHandler
public interface ATPResultHandlerATP Result Handler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ATPAvailability>extractATPAvailabilityFromATPResponse(ATPResponse atp)Extracts the aggregated availability from the ATP response objectjava.util.List<ATPProductAvailability>extractATPProductAvailabilityFromATPBatchResponse(ATPBatchResponse atpBatch)Extracts the aggregated availability from the ATP product response object
-
-
-
Method Detail
-
extractATPAvailabilityFromATPResponse
java.util.List<ATPAvailability> extractATPAvailabilityFromATPResponse(ATPResponse atp)
Extracts the aggregated availability from the ATP response object- Parameters:
atp-- Returns:
- list of aggregated availability info for given product
- Throws:
ATPException
-
extractATPProductAvailabilityFromATPBatchResponse
java.util.List<ATPProductAvailability> extractATPProductAvailabilityFromATPBatchResponse(ATPBatchResponse atpBatch)
Extracts the aggregated availability from the ATP product response object- Parameters:
atpBatch-- Returns:
- list of aggregated availability info for a list of products
- Throws:
ATPException
-
-