btcpay-client 0.1.0

A client library for BTCPay Server.
Documentation
/*
 * BTCPay Greenfield API
 *
 * A full API to use your BTCPay Server
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PullPaymentsApprovePayoutRequest {
    /// The revision number of the payout being modified
    #[serde(rename = "revision", skip_serializing_if = "Option::is_none")]
    pub revision: Option<i32>,
    /// The rate rule to calculate the rate of the payout. This can also be a fixed decimal. (if null or unspecified, will use the same rate setting as the store's settings)
    #[serde(rename = "rateRule", skip_serializing_if = "Option::is_none")]
    pub rate_rule: Option<String>,
}

impl PullPaymentsApprovePayoutRequest {
    pub fn new() -> PullPaymentsApprovePayoutRequest {
        PullPaymentsApprovePayoutRequest {
            revision: None,
            rate_rule: None,
        }
    }
}