use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INAccountType(pub NSInteger);
impl INAccountType {
#[doc(alias = "INAccountTypeUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INAccountTypeChecking")]
pub const Checking: Self = Self(1);
#[doc(alias = "INAccountTypeCredit")]
pub const Credit: Self = Self(2);
#[doc(alias = "INAccountTypeDebit")]
pub const Debit: Self = Self(3);
#[doc(alias = "INAccountTypeInvestment")]
pub const Investment: Self = Self(4);
#[doc(alias = "INAccountTypeMortgage")]
pub const Mortgage: Self = Self(5);
#[doc(alias = "INAccountTypePrepaid")]
pub const Prepaid: Self = Self(6);
#[doc(alias = "INAccountTypeSaving")]
pub const Saving: Self = Self(7);
}
unsafe impl Encode for INAccountType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INAccountType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}