br.com.moip.api.PlugPagTokenAPI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Moip v2 APIs
package br.com.moip.api;
import br.com.moip.Client;
import br.com.moip.response.PlugPagTokenResponse;
public class PlugPagTokenAPI {
private final Client client;
public PlugPagTokenAPI(final Client client) {
this.client = client;
}
public PlugPagTokenResponse get() {
return client.get("/gapi/mpos/token", PlugPagTokenResponse.class);
}
}