All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cl.transbank.common.IntegrationTypeHelper Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
package cl.transbank.common;

public class IntegrationTypeHelper {
    public static String getWebpayIntegrationType(IntegrationType integrationType){
        switch(integrationType){
            case LIVE:
                return "https://webpay3g.transbank.cl";
            case MOCK:
                return "";
            case TEST:
                return "https://webpay3gint.transbank.cl";

        }
        return "https://webpay3gint.transbank.cl";
    }
    public static String getPatpassIntegrationType(IntegrationType integrationType){
        switch(integrationType){
            case LIVE:
                return "https://www.pagoautomaticocontarjetas.cl";
            case MOCK:
                return "";
            case TEST:
                return "https://pagoautomaticocontarjetasint.transbank.cl";
        }
        return "";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy