public class PBestPricingBeanImpl extends Object implements PBestPricingBean
ALT_DEALS, APPLY_MODE, BASE_DEAL, BEFORE_SAVING, SAVING_DATA
Modifier and Type | Method and Description |
---|---|
Object |
calculateBestPricing(Poid acPoid)
calculate on demand best pricing by calling SUBSCRIPTION_CALC_BEST_PRICING
in CALC_ONLY mode.
|
ArrayList |
getAllBestDeals()
This method returns all the best pricing configured deals.
|
HashMap |
getBestConfigDeal(Poid dealObj)
Used to to find out the configuration details of the selected deal
|
static PBestPricingBean |
getBestPricingController()
maintains single instance through out all classes that uses this class
|
boolean |
hasBestDeal(Poid accPoid)
finds out if the current account has any best configured deal purchased
|
boolean |
isBestDeal(Poid dealPoid)
Checks if the current deal is best configured deal.
|
public static PBestPricingBean getBestPricingController()
public boolean isBestDeal(Poid dealPoid)
isBestDeal
in interface PBestPricingBean
RemoteException
public ArrayList getAllBestDeals()
getAllBestDeals
in interface PBestPricingBean
public HashMap getBestConfigDeal(Poid dealObj)
getBestConfigDeal
in interface PBestPricingBean
model
- the PModelHandle containing the selected deal.public Object calculateBestPricing(Poid acPoid)
calculateBestPricing
in interface PBestPricingBean
acPoid
- Account PoidRemoteException
public boolean hasBestDeal(Poid accPoid)
hasBestDeal
in interface PBestPricingBean
accPoid
- PoidCopyright © 2003, 2023, Oracle and/or its affiliates.