winrt-Windows.ApplicationModel.Store 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_store.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_store.pyi +268 -0
- winrt/windows/applicationmodel/store/__init__.py +54 -0
- winrt/windows/applicationmodel/store/py.typed +0 -0
- winrt_windows_applicationmodel_store-3.2.1.dist-info/METADATA +27 -0
- winrt_windows_applicationmodel_store-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_store-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_store-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,268 @@
|
|
|
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.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.storage as windows_storage
|
|
15
|
+
|
|
16
|
+
from winrt.windows.applicationmodel.store import FulfillmentResult, ProductPurchaseStatus, ProductType
|
|
17
|
+
from winrt.windows.applicationmodel.store import LicenseChangedEventHandler
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class CurrentApp_Static(winrt._winrt.IInspectable_Static):
|
|
23
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentApp::GetAppPurchaseCampaignIdAsync()
|
|
24
|
+
def get_app_purchase_campaign_id_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
25
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentApp::GetAppReceiptAsync()
|
|
26
|
+
def get_app_receipt_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
27
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentApp::GetCustomerCollectionsIdAsync(System.String,System.String)
|
|
28
|
+
def get_customer_collections_id_async(cls, service_ticket: str, publisher_user_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
29
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentApp::GetCustomerPurchaseIdAsync(System.String,System.String)
|
|
30
|
+
def get_customer_purchase_id_async(cls, service_ticket: str, publisher_user_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
31
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentApp::GetProductReceiptAsync(System.String)
|
|
32
|
+
def get_product_receipt_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
33
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.UnfulfilledConsumable>> Windows.ApplicationModel.Store.CurrentApp::GetUnfulfilledConsumablesAsync()
|
|
34
|
+
def get_unfulfilled_consumables_async(cls) -> windows_foundation.IAsyncOperation[typing.Sequence[UnfulfilledConsumable]]: ...
|
|
35
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.ListingInformation> Windows.ApplicationModel.Store.CurrentApp::LoadListingInformationAsync()
|
|
36
|
+
def load_listing_information_async(cls) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
37
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.ListingInformation> Windows.ApplicationModel.Store.CurrentApp::LoadListingInformationByKeywordsAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
38
|
+
def load_listing_information_by_keywords_async(cls, keywords: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
39
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.ListingInformation> Windows.ApplicationModel.Store.CurrentApp::LoadListingInformationByProductIdsAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
40
|
+
def load_listing_information_by_product_ids_async(cls, product_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
41
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.FulfillmentResult> Windows.ApplicationModel.Store.CurrentApp::ReportConsumableFulfillmentAsync(System.String,System.Guid)
|
|
42
|
+
def report_consumable_fulfillment_async(cls, product_id: str, transaction_id: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[FulfillmentResult]: ...
|
|
43
|
+
# System.Void Windows.ApplicationModel.Store.CurrentApp::ReportProductFulfillment(System.String)
|
|
44
|
+
def report_product_fulfillment(cls, product_id: str, /) -> None: ...
|
|
45
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentApp::RequestAppPurchaseAsync(System.Boolean)
|
|
46
|
+
def request_app_purchase_async(cls, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
47
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentApp::RequestProductPurchaseAsync(System.String,System.Boolean)
|
|
48
|
+
# @deprecated("RequestProductPurchaseAsync(productId, includeReceipt) may be altered or unavailable for releases after Windows 8.1. Instead, use RequestProductPurchaseAsync(productId).")
|
|
49
|
+
def request_product_purchase_async(cls, product_id: str, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
50
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.PurchaseResults> Windows.ApplicationModel.Store.CurrentApp::RequestProductPurchaseAsync(System.String,System.String,Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties)
|
|
51
|
+
def request_product_purchase_with_display_properties_async(cls, product_id: str, offer_id: str, display_properties: ProductPurchaseDisplayProperties, /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
52
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.PurchaseResults> Windows.ApplicationModel.Store.CurrentApp::RequestProductPurchaseAsync(System.String)
|
|
53
|
+
def request_product_purchase_with_results_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
54
|
+
# System.Guid Windows.ApplicationModel.Store.CurrentApp::get_AppId()
|
|
55
|
+
@_property
|
|
56
|
+
def app_id(cls) -> _uuid.UUID: ...
|
|
57
|
+
# Windows.ApplicationModel.Store.LicenseInformation Windows.ApplicationModel.Store.CurrentApp::get_LicenseInformation()
|
|
58
|
+
@_property
|
|
59
|
+
def license_information(cls) -> LicenseInformation: ...
|
|
60
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.Store.CurrentApp::get_LinkUri()
|
|
61
|
+
@_property
|
|
62
|
+
def link_uri(cls) -> windows_foundation.Uri: ...
|
|
63
|
+
|
|
64
|
+
@typing.final
|
|
65
|
+
class CurrentApp(winrt.system.Object, metaclass=CurrentApp_Static):
|
|
66
|
+
pass
|
|
67
|
+
|
|
68
|
+
@typing.final
|
|
69
|
+
class CurrentAppSimulator_Static(winrt._winrt.IInspectable_Static):
|
|
70
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentAppSimulator::GetAppPurchaseCampaignIdAsync()
|
|
71
|
+
def get_app_purchase_campaign_id_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
72
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentAppSimulator::GetAppReceiptAsync()
|
|
73
|
+
def get_app_receipt_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
74
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentAppSimulator::GetProductReceiptAsync(System.String)
|
|
75
|
+
def get_product_receipt_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
76
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.UnfulfilledConsumable>> Windows.ApplicationModel.Store.CurrentAppSimulator::GetUnfulfilledConsumablesAsync()
|
|
77
|
+
def get_unfulfilled_consumables_async(cls) -> windows_foundation.IAsyncOperation[typing.Sequence[UnfulfilledConsumable]]: ...
|
|
78
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.ListingInformation> Windows.ApplicationModel.Store.CurrentAppSimulator::LoadListingInformationAsync()
|
|
79
|
+
def load_listing_information_async(cls) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
80
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.ListingInformation> Windows.ApplicationModel.Store.CurrentAppSimulator::LoadListingInformationByKeywordsAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
81
|
+
def load_listing_information_by_keywords_async(cls, keywords: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
82
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.ListingInformation> Windows.ApplicationModel.Store.CurrentAppSimulator::LoadListingInformationByProductIdsAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
83
|
+
def load_listing_information_by_product_ids_async(cls, product_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
84
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Store.CurrentAppSimulator::ReloadSimulatorAsync(Windows.Storage.StorageFile)
|
|
85
|
+
def reload_simulator_async(cls, simulator_settings_file: windows_storage.StorageFile, /) -> windows_foundation.IAsyncAction: ...
|
|
86
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.FulfillmentResult> Windows.ApplicationModel.Store.CurrentAppSimulator::ReportConsumableFulfillmentAsync(System.String,System.Guid)
|
|
87
|
+
def report_consumable_fulfillment_async(cls, product_id: str, transaction_id: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[FulfillmentResult]: ...
|
|
88
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentAppSimulator::RequestAppPurchaseAsync(System.Boolean)
|
|
89
|
+
def request_app_purchase_async(cls, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
90
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Store.CurrentAppSimulator::RequestProductPurchaseAsync(System.String,System.Boolean)
|
|
91
|
+
# @deprecated("RequestProductPurchaseAsync(productId, includeReceipt) may be altered or unavailable for releases after Windows 8.1. Instead, use RequestProductPurchaseAsync(productId).")
|
|
92
|
+
def request_product_purchase_async(cls, product_id: str, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
93
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.PurchaseResults> Windows.ApplicationModel.Store.CurrentAppSimulator::RequestProductPurchaseAsync(System.String,System.String,Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties)
|
|
94
|
+
def request_product_purchase_with_display_properties_async(cls, product_id: str, offer_id: str, display_properties: ProductPurchaseDisplayProperties, /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
95
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.PurchaseResults> Windows.ApplicationModel.Store.CurrentAppSimulator::RequestProductPurchaseAsync(System.String)
|
|
96
|
+
def request_product_purchase_with_results_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
97
|
+
# System.Guid Windows.ApplicationModel.Store.CurrentAppSimulator::get_AppId()
|
|
98
|
+
@_property
|
|
99
|
+
def app_id(cls) -> _uuid.UUID: ...
|
|
100
|
+
# Windows.ApplicationModel.Store.LicenseInformation Windows.ApplicationModel.Store.CurrentAppSimulator::get_LicenseInformation()
|
|
101
|
+
@_property
|
|
102
|
+
def license_information(cls) -> LicenseInformation: ...
|
|
103
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.Store.CurrentAppSimulator::get_LinkUri()
|
|
104
|
+
@_property
|
|
105
|
+
def link_uri(cls) -> windows_foundation.Uri: ...
|
|
106
|
+
|
|
107
|
+
@typing.final
|
|
108
|
+
class CurrentAppSimulator(winrt.system.Object, metaclass=CurrentAppSimulator_Static):
|
|
109
|
+
pass
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class LicenseInformation(winrt.system.Object):
|
|
113
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Store.LicenseInformation::add_LicenseChanged(Windows.ApplicationModel.Store.LicenseChangedEventHandler)
|
|
114
|
+
def add_license_changed(self, handler: LicenseChangedEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
115
|
+
# System.Void Windows.ApplicationModel.Store.LicenseInformation::remove_LicenseChanged(Windows.Foundation.EventRegistrationToken)
|
|
116
|
+
def remove_license_changed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
117
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Store.LicenseInformation::get_ExpirationDate()
|
|
118
|
+
@_property
|
|
119
|
+
def expiration_date(self) -> datetime.datetime: ...
|
|
120
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseInformation::get_IsActive()
|
|
121
|
+
@_property
|
|
122
|
+
def is_active(self) -> bool: ...
|
|
123
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseInformation::get_IsTrial()
|
|
124
|
+
@_property
|
|
125
|
+
def is_trial(self) -> bool: ...
|
|
126
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Store.ProductLicense> Windows.ApplicationModel.Store.LicenseInformation::get_ProductLicenses()
|
|
127
|
+
@_property
|
|
128
|
+
def product_licenses(self) -> typing.Mapping[str, ProductLicense]: ...
|
|
129
|
+
|
|
130
|
+
@typing.final
|
|
131
|
+
class ListingInformation(winrt.system.Object):
|
|
132
|
+
# System.UInt32 Windows.ApplicationModel.Store.ListingInformation::get_AgeRating()
|
|
133
|
+
@_property
|
|
134
|
+
def age_rating(self) -> winrt.system.UInt32: ...
|
|
135
|
+
# System.String Windows.ApplicationModel.Store.ListingInformation::get_CurrentMarket()
|
|
136
|
+
@_property
|
|
137
|
+
def current_market(self) -> str: ...
|
|
138
|
+
# System.String Windows.ApplicationModel.Store.ListingInformation::get_Description()
|
|
139
|
+
@_property
|
|
140
|
+
def description(self) -> str: ...
|
|
141
|
+
# System.String Windows.ApplicationModel.Store.ListingInformation::get_FormattedPrice()
|
|
142
|
+
@_property
|
|
143
|
+
def formatted_price(self) -> str: ...
|
|
144
|
+
# System.String Windows.ApplicationModel.Store.ListingInformation::get_Name()
|
|
145
|
+
@_property
|
|
146
|
+
def name(self) -> str: ...
|
|
147
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Store.ProductListing> Windows.ApplicationModel.Store.ListingInformation::get_ProductListings()
|
|
148
|
+
@_property
|
|
149
|
+
def product_listings(self) -> typing.Mapping[str, ProductListing]: ...
|
|
150
|
+
# System.String Windows.ApplicationModel.Store.ListingInformation::get_CurrencyCode()
|
|
151
|
+
@_property
|
|
152
|
+
def currency_code(self) -> str: ...
|
|
153
|
+
# System.String Windows.ApplicationModel.Store.ListingInformation::get_FormattedBasePrice()
|
|
154
|
+
@_property
|
|
155
|
+
def formatted_base_price(self) -> str: ...
|
|
156
|
+
# System.Boolean Windows.ApplicationModel.Store.ListingInformation::get_IsOnSale()
|
|
157
|
+
@_property
|
|
158
|
+
def is_on_sale(self) -> bool: ...
|
|
159
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Store.ListingInformation::get_SaleEndDate()
|
|
160
|
+
@_property
|
|
161
|
+
def sale_end_date(self) -> datetime.datetime: ...
|
|
162
|
+
|
|
163
|
+
@typing.final
|
|
164
|
+
class ProductLicense(winrt.system.Object):
|
|
165
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Store.ProductLicense::get_ExpirationDate()
|
|
166
|
+
@_property
|
|
167
|
+
def expiration_date(self) -> datetime.datetime: ...
|
|
168
|
+
# System.Boolean Windows.ApplicationModel.Store.ProductLicense::get_IsActive()
|
|
169
|
+
@_property
|
|
170
|
+
def is_active(self) -> bool: ...
|
|
171
|
+
# System.String Windows.ApplicationModel.Store.ProductLicense::get_ProductId()
|
|
172
|
+
@_property
|
|
173
|
+
def product_id(self) -> str: ...
|
|
174
|
+
# System.Boolean Windows.ApplicationModel.Store.ProductLicense::get_IsConsumable()
|
|
175
|
+
@_property
|
|
176
|
+
def is_consumable(self) -> bool: ...
|
|
177
|
+
|
|
178
|
+
@typing.final
|
|
179
|
+
class ProductListing(winrt.system.Object):
|
|
180
|
+
# System.String Windows.ApplicationModel.Store.ProductListing::get_FormattedPrice()
|
|
181
|
+
@_property
|
|
182
|
+
def formatted_price(self) -> str: ...
|
|
183
|
+
# System.String Windows.ApplicationModel.Store.ProductListing::get_Name()
|
|
184
|
+
@_property
|
|
185
|
+
def name(self) -> str: ...
|
|
186
|
+
# System.String Windows.ApplicationModel.Store.ProductListing::get_ProductId()
|
|
187
|
+
@_property
|
|
188
|
+
def product_id(self) -> str: ...
|
|
189
|
+
# System.String Windows.ApplicationModel.Store.ProductListing::get_FormattedBasePrice()
|
|
190
|
+
@_property
|
|
191
|
+
def formatted_base_price(self) -> str: ...
|
|
192
|
+
# System.Boolean Windows.ApplicationModel.Store.ProductListing::get_IsOnSale()
|
|
193
|
+
@_property
|
|
194
|
+
def is_on_sale(self) -> bool: ...
|
|
195
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Store.ProductListing::get_SaleEndDate()
|
|
196
|
+
@_property
|
|
197
|
+
def sale_end_date(self) -> datetime.datetime: ...
|
|
198
|
+
# System.String Windows.ApplicationModel.Store.ProductListing::get_CurrencyCode()
|
|
199
|
+
@_property
|
|
200
|
+
def currency_code(self) -> str: ...
|
|
201
|
+
# System.String Windows.ApplicationModel.Store.ProductListing::get_Description()
|
|
202
|
+
@_property
|
|
203
|
+
def description(self) -> str: ...
|
|
204
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.Store.ProductListing::get_ImageUri()
|
|
205
|
+
@_property
|
|
206
|
+
def image_uri(self) -> windows_foundation.Uri: ...
|
|
207
|
+
# Windows.Foundation.Collections.IIterable`1<System.String> Windows.ApplicationModel.Store.ProductListing::get_Keywords()
|
|
208
|
+
@_property
|
|
209
|
+
def keywords(self) -> typing.Iterable[str]: ...
|
|
210
|
+
# System.String Windows.ApplicationModel.Store.ProductListing::get_Tag()
|
|
211
|
+
@_property
|
|
212
|
+
def tag(self) -> str: ...
|
|
213
|
+
# Windows.ApplicationModel.Store.ProductType Windows.ApplicationModel.Store.ProductListing::get_ProductType()
|
|
214
|
+
@_property
|
|
215
|
+
def product_type(self) -> ProductType: ...
|
|
216
|
+
|
|
217
|
+
@typing.final
|
|
218
|
+
class ProductPurchaseDisplayProperties(winrt.system.Object):
|
|
219
|
+
@typing.overload
|
|
220
|
+
def __new__(cls: typing.Type[Self], name: str) -> Self: ...
|
|
221
|
+
@typing.overload
|
|
222
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
223
|
+
# System.String Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties::get_Name()
|
|
224
|
+
@_property
|
|
225
|
+
def name(self) -> str: ...
|
|
226
|
+
# System.Void Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties::put_Name(System.String)
|
|
227
|
+
@name.setter
|
|
228
|
+
def name(self, value: str) -> None: ...
|
|
229
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties::get_Image()
|
|
230
|
+
@_property
|
|
231
|
+
def image(self) -> windows_foundation.Uri: ...
|
|
232
|
+
# System.Void Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties::put_Image(Windows.Foundation.Uri)
|
|
233
|
+
@image.setter
|
|
234
|
+
def image(self, value: windows_foundation.Uri) -> None: ...
|
|
235
|
+
# System.String Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties::get_Description()
|
|
236
|
+
@_property
|
|
237
|
+
def description(self) -> str: ...
|
|
238
|
+
# System.Void Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties::put_Description(System.String)
|
|
239
|
+
@description.setter
|
|
240
|
+
def description(self, value: str) -> None: ...
|
|
241
|
+
|
|
242
|
+
@typing.final
|
|
243
|
+
class PurchaseResults(winrt.system.Object):
|
|
244
|
+
# System.String Windows.ApplicationModel.Store.PurchaseResults::get_OfferId()
|
|
245
|
+
@_property
|
|
246
|
+
def offer_id(self) -> str: ...
|
|
247
|
+
# System.String Windows.ApplicationModel.Store.PurchaseResults::get_ReceiptXml()
|
|
248
|
+
@_property
|
|
249
|
+
def receipt_xml(self) -> str: ...
|
|
250
|
+
# Windows.ApplicationModel.Store.ProductPurchaseStatus Windows.ApplicationModel.Store.PurchaseResults::get_Status()
|
|
251
|
+
@_property
|
|
252
|
+
def status(self) -> ProductPurchaseStatus: ...
|
|
253
|
+
# System.Guid Windows.ApplicationModel.Store.PurchaseResults::get_TransactionId()
|
|
254
|
+
@_property
|
|
255
|
+
def transaction_id(self) -> _uuid.UUID: ...
|
|
256
|
+
|
|
257
|
+
@typing.final
|
|
258
|
+
class UnfulfilledConsumable(winrt.system.Object):
|
|
259
|
+
# System.String Windows.ApplicationModel.Store.UnfulfilledConsumable::get_OfferId()
|
|
260
|
+
@_property
|
|
261
|
+
def offer_id(self) -> str: ...
|
|
262
|
+
# System.String Windows.ApplicationModel.Store.UnfulfilledConsumable::get_ProductId()
|
|
263
|
+
@_property
|
|
264
|
+
def product_id(self) -> str: ...
|
|
265
|
+
# System.Guid Windows.ApplicationModel.Store.UnfulfilledConsumable::get_TransactionId()
|
|
266
|
+
@_property
|
|
267
|
+
def transaction_id(self) -> _uuid.UUID: ...
|
|
268
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt._winrt_windows_applicationmodel_store import (
|
|
9
|
+
CurrentApp,
|
|
10
|
+
CurrentAppSimulator,
|
|
11
|
+
LicenseInformation,
|
|
12
|
+
ListingInformation,
|
|
13
|
+
ProductLicense,
|
|
14
|
+
ProductListing,
|
|
15
|
+
ProductPurchaseDisplayProperties,
|
|
16
|
+
PurchaseResults,
|
|
17
|
+
UnfulfilledConsumable,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"FulfillmentResult",
|
|
22
|
+
"ProductPurchaseStatus",
|
|
23
|
+
"ProductType",
|
|
24
|
+
"CurrentApp",
|
|
25
|
+
"CurrentAppSimulator",
|
|
26
|
+
"LicenseInformation",
|
|
27
|
+
"ListingInformation",
|
|
28
|
+
"ProductLicense",
|
|
29
|
+
"ProductListing",
|
|
30
|
+
"ProductPurchaseDisplayProperties",
|
|
31
|
+
"PurchaseResults",
|
|
32
|
+
"UnfulfilledConsumable",
|
|
33
|
+
"LicenseChangedEventHandler",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
class FulfillmentResult(enum.IntEnum):
|
|
37
|
+
SUCCEEDED = 0
|
|
38
|
+
NOTHING_TO_FULFILL = 1
|
|
39
|
+
PURCHASE_PENDING = 2
|
|
40
|
+
PURCHASE_REVERTED = 3
|
|
41
|
+
SERVER_ERROR = 4
|
|
42
|
+
|
|
43
|
+
class ProductPurchaseStatus(enum.IntEnum):
|
|
44
|
+
SUCCEEDED = 0
|
|
45
|
+
ALREADY_PURCHASED = 1
|
|
46
|
+
NOT_FULFILLED = 2
|
|
47
|
+
NOT_PURCHASED = 3
|
|
48
|
+
|
|
49
|
+
class ProductType(enum.IntEnum):
|
|
50
|
+
UNKNOWN = 0
|
|
51
|
+
DURABLE = 1
|
|
52
|
+
CONSUMABLE = 2
|
|
53
|
+
|
|
54
|
+
LicenseChangedEventHandler = typing.Callable[[], None]
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Store
|
|
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.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
|
|
21
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
|
+
|
|
23
|
+
# winrt-Windows.ApplicationModel.Store
|
|
24
|
+
|
|
25
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Store` namespace.
|
|
26
|
+
|
|
27
|
+
This package provides the `winrt.windows.applicationmodel.store` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_store.cp314-win32.pyd,sha256=t63U6KjgLn3Ku9uhHRUCA7HzGlsVkweVWOs_890f9No,252928
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_store.pyi,sha256=HOrGdD1EnQWP-bAu7IUw2Uhm_5x7GTgThGvPS2L_Hgk,19033
|
|
3
|
+
winrt/windows/applicationmodel/store/__init__.py,sha256=z0WWybzo-cfkC0U-a_sD-u7glBcgBKqS6A2ey9K_46A,1209
|
|
4
|
+
winrt/windows/applicationmodel/store/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_store-3.2.1.dist-info/METADATA,sha256=ODzekTWojprlKDcrhbTV1GM6RtG0w65CF9NL-2qHb10,1228
|
|
6
|
+
winrt_windows_applicationmodel_store-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_applicationmodel_store-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_store-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|