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

/// CorrectedPriorityPayer : Information about the corrected priority payer. Used when the current payer believes that another payer has priority for making a payment and the claim is not being automatically transferred to that payer.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CorrectedPriorityPayer {
    /// The provider's Blue Cross Blue Shield Association Plan Code.
    #[serde(rename = "blueCrossBlueShieldAssociationPlanCode", skip_serializing_if = "Option::is_none")]
    pub blue_cross_blue_shield_association_plan_code: Option<String>,
    /// Used to report the provider's Health Plan ID (HPID) or Other Entity Identifier (OEID).
    #[serde(rename = "centersForMedicareAndMedicaidServicesPlanId", skip_serializing_if = "Option::is_none")]
    pub centers_for_medicare_and_medicaid_services_plan_id: Option<String>,
    /// The provider's National Association of Insurance Commissioners (NAIC) number.
    #[serde(rename = "nationalAssociationOfInsuranceCommissionersIdentification", skip_serializing_if = "Option::is_none")]
    pub national_association_of_insurance_commissioners_identification: Option<String>,
    /// The provider's business name (when the provider is not an individual) or the provider's last name (when the provider is an individual).
    #[serde(rename = "organizationName", skip_serializing_if = "Option::is_none")]
    pub organization_name: Option<String>,
    /// The provider's Payer Identification number.
    #[serde(rename = "payorId", skip_serializing_if = "Option::is_none")]
    pub payor_id: Option<String>,
    /// The provider's Pharmacy Processor Number.
    #[serde(rename = "pharmacyProcessorNumber", skip_serializing_if = "Option::is_none")]
    pub pharmacy_processor_number: Option<String>,
    /// The provider's Federal Tax Identification Number.
    #[serde(rename = "taxId", skip_serializing_if = "Option::is_none")]
    pub tax_id: Option<String>,
}

impl CorrectedPriorityPayer {
    /// Information about the corrected priority payer. Used when the current payer believes that another payer has priority for making a payment and the claim is not being automatically transferred to that payer.
    pub fn new() -> CorrectedPriorityPayer {
        CorrectedPriorityPayer {
            blue_cross_blue_shield_association_plan_code: None,
            centers_for_medicare_and_medicaid_services_plan_id: None,
            national_association_of_insurance_commissioners_identification: None,
            organization_name: None,
            payor_id: None,
            pharmacy_processor_number: None,
            tax_id: None,
        }
    }
}