Package com.portal.app.ccare.comp
Interface PBestPricingBean
- All Known Implementing Classes:
PBestPricingBeanImpl
public interface PBestPricingBean
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncalculateBestPricing
(Poid acPoid) calculate on demand best pricing by calling SUBSCRIPTION_CALC_BEST_PRICING in CALC_ONLY mode.This method returns all the best pricing configured deals.getBestConfigDeal
(Poid dealObj) Used to to find out the configuration details of the selected dealboolean
hasBestDeal
(Poid accPoid) finds out if the current account has any best configured deal purchasedboolean
isBestDeal
(Poid dealPoid) Checks if the current deal is best configured deal.
-
Field Details
-
BASE_DEAL
- See Also:
-
ALT_DEALS
- See Also:
-
APPLY_MODE
- See Also:
-
SAVING_DATA
- See Also:
-
BEFORE_SAVING
- See Also:
-
-
Method Details
-
calculateBestPricing
calculate on demand best pricing by calling SUBSCRIPTION_CALC_BEST_PRICING in CALC_ONLY mode.- Parameters:
acPoid
- Account Poid- Returns:
- HashMap if successful, CustomerError if not
-
getBestConfigDeal
Used to to find out the configuration details of the selected deal- Parameters:
model
- the PModelHandle containing the selected deal.- Returns:
- PModelHandle containing the details of the configuration.
-
hasBestDeal
finds out if the current account has any best configured deal purchased- Parameters:
accPoid
- Poid- Returns:
- boolean
-
isBestDeal
Checks if the current deal is best configured deal. And stores into HashMap for future use.- Returns:
- true if deal is best configured else returns false
-
getAllBestDeals
ArrayList getAllBestDeals()This method returns all the best pricing configured deals.- Returns:
- ArrayList containing all the best pricing configured deals.
-