winrt-Windows.ApplicationModel.Wallet 3.2.1__cp314-cp314-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_applicationmodel_wallet.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_wallet.pyi +340 -0
- winrt/windows/applicationmodel/wallet/__init__.py +84 -0
- winrt/windows/applicationmodel/wallet/py.typed +0 -0
- winrt_windows_applicationmodel_wallet-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_applicationmodel_wallet-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_wallet-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_wallet-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.devices.geolocation as windows_devices_geolocation
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
import winrt.windows.ui as windows_ui
|
|
17
|
+
|
|
18
|
+
from winrt.windows.applicationmodel.wallet import WalletActionKind, WalletBarcodeSymbology, WalletDetailViewPosition, WalletItemKind, WalletSummaryViewPosition
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class WalletBarcode(winrt.system.Object):
|
|
24
|
+
@typing.overload
|
|
25
|
+
def __new__(cls: typing.Type[Self], symbology: WalletBarcodeSymbology, value: str) -> Self: ...
|
|
26
|
+
@typing.overload
|
|
27
|
+
def __new__(cls: typing.Type[Self], stream_to_barcode_image: windows_storage_streams.IRandomAccessStreamReference) -> Self: ...
|
|
28
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStreamReference> Windows.ApplicationModel.Wallet.WalletBarcode::GetImageAsync()
|
|
29
|
+
# @deprecated("IWalletBarcode is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
30
|
+
def get_image_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamReference]: ...
|
|
31
|
+
# Windows.ApplicationModel.Wallet.WalletBarcodeSymbology Windows.ApplicationModel.Wallet.WalletBarcode::get_Symbology()
|
|
32
|
+
@_property
|
|
33
|
+
def symbology(self) -> WalletBarcodeSymbology: ...
|
|
34
|
+
# System.String Windows.ApplicationModel.Wallet.WalletBarcode::get_Value()
|
|
35
|
+
@_property
|
|
36
|
+
def value(self) -> str: ...
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class WalletItem(winrt.system.Object):
|
|
40
|
+
def __new__(cls: typing.Type[Self], kind: WalletItemKind, display_name: str) -> Self: ...
|
|
41
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItem::get_DisplayName()
|
|
42
|
+
@_property
|
|
43
|
+
def display_name(self) -> str: ...
|
|
44
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_DisplayName(System.String)
|
|
45
|
+
@display_name.setter
|
|
46
|
+
def display_name(self, value: str) -> None: ...
|
|
47
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItem::get_DisplayMessage()
|
|
48
|
+
@_property
|
|
49
|
+
def display_message(self) -> str: ...
|
|
50
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_DisplayMessage(System.String)
|
|
51
|
+
@display_message.setter
|
|
52
|
+
def display_message(self, value: str) -> None: ...
|
|
53
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItem::get_LogoText()
|
|
54
|
+
@_property
|
|
55
|
+
def logo_text(self) -> str: ...
|
|
56
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_LogoText(System.String)
|
|
57
|
+
@logo_text.setter
|
|
58
|
+
def logo_text(self, value: str) -> None: ...
|
|
59
|
+
# Windows.UI.Color Windows.ApplicationModel.Wallet.WalletItem::get_BodyFontColor()
|
|
60
|
+
@_property
|
|
61
|
+
def body_font_color(self) -> windows_ui.Color: ...
|
|
62
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_BodyFontColor(Windows.UI.Color)
|
|
63
|
+
@body_font_color.setter
|
|
64
|
+
def body_font_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
|
|
65
|
+
# Windows.UI.Color Windows.ApplicationModel.Wallet.WalletItem::get_BodyColor()
|
|
66
|
+
@_property
|
|
67
|
+
def body_color(self) -> windows_ui.Color: ...
|
|
68
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_BodyColor(Windows.UI.Color)
|
|
69
|
+
@body_color.setter
|
|
70
|
+
def body_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
|
|
71
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Wallet.WalletItem::get_BodyBackgroundImage()
|
|
72
|
+
@_property
|
|
73
|
+
def body_background_image(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
74
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_BodyBackgroundImage(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
75
|
+
@body_background_image.setter
|
|
76
|
+
def body_background_image(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
77
|
+
# System.Boolean Windows.ApplicationModel.Wallet.WalletItem::get_IsDisplayMessageLaunchable()
|
|
78
|
+
@_property
|
|
79
|
+
def is_display_message_launchable(self) -> bool: ...
|
|
80
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_IsDisplayMessageLaunchable(System.Boolean)
|
|
81
|
+
@is_display_message_launchable.setter
|
|
82
|
+
def is_display_message_launchable(self, value: bool) -> None: ...
|
|
83
|
+
# System.Boolean Windows.ApplicationModel.Wallet.WalletItem::get_IsAcknowledged()
|
|
84
|
+
@_property
|
|
85
|
+
def is_acknowledged(self) -> bool: ...
|
|
86
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_IsAcknowledged(System.Boolean)
|
|
87
|
+
@is_acknowledged.setter
|
|
88
|
+
def is_acknowledged(self, value: bool) -> None: ...
|
|
89
|
+
# System.Boolean Windows.ApplicationModel.Wallet.WalletItem::get_IsMoreTransactionHistoryLaunchable()
|
|
90
|
+
@_property
|
|
91
|
+
def is_more_transaction_history_launchable(self) -> bool: ...
|
|
92
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_IsMoreTransactionHistoryLaunchable(System.Boolean)
|
|
93
|
+
@is_more_transaction_history_launchable.setter
|
|
94
|
+
def is_more_transaction_history_launchable(self, value: bool) -> None: ...
|
|
95
|
+
# Windows.UI.Color Windows.ApplicationModel.Wallet.WalletItem::get_HeaderFontColor()
|
|
96
|
+
@_property
|
|
97
|
+
def header_font_color(self) -> windows_ui.Color: ...
|
|
98
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_HeaderFontColor(Windows.UI.Color)
|
|
99
|
+
@header_font_color.setter
|
|
100
|
+
def header_font_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
|
|
101
|
+
# Windows.UI.Color Windows.ApplicationModel.Wallet.WalletItem::get_HeaderColor()
|
|
102
|
+
@_property
|
|
103
|
+
def header_color(self) -> windows_ui.Color: ...
|
|
104
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_HeaderColor(Windows.UI.Color)
|
|
105
|
+
@header_color.setter
|
|
106
|
+
def header_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
|
|
107
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Wallet.WalletItem::get_HeaderBackgroundImage()
|
|
108
|
+
@_property
|
|
109
|
+
def header_background_image(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
110
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_HeaderBackgroundImage(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
111
|
+
@header_background_image.setter
|
|
112
|
+
def header_background_image(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
113
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Wallet.WalletItem::get_ExpirationDate()
|
|
114
|
+
@_property
|
|
115
|
+
def expiration_date(self) -> typing.Optional[datetime.datetime]: ...
|
|
116
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_ExpirationDate(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
|
|
117
|
+
@expiration_date.setter
|
|
118
|
+
def expiration_date(self, value: typing.Optional[datetime.datetime]) -> None: ...
|
|
119
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Wallet.WalletItem::get_Logo99x99()
|
|
120
|
+
@_property
|
|
121
|
+
def logo99x99(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
122
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_Logo99x99(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
123
|
+
@logo99x99.setter
|
|
124
|
+
def logo99x99(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
125
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Wallet.WalletItem::get_LogoImage()
|
|
126
|
+
@_property
|
|
127
|
+
def logo_image(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
128
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_LogoImage(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
129
|
+
@logo_image.setter
|
|
130
|
+
def logo_image(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
131
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Wallet.WalletItem::get_PromotionalImage()
|
|
132
|
+
@_property
|
|
133
|
+
def promotional_image(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
134
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_PromotionalImage(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
135
|
+
@promotional_image.setter
|
|
136
|
+
def promotional_image(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
137
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Wallet.WalletItem::get_Logo159x159()
|
|
138
|
+
@_property
|
|
139
|
+
def logo159x159(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
140
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_Logo159x159(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
141
|
+
@logo159x159.setter
|
|
142
|
+
def logo159x159(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
143
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Wallet.WalletItem::get_LastUpdated()
|
|
144
|
+
@_property
|
|
145
|
+
def last_updated(self) -> typing.Optional[datetime.datetime]: ...
|
|
146
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_LastUpdated(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
|
|
147
|
+
@last_updated.setter
|
|
148
|
+
def last_updated(self, value: typing.Optional[datetime.datetime]) -> None: ...
|
|
149
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItem::get_IssuerDisplayName()
|
|
150
|
+
@_property
|
|
151
|
+
def issuer_display_name(self) -> str: ...
|
|
152
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_IssuerDisplayName(System.String)
|
|
153
|
+
@issuer_display_name.setter
|
|
154
|
+
def issuer_display_name(self, value: str) -> None: ...
|
|
155
|
+
# Windows.ApplicationModel.Wallet.WalletBarcode Windows.ApplicationModel.Wallet.WalletItem::get_Barcode()
|
|
156
|
+
@_property
|
|
157
|
+
def barcode(self) -> WalletBarcode: ...
|
|
158
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_Barcode(Windows.ApplicationModel.Wallet.WalletBarcode)
|
|
159
|
+
@barcode.setter
|
|
160
|
+
def barcode(self, value: WalletBarcode) -> None: ...
|
|
161
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItem::get_RelevantDateDisplayMessage()
|
|
162
|
+
@_property
|
|
163
|
+
def relevant_date_display_message(self) -> str: ...
|
|
164
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_RelevantDateDisplayMessage(System.String)
|
|
165
|
+
@relevant_date_display_message.setter
|
|
166
|
+
def relevant_date_display_message(self, value: str) -> None: ...
|
|
167
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Wallet.WalletItem::get_RelevantDate()
|
|
168
|
+
@_property
|
|
169
|
+
def relevant_date(self) -> typing.Optional[datetime.datetime]: ...
|
|
170
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_RelevantDate(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
|
|
171
|
+
@relevant_date.setter
|
|
172
|
+
def relevant_date(self, value: typing.Optional[datetime.datetime]) -> None: ...
|
|
173
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Wallet.WalletItem::get_Logo336x336()
|
|
174
|
+
@_property
|
|
175
|
+
def logo336x336(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
176
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItem::put_Logo336x336(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
177
|
+
@logo336x336.setter
|
|
178
|
+
def logo336x336(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
179
|
+
# Windows.ApplicationModel.Wallet.WalletItemKind Windows.ApplicationModel.Wallet.WalletItem::get_Kind()
|
|
180
|
+
@_property
|
|
181
|
+
def kind(self) -> WalletItemKind: ...
|
|
182
|
+
# Windows.Foundation.Collections.IMap`2<System.String,Windows.ApplicationModel.Wallet.WalletItemCustomProperty> Windows.ApplicationModel.Wallet.WalletItem::get_DisplayProperties()
|
|
183
|
+
@_property
|
|
184
|
+
def display_properties(self) -> typing.MutableMapping[str, WalletItemCustomProperty]: ...
|
|
185
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItem::get_Id()
|
|
186
|
+
@_property
|
|
187
|
+
def id(self) -> str: ...
|
|
188
|
+
# Windows.Foundation.Collections.IMap`2<System.String,Windows.ApplicationModel.Wallet.WalletRelevantLocation> Windows.ApplicationModel.Wallet.WalletItem::get_RelevantLocations()
|
|
189
|
+
@_property
|
|
190
|
+
def relevant_locations(self) -> typing.MutableMapping[str, WalletRelevantLocation]: ...
|
|
191
|
+
# Windows.Foundation.Collections.IMap`2<System.String,Windows.ApplicationModel.Wallet.WalletTransaction> Windows.ApplicationModel.Wallet.WalletItem::get_TransactionHistory()
|
|
192
|
+
@_property
|
|
193
|
+
def transaction_history(self) -> typing.MutableMapping[str, WalletTransaction]: ...
|
|
194
|
+
# Windows.Foundation.Collections.IMap`2<System.String,Windows.ApplicationModel.Wallet.WalletVerb> Windows.ApplicationModel.Wallet.WalletItem::get_Verbs()
|
|
195
|
+
@_property
|
|
196
|
+
def verbs(self) -> typing.MutableMapping[str, WalletVerb]: ...
|
|
197
|
+
|
|
198
|
+
@typing.final
|
|
199
|
+
class WalletItemCustomProperty(winrt.system.Object):
|
|
200
|
+
def __new__(cls: typing.Type[Self], name: str, value: str) -> Self: ...
|
|
201
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItemCustomProperty::get_Value()
|
|
202
|
+
@_property
|
|
203
|
+
def value(self) -> str: ...
|
|
204
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItemCustomProperty::put_Value(System.String)
|
|
205
|
+
@value.setter
|
|
206
|
+
def value(self, value: str) -> None: ...
|
|
207
|
+
# Windows.ApplicationModel.Wallet.WalletSummaryViewPosition Windows.ApplicationModel.Wallet.WalletItemCustomProperty::get_SummaryViewPosition()
|
|
208
|
+
@_property
|
|
209
|
+
def summary_view_position(self) -> WalletSummaryViewPosition: ...
|
|
210
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItemCustomProperty::put_SummaryViewPosition(Windows.ApplicationModel.Wallet.WalletSummaryViewPosition)
|
|
211
|
+
@summary_view_position.setter
|
|
212
|
+
def summary_view_position(self, value: WalletSummaryViewPosition) -> None: ...
|
|
213
|
+
# System.String Windows.ApplicationModel.Wallet.WalletItemCustomProperty::get_Name()
|
|
214
|
+
@_property
|
|
215
|
+
def name(self) -> str: ...
|
|
216
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItemCustomProperty::put_Name(System.String)
|
|
217
|
+
@name.setter
|
|
218
|
+
def name(self, value: str) -> None: ...
|
|
219
|
+
# Windows.ApplicationModel.Wallet.WalletDetailViewPosition Windows.ApplicationModel.Wallet.WalletItemCustomProperty::get_DetailViewPosition()
|
|
220
|
+
@_property
|
|
221
|
+
def detail_view_position(self) -> WalletDetailViewPosition: ...
|
|
222
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItemCustomProperty::put_DetailViewPosition(Windows.ApplicationModel.Wallet.WalletDetailViewPosition)
|
|
223
|
+
@detail_view_position.setter
|
|
224
|
+
def detail_view_position(self, value: WalletDetailViewPosition) -> None: ...
|
|
225
|
+
# System.Boolean Windows.ApplicationModel.Wallet.WalletItemCustomProperty::get_AutoDetectLinks()
|
|
226
|
+
@_property
|
|
227
|
+
def auto_detect_links(self) -> bool: ...
|
|
228
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletItemCustomProperty::put_AutoDetectLinks(System.Boolean)
|
|
229
|
+
@auto_detect_links.setter
|
|
230
|
+
def auto_detect_links(self, value: bool) -> None: ...
|
|
231
|
+
|
|
232
|
+
@typing.final
|
|
233
|
+
class WalletItemStore(winrt.system.Object):
|
|
234
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Wallet.WalletItemStore::AddAsync(System.String,Windows.ApplicationModel.Wallet.WalletItem)
|
|
235
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
236
|
+
def add_async(self, id: str, item: WalletItem, /) -> windows_foundation.IAsyncAction: ...
|
|
237
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Wallet.WalletItemStore::ClearAsync()
|
|
238
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
239
|
+
def clear_async(self) -> windows_foundation.IAsyncAction: ...
|
|
240
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Wallet.WalletItemStore::DeleteAsync(System.String)
|
|
241
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
242
|
+
def delete_async(self, id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
243
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Wallet.WalletItem>> Windows.ApplicationModel.Wallet.WalletItemStore::GetItemsAsync()
|
|
244
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
245
|
+
def get_items_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[WalletItem]]: ...
|
|
246
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Wallet.WalletItem>> Windows.ApplicationModel.Wallet.WalletItemStore::GetItemsAsync(Windows.ApplicationModel.Wallet.WalletItemKind)
|
|
247
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
248
|
+
def get_items_with_kind_async(self, kind: WalletItemKind, /) -> windows_foundation.IAsyncOperation[typing.Sequence[WalletItem]]: ...
|
|
249
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Wallet.WalletItem> Windows.ApplicationModel.Wallet.WalletItemStore::GetWalletItemAsync(System.String)
|
|
250
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
251
|
+
def get_wallet_item_async(self, id: str, /) -> windows_foundation.IAsyncOperation[WalletItem]: ...
|
|
252
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Wallet.WalletItem> Windows.ApplicationModel.Wallet.WalletItemStore::ImportItemAsync(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
253
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
254
|
+
def import_item_async(self, stream: windows_storage_streams.IRandomAccessStreamReference, /) -> windows_foundation.IAsyncOperation[WalletItem]: ...
|
|
255
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Wallet.WalletItemStore::ShowAsync()
|
|
256
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
257
|
+
def show_async(self) -> windows_foundation.IAsyncAction: ...
|
|
258
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Wallet.WalletItemStore::ShowAsync(System.String)
|
|
259
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
260
|
+
def show_item_async(self, id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
261
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Wallet.WalletItemStore::UpdateAsync(Windows.ApplicationModel.Wallet.WalletItem)
|
|
262
|
+
# @deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
263
|
+
def update_async(self, item: WalletItem, /) -> windows_foundation.IAsyncAction: ...
|
|
264
|
+
|
|
265
|
+
@typing.final
|
|
266
|
+
class WalletManager_Static(winrt._winrt.IInspectable_Static):
|
|
267
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Wallet.WalletItemStore> Windows.ApplicationModel.Wallet.WalletManager::RequestStoreAsync()
|
|
268
|
+
# @deprecated("IWalletManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
269
|
+
def request_store_async(cls) -> windows_foundation.IAsyncOperation[WalletItemStore]: ...
|
|
270
|
+
|
|
271
|
+
@typing.final
|
|
272
|
+
class WalletManager(winrt.system.Object, metaclass=WalletManager_Static):
|
|
273
|
+
pass
|
|
274
|
+
|
|
275
|
+
@typing.final
|
|
276
|
+
class WalletRelevantLocation(winrt.system.Object):
|
|
277
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
278
|
+
# Windows.Devices.Geolocation.BasicGeoposition Windows.ApplicationModel.Wallet.WalletRelevantLocation::get_Position()
|
|
279
|
+
@_property
|
|
280
|
+
def position(self) -> windows_devices_geolocation.BasicGeoposition: ...
|
|
281
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletRelevantLocation::put_Position(Windows.Devices.Geolocation.BasicGeoposition)
|
|
282
|
+
@position.setter
|
|
283
|
+
def position(self, value: typing.Union[windows_devices_geolocation.BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]]) -> None: ...
|
|
284
|
+
# System.String Windows.ApplicationModel.Wallet.WalletRelevantLocation::get_DisplayMessage()
|
|
285
|
+
@_property
|
|
286
|
+
def display_message(self) -> str: ...
|
|
287
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletRelevantLocation::put_DisplayMessage(System.String)
|
|
288
|
+
@display_message.setter
|
|
289
|
+
def display_message(self, value: str) -> None: ...
|
|
290
|
+
|
|
291
|
+
@typing.final
|
|
292
|
+
class WalletTransaction(winrt.system.Object):
|
|
293
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
294
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Wallet.WalletTransaction::get_TransactionDate()
|
|
295
|
+
@_property
|
|
296
|
+
def transaction_date(self) -> typing.Optional[datetime.datetime]: ...
|
|
297
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletTransaction::put_TransactionDate(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
|
|
298
|
+
@transaction_date.setter
|
|
299
|
+
def transaction_date(self, value: typing.Optional[datetime.datetime]) -> None: ...
|
|
300
|
+
# System.Boolean Windows.ApplicationModel.Wallet.WalletTransaction::get_IsLaunchable()
|
|
301
|
+
@_property
|
|
302
|
+
def is_launchable(self) -> bool: ...
|
|
303
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletTransaction::put_IsLaunchable(System.Boolean)
|
|
304
|
+
@is_launchable.setter
|
|
305
|
+
def is_launchable(self, value: bool) -> None: ...
|
|
306
|
+
# System.Boolean Windows.ApplicationModel.Wallet.WalletTransaction::get_IgnoreTimeOfDay()
|
|
307
|
+
@_property
|
|
308
|
+
def ignore_time_of_day(self) -> bool: ...
|
|
309
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletTransaction::put_IgnoreTimeOfDay(System.Boolean)
|
|
310
|
+
@ignore_time_of_day.setter
|
|
311
|
+
def ignore_time_of_day(self, value: bool) -> None: ...
|
|
312
|
+
# System.String Windows.ApplicationModel.Wallet.WalletTransaction::get_DisplayLocation()
|
|
313
|
+
@_property
|
|
314
|
+
def display_location(self) -> str: ...
|
|
315
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletTransaction::put_DisplayLocation(System.String)
|
|
316
|
+
@display_location.setter
|
|
317
|
+
def display_location(self, value: str) -> None: ...
|
|
318
|
+
# System.String Windows.ApplicationModel.Wallet.WalletTransaction::get_DisplayAmount()
|
|
319
|
+
@_property
|
|
320
|
+
def display_amount(self) -> str: ...
|
|
321
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletTransaction::put_DisplayAmount(System.String)
|
|
322
|
+
@display_amount.setter
|
|
323
|
+
def display_amount(self, value: str) -> None: ...
|
|
324
|
+
# System.String Windows.ApplicationModel.Wallet.WalletTransaction::get_Description()
|
|
325
|
+
@_property
|
|
326
|
+
def description(self) -> str: ...
|
|
327
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletTransaction::put_Description(System.String)
|
|
328
|
+
@description.setter
|
|
329
|
+
def description(self, value: str) -> None: ...
|
|
330
|
+
|
|
331
|
+
@typing.final
|
|
332
|
+
class WalletVerb(winrt.system.Object):
|
|
333
|
+
def __new__(cls: typing.Type[Self], name: str) -> Self: ...
|
|
334
|
+
# System.String Windows.ApplicationModel.Wallet.WalletVerb::get_Name()
|
|
335
|
+
@_property
|
|
336
|
+
def name(self) -> str: ...
|
|
337
|
+
# System.Void Windows.ApplicationModel.Wallet.WalletVerb::put_Name(System.String)
|
|
338
|
+
@name.setter
|
|
339
|
+
def name(self, value: str) -> None: ...
|
|
340
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_applicationmodel_wallet import (
|
|
7
|
+
WalletBarcode,
|
|
8
|
+
WalletItem,
|
|
9
|
+
WalletItemCustomProperty,
|
|
10
|
+
WalletItemStore,
|
|
11
|
+
WalletManager,
|
|
12
|
+
WalletRelevantLocation,
|
|
13
|
+
WalletTransaction,
|
|
14
|
+
WalletVerb,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"WalletActionKind",
|
|
19
|
+
"WalletBarcodeSymbology",
|
|
20
|
+
"WalletDetailViewPosition",
|
|
21
|
+
"WalletItemKind",
|
|
22
|
+
"WalletSummaryViewPosition",
|
|
23
|
+
"WalletBarcode",
|
|
24
|
+
"WalletItem",
|
|
25
|
+
"WalletItemCustomProperty",
|
|
26
|
+
"WalletItemStore",
|
|
27
|
+
"WalletManager",
|
|
28
|
+
"WalletRelevantLocation",
|
|
29
|
+
"WalletTransaction",
|
|
30
|
+
"WalletVerb",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
class WalletActionKind(enum.IntEnum):
|
|
34
|
+
OPEN_ITEM = 0
|
|
35
|
+
TRANSACTION = 1
|
|
36
|
+
MORE_TRANSACTIONS = 2
|
|
37
|
+
MESSAGE = 3
|
|
38
|
+
VERB = 4
|
|
39
|
+
|
|
40
|
+
class WalletBarcodeSymbology(enum.IntEnum):
|
|
41
|
+
INVALID = 0
|
|
42
|
+
UPCA = 1
|
|
43
|
+
UPCE = 2
|
|
44
|
+
EAN13 = 3
|
|
45
|
+
EAN8 = 4
|
|
46
|
+
ITF = 5
|
|
47
|
+
CODE39 = 6
|
|
48
|
+
CODE128 = 7
|
|
49
|
+
QR = 8
|
|
50
|
+
PDF417 = 9
|
|
51
|
+
AZTEC = 10
|
|
52
|
+
CUSTOM = 100000
|
|
53
|
+
|
|
54
|
+
class WalletDetailViewPosition(enum.IntEnum):
|
|
55
|
+
HIDDEN = 0
|
|
56
|
+
HEADER_FIELD1 = 1
|
|
57
|
+
HEADER_FIELD2 = 2
|
|
58
|
+
PRIMARY_FIELD1 = 3
|
|
59
|
+
PRIMARY_FIELD2 = 4
|
|
60
|
+
SECONDARY_FIELD1 = 5
|
|
61
|
+
SECONDARY_FIELD2 = 6
|
|
62
|
+
SECONDARY_FIELD3 = 7
|
|
63
|
+
SECONDARY_FIELD4 = 8
|
|
64
|
+
SECONDARY_FIELD5 = 9
|
|
65
|
+
CENTER_FIELD1 = 10
|
|
66
|
+
FOOTER_FIELD1 = 11
|
|
67
|
+
FOOTER_FIELD2 = 12
|
|
68
|
+
FOOTER_FIELD3 = 13
|
|
69
|
+
FOOTER_FIELD4 = 14
|
|
70
|
+
|
|
71
|
+
class WalletItemKind(enum.IntEnum):
|
|
72
|
+
INVALID = 0
|
|
73
|
+
DEAL = 1
|
|
74
|
+
GENERAL = 2
|
|
75
|
+
PAYMENT_INSTRUMENT = 3
|
|
76
|
+
TICKET = 4
|
|
77
|
+
BOARDING_PASS = 5
|
|
78
|
+
MEMBERSHIP_CARD = 6
|
|
79
|
+
|
|
80
|
+
class WalletSummaryViewPosition(enum.IntEnum):
|
|
81
|
+
HIDDEN = 0
|
|
82
|
+
FIELD1 = 1
|
|
83
|
+
FIELD2 = 2
|
|
84
|
+
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Wallet
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Devices.Geolocation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.ApplicationModel.Wallet
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Wallet` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.applicationmodel.wallet` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_wallet.cp314-win32.pyd,sha256=JAooWnvuhOdpRNw9vMUdOe-wXQKFQwJKnjq85M0PQLk,258560
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_wallet.pyi,sha256=CH2mR0wK7U3V6JZfd5oqJ-Uz_Z_J0iBcmXoK8OUtss0,23202
|
|
3
|
+
winrt/windows/applicationmodel/wallet/__init__.py,sha256=SpxIhU3MvzmBPsL_eYFk4m23wDXCnBXkMj3mj8jFy9A,1697
|
|
4
|
+
winrt/windows/applicationmodel/wallet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_wallet-3.2.1.dist-info/METADATA,sha256=CDeaGz3pAxd9mCInDwq25T4iZNNU7P4BE-YEO5vgzw4,1383
|
|
6
|
+
winrt_windows_applicationmodel_wallet-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_applicationmodel_wallet-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_wallet-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|