Package com.skava.subscription.process
Class ValidateSubscriptionThresholdProcess
java.lang.Object
com.skava.subscription.process.ValidateSubscriptionThresholdProcess
The Class ValidateSubscriptionThresholdProcess
This class is used to validate subscription threshold
- Version:
- 8.13.7
- Author:
- Infosys Equinox
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSusbcriptionThreshold
(String property, String date) This is used to get subscription thresholdlong
This method is used to get total count of subscriptions based on order processing datelong
This method is used to get total count of subscriptions based on order processing datevoid
validateThreshold
(Map<String, Object> thresholdMap, Long totalCount) This method is used to validate threshold
-
Constructor Details
-
ValidateSubscriptionThresholdProcess
public ValidateSubscriptionThresholdProcess()
-
-
Method Details
-
validateThreshold
This method is used to validate threshold- Parameters:
thresholdMap
- thresholdMaptotalCount
- totalCount
-
getTotalCount
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
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
This is used to get subscription threshold- Parameters:
property
- propertydate
- date- Returns:
- thresholdMap
-