use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[deprecated = "INBillPayee is deprecated. There is no replacement."]
pub struct INBillPayee;
);
extern_conformance!(
unsafe impl NSCoding for INBillPayee {}
);
extern_conformance!(
unsafe impl NSCopying for INBillPayee {}
);
unsafe impl CopyingHelper for INBillPayee {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for INBillPayee {}
);
extern_conformance!(
unsafe impl NSSecureCoding for INBillPayee {}
);
impl INBillPayee {
extern_methods!(
#[deprecated = "INBillPayee is deprecated. There is no replacement."]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[cfg(feature = "INSpeakableString")]
#[deprecated = "INBillPayee is deprecated. There is no replacement."]
#[unsafe(method(initWithNickname:number:organizationName:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithNickname_number_organizationName(
this: Allocated<Self>,
nickname: &INSpeakableString,
number: Option<&NSString>,
organization_name: Option<&INSpeakableString>,
) -> Option<Retained<Self>>;
#[cfg(feature = "INSpeakableString")]
#[deprecated = "INBillPayee is deprecated. There is no replacement."]
#[unsafe(method(nickname))]
#[unsafe(method_family = none)]
pub unsafe fn nickname(&self) -> Option<Retained<INSpeakableString>>;
#[deprecated = "INBillPayee is deprecated. There is no replacement."]
#[unsafe(method(accountNumber))]
#[unsafe(method_family = none)]
pub unsafe fn accountNumber(&self) -> Option<Retained<NSString>>;
#[cfg(feature = "INSpeakableString")]
#[deprecated = "INBillPayee is deprecated. There is no replacement."]
#[unsafe(method(organizationName))]
#[unsafe(method_family = none)]
pub unsafe fn organizationName(&self) -> Option<Retained<INSpeakableString>>;
);
}
impl INBillPayee {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}