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

com.paymentwall.java.OneTimeToken Maven / Gradle / Ivy

Go to download

This library allows developers to use Paymentwall APIs (Virtual Currency, Digital Goods featuring recurring billing, and Virtual Cart).

There is a newer version: 2.0.4
Show newest version
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