Class ValidateSubscriptionThresholdProcess

java.lang.Object
com.skava.subscription.process.ValidateSubscriptionThresholdProcess

@Component public class ValidateSubscriptionThresholdProcess extends Object

The Class ValidateSubscriptionThresholdProcess

This class is used to validate subscription threshold

Version:
8.13.7
Author:
Infosys Equinox
See Also:
  • Constructor Details

    • ValidateSubscriptionThresholdProcess

      public ValidateSubscriptionThresholdProcess()
  • Method Details

    • validateThreshold

      public void validateThreshold(Map<String,Object> thresholdMap, Long totalCount)
      This method is used to validate threshold
      Parameters:
      thresholdMap - thresholdMap
      totalCount - totalCount
    • getTotalCount

      public long getTotalCount(SubscriptionPreferenceDataPatchRequest request)
      This method is used to get total count of subscriptions based on order processing date
      Parameters:
      request - - holds the data patch requests
      Returns:
      total count of subscriptions
    • getTotalCountSubscription

      public long getTotalCountSubscription(SubscriptionDomain request)
      This method is used to get total count of subscriptions based on order processing date
      Parameters:
      request - - holds the data patch requests
      Returns:
      total count of subscriptions
    • getSusbcriptionThreshold

      public Map<String,Object> getSusbcriptionThreshold(String property, String date)
      This is used to get subscription threshold
      Parameters:
      property - property
      date - date
      Returns:
      thresholdMap