com.ibm.commerce.payments.plugin.punchout.util

Class PunchoutPaymentCommandUtil

  • java.lang.Object
    • com.ibm.commerce.payments.plugin.punchout.util.PunchoutPaymentCommandUtil


  • public class PunchoutPaymentCommandUtil
    extends java.lang.Object
    This is the utility class used by the commands of punch-out payment.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.List getPunchoutPolicies(java.lang.Integer storeId)
      This method gets all punch-out payment policies of the current store.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • getPunchoutPolicies

        public static java.util.List getPunchoutPolicies(java.lang.Integer storeId)
                                                  throws ECException
        This method gets all punch-out payment policies of the current store. if punchout is configured as true in the properties of the payment policy, then this payment policy is regarded as the punch-out payment policy.
        Parameters:
        storeId - Current store ID.
        Returns:
        all punch-out payment policies of the current store. Each element is a BusinessPolicyRegistryEntry object.
        Throws:
        ECException - in case of any exceptional situations