objc2_pass_kit/generated/
PKPaymentMerchantSession.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[derive(Debug, PartialEq, Eq, Hash)]
13 pub struct PKPaymentMerchantSession;
14);
15
16extern_conformance!(
17 unsafe impl NSObjectProtocol for PKPaymentMerchantSession {}
18);
19
20impl PKPaymentMerchantSession {
21 extern_methods!(
22 #[unsafe(method(initWithDictionary:))]
23 #[unsafe(method_family = init)]
24 pub unsafe fn initWithDictionary(
25 this: Allocated<Self>,
26 dictionary: &NSDictionary,
27 ) -> Retained<Self>;
28 );
29}
30
31impl PKPaymentMerchantSession {
33 extern_methods!(
34 #[unsafe(method(init))]
35 #[unsafe(method_family = init)]
36 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
37
38 #[unsafe(method(new))]
39 #[unsafe(method_family = new)]
40 pub unsafe fn new() -> Retained<Self>;
41 );
42}