com.ibm.commerce.edp.config

Class RefundMappingService

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


  • public class RefundMappingService
    extends java.lang.Object
    The class represents the refund mapping service that stores the mapping from refund method to refundMethodConfiguration.
    • Constructor Summary

      Constructors 
      Constructor and Description
      RefundMappingService(java.lang.String paymentGroupName, java.lang.String refundMethod)
      This method is the constructor for PaymentMappingService.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getRefundMethodConfiguration()
      This method returns the refundMethodConfiguration of current refund method which stores the configuration of the refund method.
      java.lang.String getRefundMethodName()
      This method returns the refund method name.
      static boolean isRefundInstructionSupported(java.lang.String paymentGrpName, java.lang.String refundMethod)
      This method verifies if specified payment group and refund instruction is supported (configured).
      • Methods inherited from class java.lang.Object

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

      • RefundMappingService

        public RefundMappingService(java.lang.String paymentGroupName,
                                    java.lang.String refundMethod)
                             throws InvalidDataException
        This method is the constructor for PaymentMappingService.
        Parameters:
        paymentGroupName - The current payment group name
        refundMethod - The current refund method name
        Throws:
        InvalidDataException - In case of any input data error
    • Method Detail

      • getRefundMethodConfiguration

        public java.lang.String getRefundMethodConfiguration()
        This method returns the refundMethodConfiguration of current refund method which stores the configuration of the refund method.
        Returns:
        String The refundMethodConfiguration of current refund method
      • getRefundMethodName

        public java.lang.String getRefundMethodName()
        This method returns the refund method name.
        Returns:
        String The refund method name
      • isRefundInstructionSupported

        public static boolean isRefundInstructionSupported(java.lang.String paymentGrpName,
                                                           java.lang.String refundMethod)
        This method verifies if specified payment group and refund instruction is supported (configured).
        Parameters:
        paymentGrpName - The current payment group name
        refundMethod - The current refund method
        Returns:
        If the refund instruction is supported