Android Open Source - bitpay-android-sdk Invoice Transaction






From Project

Back to project page bitpay-android-sdk.

License

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.

Java Source Code

package com.bitpay.androidsdk.model;
/*  w w w . j a  v  a 2s . c  o m*/
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Stores information about when (in which transaction in the blockchain was an invoice paid,
 * partially or totally.
 */
public class InvoiceTransaction {

  private String _txid;
  private String _type;
  private double _amount;
    private Integer _confirmations;
    private String _time;
    private String _receivedTime;
  
    public InvoiceTransaction() {}
    
    @JsonIgnore
  public String getTxid() {
    return _txid;
  }
    
    @JsonProperty("txid")
  public void setTxid(String _txid) {
    this._txid = _txid;
  }

    @JsonIgnore
  public String getType() {
    return _type;
  }
    
    @JsonProperty("type")
  public void setType(String _type) {
    this._type = _type;
  }

    @JsonIgnore
  public double getAmount() {
    return _amount;
  }
    
    @JsonProperty("amount")
  public void setAmount(double _amount) {
    this._amount = _amount;
  }

    @JsonIgnore
    public Integer getConfirmations() {
        return _confirmations;
    }
    @JsonProperty("confirmations")
    public void setConfirmations(Integer confirmations) {
        this._confirmations = confirmations;
    }
    @JsonIgnore
    public String getTime() {
        return _time;
    }
    @JsonProperty("time")
    public void setTime(String time) {
        this._time = time;
    }
    @JsonIgnore
    public String getReceivedTime() {
        return _receivedTime;
    }
    @JsonProperty("receivedTime")
    public void setReceivedTime(String receivedTime) {
        this._receivedTime = receivedTime;
    }
}




Java Source Code List

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