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

pl.rspective.voucherify.client.Constants Maven / Gradle / Ivy

Go to download

Voucherify-java-sdk is a Java client (can be used in Android application as well) which was created to simplify integration with Voucherify backend (http://www.voucherify.io)

There is a newer version: 4.2.0
Show newest version
package pl.rspective.voucherify.client;

/**
 * Holds all constants for voucherify java client
 */
public final class Constants {

    // HTTP constants
    public static final String SCHEME_HTTP = "http";
    public static final String SCHEME_HTTPS = "https";
    public static final String HTTP_HEADER_APP_ID = "X-App-Id";
    public static final String HTTP_HEADER_APP_TOKEN = "X-App-Token";
    public static final String HTTP_HEADER_VOUCHERIFY_CHANNEL = "X-Voucherify-Channel";
    public static final String VOUCHERIFY_CHANNEL_NAME = "Java-SDK";

    // Configuration
    public static final String ENDPOINT_VOUCHERIFY = "api.voucherify.io/v1";
    public static final String ENDPOINT_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ssXXX";
    public static final String ENDPOINT_SECONDARY_DATE_FORMAT ="yyyy-MM-dd'T'HH:mm:ss.SSSXXX";


    private Constants() {
        throw new UnsupportedOperationException();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy