#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionResponseInfo {
#[serde(rename = "conveyorGas")]
pub conveyor_gas: String,
#[serde(rename = "affiliateGas")]
pub affiliate_gas: String,
#[serde(rename = "affiliateAggregator")]
pub affiliate_aggregator: String,
#[serde(rename = "amountOut")]
pub amount_out: String,
#[serde(rename = "amountOutMin")]
pub amount_out_min: String,
}
impl TransactionResponseInfo {
pub fn new(conveyor_gas: String, affiliate_gas: String, affiliate_aggregator: String, amount_out: String, amount_out_min: String) -> TransactionResponseInfo {
TransactionResponseInfo {
conveyor_gas,
affiliate_gas,
affiliate_aggregator,
amount_out,
amount_out_min,
}
}
}