use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct INPaymentMethodType(pub NSInteger);
impl INPaymentMethodType {
#[doc(alias = "INPaymentMethodTypeUnknown")]
pub const Unknown: Self = Self(0);
#[doc(alias = "INPaymentMethodTypeChecking")]
pub const Checking: Self = Self(1);
#[doc(alias = "INPaymentMethodTypeSavings")]
pub const Savings: Self = Self(2);
#[doc(alias = "INPaymentMethodTypeBrokerage")]
pub const Brokerage: Self = Self(3);
#[doc(alias = "INPaymentMethodTypeDebit")]
pub const Debit: Self = Self(4);
#[doc(alias = "INPaymentMethodTypeCredit")]
pub const Credit: Self = Self(5);
#[doc(alias = "INPaymentMethodTypePrepaid")]
pub const Prepaid: Self = Self(6);
#[doc(alias = "INPaymentMethodTypeStore")]
pub const Store: Self = Self(7);
#[doc(alias = "INPaymentMethodTypeApplePay")]
pub const ApplePay: Self = Self(8);
}
unsafe impl Encode for INPaymentMethodType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for INPaymentMethodType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}