
com.paymentwall.java.OneTimeToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paymentwall-java Show documentation
Show all versions of paymentwall-java Show documentation
This library allows developers to use Paymentwall APIs (Virtual Currency, Digital Goods featuring recurring billing, and Virtual Cart).
package com.paymentwall.java;
public class OneTimeToken extends ApiObject {
public OneTimeToken() {}
public OneTimeToken(String id) {
super(id);
}
public String getToken() { return get(PROP_TOKEN); }
public boolean isTest() { return getAsBoolean(PROP_ISTEST); }
public boolean isActive() { return getAsBoolean(PROP_ISACTIVE); }
public int getExpirationTime() { return getAsInt(PROP_EXPIRATION); }
public String getEndpointName() { return API_OBJECT_ONE_TIME_TOKEN; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy