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

/// ClaimStatusPayer : Information about the payer listed in the referenced claim.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClaimStatusPayer {
    /// The payer's Health Plan ID (HPID) or Other Entity Identifier (OEID).
    #[serde(rename = "centersForMedicareAndMedicaidServicePlanId", skip_serializing_if = "Option::is_none")]
    pub centers_for_medicare_and_medicaid_service_plan_id: Option<String>,
    #[serde(rename = "contactInformation", skip_serializing_if = "Option::is_none")]
    pub contact_information: Option<Box<models::ClaimStatusContactInformation>>,
    /// The payer's organization name. For example `UNITEDHEALTHCARE`.
    #[serde(rename = "organizationName", skip_serializing_if = "Option::is_none")]
    pub organization_name: Option<String>,
    /// The payer's identification number. This is the `tradingPartnerServiceId`.
    #[serde(rename = "payerIdentification", skip_serializing_if = "Option::is_none")]
    pub payer_identification: Option<String>,
}

impl ClaimStatusPayer {
    /// Information about the payer listed in the referenced claim.
    pub fn new() -> ClaimStatusPayer {
        ClaimStatusPayer {
            centers_for_medicare_and_medicaid_service_plan_id: None,
            contact_information: None,
            organization_name: None,
            payer_identification: None,
        }
    }
}