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 ClaimAcknowledgmentPayer {
    /// The payer's Centers for Medicare and Medicaid Services Plan ID. This is specifically for Health Plan ID (HPID) or Other Entity Identifier (OEID), both of which are no longer mandated for use.
    #[serde(rename = "centersForMedicareAndMedicaidServicePlanId", skip_serializing_if = "Option::is_none")]
    pub centers_for_medicare_and_medicaid_service_plan_id: Option<String>,
    /// Claim status details.
    #[serde(rename = "claimStatusTransactions", skip_serializing_if = "Option::is_none")]
    pub claim_status_transactions: Option<Vec<models::ClaimAcknowledgmentTransactions>>,
    /// Code identifying the type of organization.
    #[serde(rename = "entityIdentifierCode", skip_serializing_if = "Option::is_none")]
    pub entity_identifier_code: Option<models::PayerEntityIdentifierCode>,
    /// The human-readable description of the entity identifier code.
    #[serde(rename = "entityIdentifierCodeValue", skip_serializing_if = "Option::is_none")]
    pub entity_identifier_code_value: Option<models::PayerEntityIdentifierCodeValue>,
    /// The payer's Electronic Transmitter Identification Number.
    #[serde(rename = "etin", skip_serializing_if = "Option::is_none")]
    pub etin: Option<String>,
    /// The payer's Federal Taxpayer Identification Number.
    #[serde(rename = "federalTaxpayerIdentificationNumber", skip_serializing_if = "Option::is_none")]
    pub federal_taxpayer_identification_number: Option<String>,
    /// The payer or intermediary clearinghouse's business name.
    #[serde(rename = "organizationName", skip_serializing_if = "Option::is_none")]
    pub organization_name: Option<String>,
    #[serde(rename = "payerContactInformation", skip_serializing_if = "Option::is_none")]
    pub payer_contact_information: Option<Box<models::PayerContactInformation>>,
    /// The payer's unique identifier.
    #[serde(rename = "payerIdentification", skip_serializing_if = "Option::is_none")]
    pub payer_identification: Option<String>,
}

impl ClaimAcknowledgmentPayer {
    pub fn new() -> ClaimAcknowledgmentPayer {
        ClaimAcknowledgmentPayer {
            centers_for_medicare_and_medicaid_service_plan_id: None,
            claim_status_transactions: None,
            entity_identifier_code: None,
            entity_identifier_code_value: None,
            etin: None,
            federal_taxpayer_identification_number: None,
            organization_name: None,
            payer_contact_information: None,
            payer_identification: None,
        }
    }
}