com.bitpay.sdk.model.invoice.MinerFeesItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bitpay_sdk Show documentation
Show all versions of bitpay_sdk Show documentation
Full implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically
Secure RESTful API.
/*
* Copyright (c) 2019 BitPay.
* All rights reserved.
*/
package com.bitpay.sdk.model.invoice;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The type Miner fees item.
*
* @see REST API Invoice
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class MinerFeesItem {
protected Double satoshisPerByte;
protected Integer totalFee;
protected Double fiatAmount;
/**
* Instantiates a new Miner fees item.
*/
public MinerFeesItem() {
}
/**
* Gets satoshis per byte.
*
* @return the satoshis per byte
*/
@JsonIgnore
public Double getSatoshisPerByte() {
return this.satoshisPerByte;
}
/**
* Sets satoshis per byte.
*
* @param satoshisPerByte the satoshis per byte
*/
@JsonProperty("satoshisPerByte")
public void setSatoshisPerByte(Double satoshisPerByte) {
this.satoshisPerByte = satoshisPerByte;
}
/**
* Gets total fee.
*
* @return the total fee
*/
@JsonIgnore
public Integer getTotalFee() {
return this.totalFee;
}
/**
* Sets total fee.
*
* @param totalFee the total fee
*/
@JsonProperty("totalFee")
public void setTotalFee(Integer totalFee) {
this.totalFee = totalFee;
}
/**
* Gets fiat amount.
*
* @return the fiat amount
*/
@JsonIgnore
public Double getFiatAmount() {
return this.fiatAmount;
}
/**
* Sets fiat amount.
*
* @param fiatAmount the fiat amount
*/
@JsonProperty("fiatAmount")
public void setFiatAmount(Double fiatAmount) {
this.fiatAmount = fiatAmount;
}
}