/*
* Bluefin API
*
* Bluefin API
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TradingFees {
/// The Account Maker Fee (e9 format).
#[serde(rename = "makerFeeE9")]
pub maker_fee_e9: String,
/// The Account Taker Fee (e9 format).
#[serde(rename = "takerFeeE9")]
pub taker_fee_e9: String,
/// Are the fees applied on the account?
#[serde(rename = "isApplied")]
pub is_applied: bool,
}
impl TradingFees {
pub fn new(maker_fee_e9: String, taker_fee_e9: String, is_applied: bool) -> TradingFees {
TradingFees {
maker_fee_e9,
taker_fee_e9,
is_applied,
}
}
}