marlowe_client 0.0.5

HTTP client for the Marlowe Runtime REST API
Documentation
/*
 * Marlowe Runtime REST API
 *
 * REST API for Marlowe Runtime
 *
 * The version of the OpenAPI document: 0.0.5.1
 *
 * Generated by: https://openapi-generator.tech
 */

/// PayToAccountObject : Pays funds into a party's account in the contract.

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct PayToAccountObject {
    #[serde(rename = "account")]
    pub account: Box<crate::models::PartyObject>,
}

impl PayToAccountObject {
    /// Pays funds into a party's account in the contract.
    pub fn new(account: crate::models::PartyObject) -> PayToAccountObject {
        PayToAccountObject {
            account: Box::new(account),
        }
    }
}