com.bitpay.sdk_light.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bitpay_sdk_light Show documentation
Show all versions of bitpay_sdk_light Show documentation
Light implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically Secure RESTful API.
The newest version!
package com.bitpay.sdk_light;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
public class Config {
private String _environment;
private JsonNode _envConfig;
public Config() {
}
@JsonIgnore
public String getEnvironment() {
return _environment;
}
@JsonProperty("Environment")
public void setEnvironment(String environment) {
this._environment = environment;
}
@JsonIgnore
public JsonNode getEnvConfig(String env) {
return _envConfig.path(env);
}
@JsonProperty("EnvConfig")
public void setEnvConfig(JsonNode envConfig) {
this._envConfig = envConfig;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy