Interface PBestPricingBean

All Known Implementing Classes:
PBestPricingBeanImpl

public interface PBestPricingBean
  • Field Details

  • Method Details

    • calculateBestPricing

      Object calculateBestPricing(Poid acPoid)
      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

      HashMap getBestConfigDeal(Poid dealObj)
      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

      boolean hasBestDeal(Poid accPoid)
      finds out if the current account has any best configured deal purchased
      Parameters:
      accPoid - Poid
      Returns:
      boolean
    • isBestDeal

      boolean isBestDeal(Poid dealPoid)
      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.