Android Open Source - android-sdk Rate






From Project

Back to project page android-sdk.

License

The source code is released under:

MIT License

If you think the Android project 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.

Java Source Code

package com.bitpay.sdk.model;
//from   w w  w.j  a  va2s  .  co  m
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Stores the exchange rate for a given currency.
 */
public class Rate {
  
  private String _name;
  private String _code;
  private double _value;
  
    public Rate() {}
    
    @JsonIgnore
  public String getName() {
    return _name;
  }
    
    @JsonProperty("name")
  public void setName(String _name) {
    this._name = _name;
  }

    @JsonIgnore
  public String getCode() {
    return _code;
  }
    
    @JsonProperty("code")
  public void setCode(String _code) {
    this._code = _code;
  }

    @JsonIgnore
  public double getValue() {
    return _value;
  }
    
    @JsonProperty("rate")
  public void setValue(double _value) {
    this._value = _value;
  }

    @Override
    public String toString() {
        return _name;
    }
}




Java Source Code List

com.bitpay.sdk.android.BitPayAndroid.java
com.bitpay.sdk.android.InvoiceActivity.java
com.bitpay.sdk.android.interfaces.BitpayPromiseCallback.java
com.bitpay.sdk.android.interfaces.InvoiceCreationCallback.java
com.bitpay.sdk.android.interfaces.InvoicePromiseCallback.java
com.bitpay.sdk.android.interfaces.PromiseCallback.java
com.bitpay.sdk.android.interfaces.RatesPromiseCallback.java
com.bitpay.sdk.android.promises.BitpayPromise.java
com.bitpay.sdk.controller.BitPayException.java
com.bitpay.sdk.controller.BitPay.java
com.bitpay.sdk.controller.KeyUtils.java
com.bitpay.sdk.model.BuyerInfo.java
com.bitpay.sdk.model.InvoicePaymentUrls.java
com.bitpay.sdk.model.InvoiceTransaction.java
com.bitpay.sdk.model.Invoice.java
com.bitpay.sdk.model.Policy.java
com.bitpay.sdk.model.Rate.java
com.bitpay.sdk.model.Rates.java
com.bitpay.sdk.model.Token.java