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

/// ClaimPaymentAdvicePayer : Information about the payer.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClaimPaymentAdvicePayer {
    /// The payer's address information.
    #[serde(rename = "address", skip_serializing_if = "Option::is_none")]
    pub address: Option<Box<models::ClaimPaymentAdvicePayerAddress>>,
    /// A person or office.
    #[serde(rename = "businessContactInformation", skip_serializing_if = "Option::is_none")]
    pub business_contact_information: Option<Box<models::BusinessContactInformation>>,
    /// Formerly used to report the payer's Health Plan ID (HPID) or Other Entity Identifier (OEID). The Centers for Medicare and Medicaid Services (CMS) no longer uses HPID, so this property will not be populated.
    #[serde(rename = "centersForMedicareAndMedicaidServicesPlanId", skip_serializing_if = "Option::is_none")]
    pub centers_for_medicare_and_medicaid_services_plan_id: Option<String>,
    /// The payer's health industry number.
    #[serde(rename = "healthIndustryNumber", skip_serializing_if = "Option::is_none")]
    pub health_industry_number: Option<String>,
    /// The payer's business name, such as Cigna or Aetna.
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// The payer's National Association of Insurance Commissioners (NAIC) code.
    #[serde(rename = "nationalAssociationOfInsuranceCommissioners", skip_serializing_if = "Option::is_none")]
    pub national_association_of_insurance_commissioners: Option<String>,
    /// An identifier for the payer. For Medicare carriers or intermediaries, this is the Medicare carrier or intermediary ID number. For Blue Cross and Blue Shield Plans, this is the Blue Cross Blue Shield association plan code.  Providers rarely use this identifier in practice.
    #[serde(rename = "payerIdentificationNumber", skip_serializing_if = "Option::is_none")]
    pub payer_identification_number: Option<String>,
    /// The payer's web address. The URL is typically provided without the scheme and separator. For example, `stedi.com`.
    #[serde(rename = "payerWebSiteUrl", skip_serializing_if = "Option::is_none")]
    pub payer_web_site_url: Option<String>,
    /// An identifier for the payer. This is used when the original transaction sender is not the payer or has an identifier other than those already provided.
    #[serde(rename = "submitterIdentificationNumber", skip_serializing_if = "Option::is_none")]
    pub submitter_identification_number: Option<String>,
    /// A person or office.
    #[serde(rename = "technicalContactInformation", skip_serializing_if = "Option::is_none")]
    pub technical_contact_information: Option<Vec<models::TechnicalContactInformation>>,
}

impl ClaimPaymentAdvicePayer {
    /// Information about the payer.
    pub fn new() -> ClaimPaymentAdvicePayer {
        ClaimPaymentAdvicePayer {
            address: None,
            business_contact_information: None,
            centers_for_medicare_and_medicaid_services_plan_id: None,
            health_industry_number: None,
            name: None,
            national_association_of_insurance_commissioners: None,
            payer_identification_number: None,
            payer_web_site_url: None,
            submitter_identification_number: None,
            technical_contact_information: None,
        }
    }
}