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

jp.webpay.api.Accessor Maven / Gradle / Ivy

package jp.webpay.api;

abstract class Accessor {
    protected final WebPayClient client;

    protected Accessor(WebPayClient client) {
        this.client = client;
    }

    protected void assertId(String id) {
        if (id == null || id.isEmpty()) {
            throw new IllegalArgumentException("The given ID is empty");
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy