com.ibm.commerce.edp.config

Class PaymentMappingService

  • java.lang.Object
    • com.ibm.commerce.edp.config.PaymentMappingService


  • public class PaymentMappingService
    extends java.lang.Object
    This class is designed to provide payment mapping service.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PaymentMappingService(java.lang.String paymentGroupName, java.lang.String paymentMethodName)
      The constructor for PaymentMappingService.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getPaymentActionRuleName()
      This method returns the name of payment action rule this payment method.
      java.lang.String getPaymentMethodConfiguration()
      This method returns payment method configuration such as CreditCard
      java.lang.String getPaymentMethodName()
      This method returns payment method name.
      • Methods inherited from class java.lang.Object

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

      • PaymentMappingService

        public PaymentMappingService(java.lang.String paymentGroupName,
                                     java.lang.String paymentMethodName)
                              throws InvalidDataException
        The constructor for PaymentMappingService.
        Parameters:
        paymentGroupName - A String value of payment group id
        paymentMethodName - A String value of payment method, sample value VISA
        Throws:
        InvalidDataException - Invalid input parameter value, for example null value
    • Method Detail

      • getPaymentActionRuleName

        public java.lang.String getPaymentActionRuleName()
        This method returns the name of payment action rule this payment method. mapped to. For example, the value could be Early Validation.
        Returns:
        A String name of payment action rule
      • getPaymentMethodConfiguration

        public java.lang.String getPaymentMethodConfiguration()
        This method returns payment method configuration such as CreditCard
        Returns:
        A String value of payment method configuration
      • getPaymentMethodName

        public java.lang.String getPaymentMethodName()
        This method returns payment method name.

        valid values such as VISA, AMEX

        Returns:
        The payment method name