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 CreatePayoutThroughStoreRequestAllOf {
    /// The pull payment to create this for. Optional.
    #[serde(rename = "pullPaymentId", skip_serializing_if = "Option::is_none")]
    pub pull_payment_id: Option<String>,
    /// Whether to approve this payout automatically upon creation
    #[serde(rename = "approved", skip_serializing_if = "Option::is_none")]
    pub approved: Option<bool>,
}

impl CreatePayoutThroughStoreRequestAllOf {
    pub fn new() -> CreatePayoutThroughStoreRequestAllOf {
        CreatePayoutThroughStoreRequestAllOf {
            pull_payment_id: None,
            approved: None,
        }
    }
}