bluefin_api 1.13.0

Bluefin API
Documentation
/*
 * 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 UpdateAffiliateFeeConfigRequest {
    /// Cashback amount to give to the referees
    #[serde(rename = "cashback")]
    pub cashback: i32,
}

impl UpdateAffiliateFeeConfigRequest {
    pub fn new(cashback: i32) -> UpdateAffiliateFeeConfigRequest {
        UpdateAffiliateFeeConfigRequest {
            cashback,
        }
    }
}