use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
pub struct INBillDetails;
);
extern_conformance!(
unsafe impl NSCoding for INBillDetails {}
);
extern_conformance!(
unsafe impl NSCopying for INBillDetails {}
);
unsafe impl CopyingHelper for INBillDetails {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for INBillDetails {}
);
extern_conformance!(
unsafe impl NSSecureCoding for INBillDetails {}
);
impl INBillDetails {
extern_methods!(
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[cfg(all(
feature = "INBillPayee",
feature = "INBillType",
feature = "INCurrencyAmount",
feature = "INPaymentStatus"
))]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(initWithBillType:paymentStatus:billPayee:amountDue:minimumDue:lateFee:dueDate:paymentDate:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithBillType_paymentStatus_billPayee_amountDue_minimumDue_lateFee_dueDate_paymentDate(
this: Allocated<Self>,
bill_type: INBillType,
payment_status: INPaymentStatus,
bill_payee: Option<&INBillPayee>,
amount_due: Option<&INCurrencyAmount>,
minimum_due: Option<&INCurrencyAmount>,
late_fee: Option<&INCurrencyAmount>,
due_date: Option<&NSDateComponents>,
payment_date: Option<&NSDateComponents>,
) -> Option<Retained<Self>>;
#[cfg(feature = "INBillPayee")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(billPayee))]
#[unsafe(method_family = none)]
pub unsafe fn billPayee(&self) -> Option<Retained<INBillPayee>>;
#[cfg(feature = "INBillPayee")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setBillPayee:))]
#[unsafe(method_family = none)]
pub unsafe fn setBillPayee(&self, bill_payee: Option<&INBillPayee>);
#[cfg(feature = "INCurrencyAmount")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(amountDue))]
#[unsafe(method_family = none)]
pub unsafe fn amountDue(&self) -> Option<Retained<INCurrencyAmount>>;
#[cfg(feature = "INCurrencyAmount")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setAmountDue:))]
#[unsafe(method_family = none)]
pub unsafe fn setAmountDue(&self, amount_due: Option<&INCurrencyAmount>);
#[cfg(feature = "INCurrencyAmount")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(minimumDue))]
#[unsafe(method_family = none)]
pub unsafe fn minimumDue(&self) -> Option<Retained<INCurrencyAmount>>;
#[cfg(feature = "INCurrencyAmount")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setMinimumDue:))]
#[unsafe(method_family = none)]
pub unsafe fn setMinimumDue(&self, minimum_due: Option<&INCurrencyAmount>);
#[cfg(feature = "INCurrencyAmount")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(lateFee))]
#[unsafe(method_family = none)]
pub unsafe fn lateFee(&self) -> Option<Retained<INCurrencyAmount>>;
#[cfg(feature = "INCurrencyAmount")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setLateFee:))]
#[unsafe(method_family = none)]
pub unsafe fn setLateFee(&self, late_fee: Option<&INCurrencyAmount>);
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(dueDate))]
#[unsafe(method_family = none)]
pub unsafe fn dueDate(&self) -> Option<Retained<NSDateComponents>>;
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setDueDate:))]
#[unsafe(method_family = none)]
pub unsafe fn setDueDate(&self, due_date: Option<&NSDateComponents>);
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(paymentDate))]
#[unsafe(method_family = none)]
pub unsafe fn paymentDate(&self) -> Option<Retained<NSDateComponents>>;
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setPaymentDate:))]
#[unsafe(method_family = none)]
pub unsafe fn setPaymentDate(&self, payment_date: Option<&NSDateComponents>);
#[cfg(feature = "INBillType")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(billType))]
#[unsafe(method_family = none)]
pub unsafe fn billType(&self) -> INBillType;
#[cfg(feature = "INBillType")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setBillType:))]
#[unsafe(method_family = none)]
pub unsafe fn setBillType(&self, bill_type: INBillType);
#[cfg(feature = "INPaymentStatus")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(paymentStatus))]
#[unsafe(method_family = none)]
pub unsafe fn paymentStatus(&self) -> INPaymentStatus;
#[cfg(feature = "INPaymentStatus")]
#[deprecated = "INBillDetails is deprecated. There is no replacement."]
#[unsafe(method(setPaymentStatus:))]
#[unsafe(method_family = none)]
pub unsafe fn setPaymentStatus(&self, payment_status: INPaymentStatus);
);
}
impl INBillDetails {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}