Class CommonUtilExtension

java.lang.Object
com.skava.payment.util.CommonUtilExtension

public class CommonUtilExtension extends Object
Common Util
Since:
12-Dec-2019
Author:
Infosys Equinox
  • 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

      public static List<String> splitCommaSepratedString(String commaSepratedString)
      Splits given string by ","
      Parameters:
      commaSepratedString - Comma seperated string
      Returns:
      List of Strings