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};

/// InstitutionalPayer : Information about the payer for the submitted claim.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InstitutionalPayer {
    /// The payer's ID. This is the same as the `tradingPartnerServiceId`.
    #[serde(rename = "payerID", skip_serializing_if = "Option::is_none")]
    pub payer_id: Option<String>,
    /// The payer's business name, such as Aetna or Cigna.
    #[serde(rename = "payerName", skip_serializing_if = "Option::is_none")]
    pub payer_name: Option<String>,
}

impl InstitutionalPayer {
    /// Information about the payer for the submitted claim.
    pub fn new() -> InstitutionalPayer {
        InstitutionalPayer {
            payer_id: None,
            payer_name: None,
        }
    }
}