pl.rspective.voucherify.client.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of voucherify-java-sdk Show documentation
Show all versions of voucherify-java-sdk Show documentation
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)
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