Interface FutureStockFacade

    • Method Detail

      • getFutureAvailability

        java.util.List<FutureStockData> getFutureAvailability​(java.lang.String productCode)
        Gets the future product availability for the specified product, for each future date.
        Parameters:
        productCode - the product code
        Returns:
        A list of quantity ordered by date. If there is no availability for this product in the future, an empty list is returned.
      • getFutureAvailability

        java.util.Map<java.lang.String,​java.util.List<FutureStockData>> getFutureAvailability​(java.util.List<java.lang.String> productCodes)
        Gets the future product availability for the list of specified products, for each future date.
        Parameters:
        productCodes - the product codes
        Returns:
        A map of product codes with a list of quantity ordered by date.
      • getFutureAvailabilityForSelectedVariants

        java.util.Map<java.lang.String,​java.util.List<FutureStockData>> getFutureAvailabilityForSelectedVariants​(java.lang.String productCode,
                                                                                                                       java.util.List<java.lang.String> skus)
        Gets the future product availability for the list of specified variants related to a given product.
        Parameters:
        productCode - the product code
        skus - Product codes of the desired variants related to the productCode.
        Returns:
        A map of product codes with a list of quantity ordered by date. If product is not variant, returns null.