Package com.skava.payment.utils
Class PaymentUtil
java.lang.Object
com.skava.payment.utils.PaymentUtil
The Class PaymentUtil.
This class is used for handling common payment related functionality- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisCardExpired(Payment payment) To check whether credit card is expired or notstatic voidvalidateCardExpiry(org.apache.camel.Exchange exchange) validateCardExpiry To check whether credit card is expired or not
-
Method Details
-
isCardExpired
To check whether credit card is expired or not- Parameters:
payment- payment- Returns:
- boolean value
-
validateCardExpiry
public static void validateCardExpiry(org.apache.camel.Exchange exchange) validateCardExpiry To check whether credit card is expired or not- Parameters:
exchange- camel exchange info
-