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
 */

/// PayToPartyObject : Pays funds to a party.

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

impl PayToPartyObject {
    /// Pays funds to a party.
    pub fn new(party: crate::models::PartyObject) -> PayToPartyObject {
        PayToPartyObject {
            party: Box::new(party),
        }
    }
}