/*
* Stedi Payers
*
* 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::payers::models;
use serde::{Deserialize, Serialize};
/// EnrollmentInfo : Information about enrollment requirements for the payer
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EnrollmentInfo {
/// Whether a PTAN (Provider Transaction Access Number) is required for transaction enrollment. The Provider Transaction Access Number (PTAN) is a Medicare-issued number given to providers upon enrollment with Medicare. This number is usually six digits and is assigned based on the type of service and the location of the provider. Upon enrollment, Medicare Administrating Contracting (MAC) providers should receive their assigned PTAN number in their approval letter.
#[serde(rename = "ptanRequired", skip_serializing_if = "Option::is_none")]
pub ptan_required: Option<bool>,
/// Enrollment details for specific transaction types. Stedi only returns this object when information about the enrollment process is available for one or more transaction types. When this object isn't included in the response, it **doesn't** mean no transaction types require enrollment. Refer to the `transactionSupport` object for details about which transaction types require enrollment.
#[serde(rename = "transactionEnrollmentProcesses", skip_serializing_if = "Option::is_none")]
pub transaction_enrollment_processes: Option<Box<models::TransactionEnrollmentProcesses>>,
}
impl EnrollmentInfo {
/// Information about enrollment requirements for the payer
pub fn new() -> EnrollmentInfo {
EnrollmentInfo {
ptan_required: None,
transaction_enrollment_processes: None,
}
}
}