Class OfferListingController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.b2ctelcoaddon.controllers.misc.OfferListingController
@Controller("OffersController")
@RequestMapping("/offers")
public class OfferListingController
extends AbstractController
Controller for product offers listed on product details page.
- Since:
- 6.7
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TmaCustomerFacadegetOffers(String processType, String affectedProductCode, String bpoCode, String subscriberIdentities, org.springframework.ui.Model model) protected TmaPriceOrganizationServiceprotected TmaProductOfferFacadeMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
Constructor Details
-
OfferListingController
public OfferListingController()
-
-
Method Details
-
getOffers
@RequestMapping(value="/{processType}/{affectedProductCode}", method=GET) public String getOffers(@PathVariable String processType, @PathVariable String affectedProductCode, @RequestParam(required=false) String bpoCode, @RequestParam(required=false) String subscriberIdentities, org.springframework.ui.Model model) - Parameters:
processType- type of the process (RETENTION, TARIFF_CHANGE, etc.)affectedProductCode- code of current product from product details pagebpoCode- bpo from CPI subscriptionsubscriberIdentities- subscription identitiesmodel- page model- Returns:
- retention offer panel
-
getTmaProductOfferFacade
-
getCustomerFacade
-
getTmaPriceOrganizationService
-