com.ibm.commerce.payments.plugin.simpleoffline.util

Class PaymentMethodsHelper

  • java.lang.Object
    • com.ibm.commerce.payments.plugin.simpleoffline.util.PaymentMethodsHelper


  • public class PaymentMethodsHelper
    extends java.lang.Object
    This class is a helper program to parse the configuration XML file of SimpleOffline plugin.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PaymentMethodsHelper()
      This constructor is not required since all the methods are static ones.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static boolean getKeepPendingStatus(java.lang.String paymentMethodname, java.lang.String paymentGroup)
      This method returns the keep pending status.
      static java.util.ArrayList getPaymentMethodProperties(java.lang.String paymentMethodName, java.lang.String paymentGroup)
      This method returns the payment method properties.
      static void init()
      This method is used to init the object .
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PaymentMethodsHelper

        public PaymentMethodsHelper()
        This constructor is not required since all the methods are static ones.
    • Method Detail

      • getKeepPendingStatus

        public static boolean getKeepPendingStatus(java.lang.String paymentMethodname,
                                                   java.lang.String paymentGroup)
        This method returns the keep pending status.
        Parameters:
        paymentMethodname - The payment method name.
        paymentGroup - The payment group.
        Returns:
        The keep pending status.
      • getPaymentMethodProperties

        public static java.util.ArrayList getPaymentMethodProperties(java.lang.String paymentMethodName,
                                                                     java.lang.String paymentGroup)
        This method returns the payment method properties.
        Parameters:
        paymentMethodName - The payment method name.
        paymentGroup - The payment group.
        Returns:
        The payment method properties.
      • init

        public static void init()
                         throws java.lang.Exception
        This method is used to init the object .
        Throws:
        java.lang.Exception - Thrown when fail.