All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bitpay.sdk.model.invoice.MinerFeesItem Maven / Gradle / Ivy

Go to download

Full implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically Secure RESTful API.

The newest version!
/*
 * 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy