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

io.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: 16.0.2
Show newest version
package io.voucherify.client;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
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";
  public static final String HTTP_HEADER_VOUCHERIFY_API_VERSION = "X-Voucherify-API-Version";

  // 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";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy