Package com.skava.payment.util
Class CommonUtilExtension
java.lang.Object
com.skava.payment.util.CommonUtilExtension
Common Util
- Since:
- 12-Dec-2019
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<PaymentPropertyEntity>
getadditionalProperties
(PaymentProcessor processor, PaymentEntity payment) Checking the provider master properties and collection provider properties and get "rewardType" property and return list of payment propertiessplitCommaSepratedString
(String commaSepratedString) Splits given string by ","
-
Constructor Details
-
CommonUtilExtension
protected CommonUtilExtension()Constructor
-
-
Method Details
-
getadditionalProperties
public static List<PaymentPropertyEntity> getadditionalProperties(PaymentProcessor processor, PaymentEntity payment) Checking the provider master properties and collection provider properties and get "rewardType" property and return list of payment properties- Parameters:
processor
- Payment processor of a third party service.payment
- Payment entity to set additional properties in it.- Returns:
- List of payment properties.
-
splitCommaSepratedString
Splits given string by ","- Parameters:
commaSepratedString
- Comma seperated string- Returns:
- List of Strings
-