use crate::payers::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionSupportCountsItem {
#[serde(rename = "notSupported")]
pub not_supported: Box<models::NotSupportedBreakdown>,
#[serde(rename = "supported")]
pub supported: Box<models::SupportedBreakdown>,
}
impl TransactionSupportCountsItem {
pub fn new(not_supported: models::NotSupportedBreakdown, supported: models::SupportedBreakdown) -> TransactionSupportCountsItem {
TransactionSupportCountsItem {
not_supported: Box::new(not_supported),
supported: Box::new(supported),
}
}
}