autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Healthcare
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2024-04-01
 * Contact: healthcare@stedi.com
 * Generated by: https://openapi-generator.tech
 */

use crate::healthcare::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ValueInformation {
    /// The value code.
    #[serde(rename = "valueCode")]
    pub value_code: String,
    /// The monetary amount associated with the value code, expressed as a decimal.
    #[serde(rename = "valueCodeAmount")]
    pub value_code_amount: String,
}

impl ValueInformation {
    pub fn new(value_code: String, value_code_amount: String) -> ValueInformation {
        ValueInformation {
            value_code,
            value_code_amount,
        }
    }
}