Interface TravelRestrictionService

All Known Implementing Classes:
DefaultTravelRestrictionService

public interface TravelRestrictionService
Service that exposes methods relevant to TravelRestriction
  • Method Details

    • getAddToCartCriteria

      AddToCartCriteriaType getAddToCartCriteria(ProductModel productModel)
      Returns the AddToCartCriteriaType for the given productModel. It retrieves the offerGroup of the product and returns its addToCartCriteria restriction if present, the default criteria otherwise.
      Parameters:
      productModel - the product model
      Returns:
      the AddToCartCriteriaType for the given product