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

io.github.carlosthe19916.webservices.wrappers.BillConsultServiceWrapper Maven / Gradle / Ivy

There is a newer version: 1.3.4.Final
Show newest version
package io.github.carlosthe19916.webservices.wrappers;

import io.github.carlosthe19916.webservices.factories.ServiceFactory;

public class BillConsultServiceWrapper {

    private BillConsultServiceWrapper() {
        // Just static methods
    }

    public static service.sunat.gob.pe.billconsultservice.StatusResponse getStatus(
            ServiceConfig config,
            String ruc,
            String tipo,
            String serie,
            int numero) {

        service.sunat.gob.pe.billconsultservice.BillService billService = ServiceFactory.getInstance(service.sunat.gob.pe.billconsultservice.BillService.class, config);
        return billService.getStatus(ruc, tipo, serie, numero);
    }

    public static service.sunat.gob.pe.billconsultservice.StatusResponse getStatusCdr(
            ServiceConfig config,
            String ruc,
            String tipo,
            String serie,
            int numero) {

        service.sunat.gob.pe.billconsultservice.BillService billService = ServiceFactory.getInstance(service.sunat.gob.pe.billconsultservice.BillService.class, config);
        return billService.getStatusCdr(ruc, tipo, serie, numero);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy