package org.meveo.service.script;

import org.meveo.admin.exception.BusinessException;

import java.util.Map;


public class DummyPaymentGatewayScript extends Script {

    private static final String ERROR_MESSAGE
            = "Dummy gateway for SEPA files generation (For now, its only purpose is to store rejection codes. Please continue to use DD requests for SEPA files)";
    @Override
    public void execute(Map<String, Object> context) throws BusinessException {
        throw new BusinessException(ERROR_MESSAGE);
    }
}