public class RefundMappingService
extends java.lang.Object
Constructor and Description |
---|
RefundMappingService(java.lang.String paymentGroupName,
java.lang.String refundMethod)
This method is the constructor for PaymentMappingService.
|
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).
|
public RefundMappingService(java.lang.String paymentGroupName, java.lang.String refundMethod) throws InvalidDataException
paymentGroupName
- The current payment group namerefundMethod
- The current refund method nameInvalidDataException
- In case of any input data errorpublic java.lang.String getRefundMethodConfiguration()
public java.lang.String getRefundMethodName()
public static boolean isRefundInstructionSupported(java.lang.String paymentGrpName, java.lang.String refundMethod)
paymentGrpName
- The current payment group namerefundMethod
- The current refund method