Back to project page bitpay-android-sdk.
The source code is released under:
MIT License
If you think the Android project bitpay-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bitpay.androidsdk.model; /* w w w .j a va2s. c o m*/ import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; public class Policy { private String _policy; private String _method; private List<String> _params; public Policy() {} @JsonIgnore public String getPolicy() { return _policy; } @JsonProperty("policy") public void setPolicy(String _policy) { this._policy = _policy; } @JsonIgnore public String getMethod() { return _method; } @JsonProperty("method") public void setMethod(String _method) { this._method = _method; } @JsonIgnore public List<String> getParams() { return _params; } @JsonProperty("params") public void setParams(List<String> _params) { this._params = _params; } }