/*
* 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
*/
/// PayToAccount : Pays funds into a party's account in the contract.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct PayToAccount {
#[serde(rename = "account")]
pub account: Box<crate::models::Party>,
}
impl PayToAccount {
/// Pays funds into a party's account in the contract.
pub fn new(account: crate::models::Party) -> PayToAccount {
PayToAccount {
account: Box::new(account),
}
}
}