
io.conekta.Token Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of conekta-java Show documentation
Show all versions of conekta-java Show documentation
This is a java library that allows interaction with https://api.conekta.io API.
The newest version!
package io.conekta;
import org.json.JSONObject;
/**
*
* @author mauricio
*/
public class Token extends Resource {
public Boolean livemode;
public Boolean used;
public Token(String id) {
super(id);
}
public Token() {
super();
}
public static Token find(String id) throws Error, ErrorList {
String className = Token.class.getCanonicalName();
return (Token) scpFind(className, id);
}
public static Token create(JSONObject params) throws Error, ErrorList {
String className = Token.class.getCanonicalName();
return (Token) scpCreate(className, params);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy