com.bandwidth.iris.sdk.model.LnpChecker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bandwidth-java-iris-sdk Show documentation
Show all versions of bandwidth-java-iris-sdk Show documentation
Java SDK for use with the IRIS API.
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;
}
}