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

com.bandwidth.iris.sdk.model.LnpChecker Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
package com.bandwidth.iris.sdk.model;

import com.bandwidth.iris.sdk.IrisClient;
import com.bandwidth.iris.sdk.IrisPath;

import java.util.HashMap;
import java.util.Map;

public class LnpChecker {

    public static NumberPortabilityResponse checkLnp(IrisClient client,
            NumberPortabilityRequest request, String fullCheck) throws Exception {

        Map query = new HashMap();
        query.put("fullCheck", fullCheck);
        NumberPortabilityResponse numberPortabilityResponse = client.post(client.buildAccountModelUri(
                IrisPath.LNPCHECKER_URI_PATH, query), request, NumberPortabilityResponse.class);
        return numberPortabilityResponse;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy