]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[cfg(feature = "ApplicationModel_Payments_Provider")] | |
3 | pub mod Provider; | |
4 | #[link(name = "windows")] | |
5 | extern "system" {} | |
6 | pub type PaymentAddress = *mut ::core::ffi::c_void; | |
7 | pub type PaymentCanMakePaymentResult = *mut ::core::ffi::c_void; | |
8 | #[repr(transparent)] | |
9 | pub struct PaymentCanMakePaymentResultStatus(pub i32); | |
10 | impl PaymentCanMakePaymentResultStatus { | |
11 | pub const Unknown: Self = Self(0i32); | |
12 | pub const Yes: Self = Self(1i32); | |
13 | pub const No: Self = Self(2i32); | |
14 | pub const NotAllowed: Self = Self(3i32); | |
15 | pub const UserNotSignedIn: Self = Self(4i32); | |
16 | pub const SpecifiedPaymentMethodIdsNotSupported: Self = Self(5i32); | |
17 | pub const NoQualifyingCardOnFile: Self = Self(6i32); | |
18 | } | |
19 | impl ::core::marker::Copy for PaymentCanMakePaymentResultStatus {} | |
20 | impl ::core::clone::Clone for PaymentCanMakePaymentResultStatus { | |
21 | fn clone(&self) -> Self { | |
22 | *self | |
23 | } | |
24 | } | |
25 | pub type PaymentCurrencyAmount = *mut ::core::ffi::c_void; | |
26 | pub type PaymentDetails = *mut ::core::ffi::c_void; | |
27 | pub type PaymentDetailsModifier = *mut ::core::ffi::c_void; | |
28 | pub type PaymentItem = *mut ::core::ffi::c_void; | |
29 | pub type PaymentMediator = *mut ::core::ffi::c_void; | |
30 | pub type PaymentMerchantInfo = *mut ::core::ffi::c_void; | |
31 | pub type PaymentMethodData = *mut ::core::ffi::c_void; | |
32 | #[repr(transparent)] | |
33 | pub struct PaymentOptionPresence(pub i32); | |
34 | impl PaymentOptionPresence { | |
35 | pub const None: Self = Self(0i32); | |
36 | pub const Optional: Self = Self(1i32); | |
37 | pub const Required: Self = Self(2i32); | |
38 | } | |
39 | impl ::core::marker::Copy for PaymentOptionPresence {} | |
40 | impl ::core::clone::Clone for PaymentOptionPresence { | |
41 | fn clone(&self) -> Self { | |
42 | *self | |
43 | } | |
44 | } | |
45 | pub type PaymentOptions = *mut ::core::ffi::c_void; | |
46 | pub type PaymentRequest = *mut ::core::ffi::c_void; | |
47 | #[repr(transparent)] | |
48 | pub struct PaymentRequestChangeKind(pub i32); | |
49 | impl PaymentRequestChangeKind { | |
50 | pub const ShippingOption: Self = Self(0i32); | |
51 | pub const ShippingAddress: Self = Self(1i32); | |
52 | } | |
53 | impl ::core::marker::Copy for PaymentRequestChangeKind {} | |
54 | impl ::core::clone::Clone for PaymentRequestChangeKind { | |
55 | fn clone(&self) -> Self { | |
56 | *self | |
57 | } | |
58 | } | |
59 | pub type PaymentRequestChangedArgs = *mut ::core::ffi::c_void; | |
60 | pub type PaymentRequestChangedHandler = *mut ::core::ffi::c_void; | |
61 | pub type PaymentRequestChangedResult = *mut ::core::ffi::c_void; | |
62 | #[repr(transparent)] | |
63 | pub struct PaymentRequestCompletionStatus(pub i32); | |
64 | impl PaymentRequestCompletionStatus { | |
65 | pub const Succeeded: Self = Self(0i32); | |
66 | pub const Failed: Self = Self(1i32); | |
67 | pub const Unknown: Self = Self(2i32); | |
68 | } | |
69 | impl ::core::marker::Copy for PaymentRequestCompletionStatus {} | |
70 | impl ::core::clone::Clone for PaymentRequestCompletionStatus { | |
71 | fn clone(&self) -> Self { | |
72 | *self | |
73 | } | |
74 | } | |
75 | #[repr(transparent)] | |
76 | pub struct PaymentRequestStatus(pub i32); | |
77 | impl PaymentRequestStatus { | |
78 | pub const Succeeded: Self = Self(0i32); | |
79 | pub const Failed: Self = Self(1i32); | |
80 | pub const Canceled: Self = Self(2i32); | |
81 | } | |
82 | impl ::core::marker::Copy for PaymentRequestStatus {} | |
83 | impl ::core::clone::Clone for PaymentRequestStatus { | |
84 | fn clone(&self) -> Self { | |
85 | *self | |
86 | } | |
87 | } | |
88 | pub type PaymentRequestSubmitResult = *mut ::core::ffi::c_void; | |
89 | pub type PaymentResponse = *mut ::core::ffi::c_void; | |
90 | pub type PaymentShippingOption = *mut ::core::ffi::c_void; | |
91 | #[repr(transparent)] | |
92 | pub struct PaymentShippingType(pub i32); | |
93 | impl PaymentShippingType { | |
94 | pub const Shipping: Self = Self(0i32); | |
95 | pub const Delivery: Self = Self(1i32); | |
96 | pub const Pickup: Self = Self(2i32); | |
97 | } | |
98 | impl ::core::marker::Copy for PaymentShippingType {} | |
99 | impl ::core::clone::Clone for PaymentShippingType { | |
100 | fn clone(&self) -> Self { | |
101 | *self | |
102 | } | |
103 | } | |
104 | pub type PaymentToken = *mut ::core::ffi::c_void; |