Class TmaRetentionStrategy

    • Constructor Detail

      • TmaRetentionStrategy

        public TmaRetentionStrategy()
    • Method Detail

      • getOffersForDeviceOnly

        public java.util.List<TmaOfferData> getOffersForDeviceOnly​(java.lang.String productCode)
        Description copied from interface: TmaProcessFlowStrategy
        Returns product offers - when device is not in a BPO.
        Parameters:
        productCode - code of currently selected product
        Returns:
        List of TmaOfferData
      • getOffersForDeviceInBpo

        public java.util.List<TmaOfferData> getOffersForDeviceInBpo​(java.lang.String productCode,
                                                                    java.lang.String bpoCode,
                                                                    java.lang.String requiredProductCode)
        Description copied from interface: TmaProcessFlowStrategy
        Returns product offers - when device is in a BPO.
        Parameters:
        productCode - code of the product that is currently selected
        bpoCode - code of the bpo assigned to the main tariff service in CPI
        requiredProductCode - code of the product assigned to the main tariff service in CPI
        Returns:
        List of TmaOfferData
      • getOffersForDeviceInBpo

        public java.util.List<TmaOfferData> getOffersForDeviceInBpo​(java.lang.String productCode,
                                                                    java.lang.String bpoCode,
                                                                    java.util.Set<java.lang.String> requiredProductCodes)
        Description copied from interface: TmaProcessFlowStrategy
        Returns product offers - when device is in a BPO.
        Parameters:
        productCode - code of the product that is currently selected
        bpoCode - code of the bpo assigned to the main tariff service in CPI
        requiredProductCodes - codes of the products assigned to the main tariff services in CPI
        Returns:
        List of TmaOfferData
      • getOffers

        public java.util.List<TmaOfferData> getOffers​(TmaOfferContextData offerContextData)
        Description copied from interface: TmaProcessFlowStrategy
        Returns product offers filtered by parameters provided in offerContextData.
        Parameters:
        offerContextData - contains the parameters for the offer
        Returns:
        List of TmaOfferData