/*
* 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};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SupportedBreakdown {
/// Number of matching payers that support this transaction type and don't require transaction enrollment.
#[serde(rename = "enrollmentNotRequired")]
pub enrollment_not_required: i32,
/// Number of matching payers that support this transaction type and require [transaction enrollment](https://www.stedi.com/docs/healthcare/transaction-enrollment).
#[serde(rename = "enrollmentRequired")]
pub enrollment_required: i32,
/// Total number of matching payers that support this transaction type (`enrollmentRequired` + `enrollmentNotRequired`).
#[serde(rename = "total")]
pub total: i32,
}
impl SupportedBreakdown {
pub fn new(enrollment_not_required: i32, enrollment_required: i32, total: i32) -> SupportedBreakdown {
SupportedBreakdown {
enrollment_not_required,
enrollment_required,
total,
}
}
}