winrt-Windows.ApplicationModel.Payments 2.0.0b1__tar.gz → 2.0.1__tar.gz
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-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/PKG-INFO +6 -2
- winrt_windows_applicationmodel_payments-2.0.1/all-requirements.txt +4 -0
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/py.Windows.ApplicationModel.Payments.cpp +1 -1
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/pyproject.toml +7 -4
- winrt_windows_applicationmodel_payments-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/requirements.txt +2 -2
- winrt_windows_applicationmodel_payments-2.0.1/setup.py +31 -0
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/winrt/_winrt_windows_applicationmodel_payments.pyi +18 -1
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/winrt/windows/applicationmodel/payments/__init__.py +1 -1
- winrt_windows_applicationmodel_payments-2.0.1/winrt/windows/applicationmodel/payments/py.typed +0 -0
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/winrt_Windows.ApplicationModel.Payments.egg-info/PKG-INFO +6 -2
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/winrt_Windows.ApplicationModel.Payments.egg-info/SOURCES.txt +1 -0
- winrt_windows_applicationmodel_payments-2.0.1/winrt_Windows.ApplicationModel.Payments.egg-info/requires.txt +5 -0
- winrt-Windows.ApplicationModel.Payments-2.0.0b1/all-requirements.txt +0 -4
- winrt-Windows.ApplicationModel.Payments-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.ApplicationModel.Payments-2.0.0b1/setup.py +0 -17
- winrt-Windows.ApplicationModel.Payments-2.0.0b1/winrt_Windows.ApplicationModel.Payments.egg-info/requires.txt +0 -5
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/README.md +0 -0
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/winrt_Windows.ApplicationModel.Payments.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.ApplicationModel.Payments-2.0.0b1 → winrt_windows_applicationmodel_payments-2.0.1}/winrt_Windows.ApplicationModel.Payments.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Payments
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
15
19
|
|
|
16
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_applicationmodel_payments",
|
|
26
|
+
sources=["py.Windows.ApplicationModel.Payments.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -17,6 +17,7 @@ from winrt.windows.applicationmodel.payments import PaymentRequestChangedHandler
|
|
|
17
17
|
|
|
18
18
|
Self = typing.TypeVar('Self')
|
|
19
19
|
|
|
20
|
+
@typing.final
|
|
20
21
|
class PaymentAddress(winrt.system.Object):
|
|
21
22
|
@staticmethod
|
|
22
23
|
def _from(obj: winrt.system.Object, /) -> PaymentAddress: ...
|
|
@@ -68,6 +69,7 @@ class PaymentAddress(winrt.system.Object):
|
|
|
68
69
|
@_property
|
|
69
70
|
def properties(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
|
|
70
71
|
|
|
72
|
+
@typing.final
|
|
71
73
|
class PaymentCanMakePaymentResult(winrt.system.Object):
|
|
72
74
|
@staticmethod
|
|
73
75
|
def _from(obj: winrt.system.Object, /) -> PaymentCanMakePaymentResult: ...
|
|
@@ -75,6 +77,7 @@ class PaymentCanMakePaymentResult(winrt.system.Object):
|
|
|
75
77
|
@_property
|
|
76
78
|
def status(self) -> PaymentCanMakePaymentResultStatus: ...
|
|
77
79
|
|
|
80
|
+
@typing.final
|
|
78
81
|
class PaymentCurrencyAmount(winrt.system.Object):
|
|
79
82
|
@staticmethod
|
|
80
83
|
def _from(obj: winrt.system.Object, /) -> PaymentCurrencyAmount: ...
|
|
@@ -95,6 +98,7 @@ class PaymentCurrencyAmount(winrt.system.Object):
|
|
|
95
98
|
@currency.setter
|
|
96
99
|
def currency(self, value: str) -> None: ...
|
|
97
100
|
|
|
101
|
+
@typing.final
|
|
98
102
|
class PaymentDetails(winrt.system.Object):
|
|
99
103
|
@staticmethod
|
|
100
104
|
def _from(obj: winrt.system.Object, /) -> PaymentDetails: ...
|
|
@@ -121,6 +125,7 @@ class PaymentDetails(winrt.system.Object):
|
|
|
121
125
|
@display_items.setter
|
|
122
126
|
def display_items(self, value: typing.Optional[winrt.windows.foundation.collections.IVectorView[PaymentItem]]) -> None: ...
|
|
123
127
|
|
|
128
|
+
@typing.final
|
|
124
129
|
class PaymentDetailsModifier(winrt.system.Object):
|
|
125
130
|
@staticmethod
|
|
126
131
|
def _from(obj: winrt.system.Object, /) -> PaymentDetailsModifier: ...
|
|
@@ -139,6 +144,7 @@ class PaymentDetailsModifier(winrt.system.Object):
|
|
|
139
144
|
@_property
|
|
140
145
|
def total(self) -> typing.Optional[PaymentItem]: ...
|
|
141
146
|
|
|
147
|
+
@typing.final
|
|
142
148
|
class PaymentItem(winrt.system.Object):
|
|
143
149
|
@staticmethod
|
|
144
150
|
def _from(obj: winrt.system.Object, /) -> PaymentItem: ...
|
|
@@ -156,6 +162,7 @@ class PaymentItem(winrt.system.Object):
|
|
|
156
162
|
@amount.setter
|
|
157
163
|
def amount(self, value: typing.Optional[PaymentCurrencyAmount]) -> None: ...
|
|
158
164
|
|
|
165
|
+
@typing.final
|
|
159
166
|
class PaymentMediator(winrt.system.Object):
|
|
160
167
|
@staticmethod
|
|
161
168
|
def _from(obj: winrt.system.Object, /) -> PaymentMediator: ...
|
|
@@ -167,6 +174,7 @@ class PaymentMediator(winrt.system.Object):
|
|
|
167
174
|
@typing.overload
|
|
168
175
|
def submit_payment_request_async(self, payment_request: typing.Optional[PaymentRequest], change_handler: typing.Optional[PaymentRequestChangedHandler], /) -> winrt.windows.foundation.IAsyncOperation[PaymentRequestSubmitResult]: ...
|
|
169
176
|
|
|
177
|
+
@typing.final
|
|
170
178
|
class PaymentMerchantInfo(winrt.system.Object):
|
|
171
179
|
@staticmethod
|
|
172
180
|
def _from(obj: winrt.system.Object, /) -> PaymentMerchantInfo: ...
|
|
@@ -179,6 +187,7 @@ class PaymentMerchantInfo(winrt.system.Object):
|
|
|
179
187
|
@_property
|
|
180
188
|
def uri(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
|
|
181
189
|
|
|
190
|
+
@typing.final
|
|
182
191
|
class PaymentMethodData(winrt.system.Object):
|
|
183
192
|
@staticmethod
|
|
184
193
|
def _from(obj: winrt.system.Object, /) -> PaymentMethodData: ...
|
|
@@ -191,6 +200,7 @@ class PaymentMethodData(winrt.system.Object):
|
|
|
191
200
|
@_property
|
|
192
201
|
def supported_method_ids(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
193
202
|
|
|
203
|
+
@typing.final
|
|
194
204
|
class PaymentOptions(winrt.system.Object):
|
|
195
205
|
@staticmethod
|
|
196
206
|
def _from(obj: winrt.system.Object, /) -> PaymentOptions: ...
|
|
@@ -216,6 +226,7 @@ class PaymentOptions(winrt.system.Object):
|
|
|
216
226
|
@request_payer_email.setter
|
|
217
227
|
def request_payer_email(self, value: PaymentOptionPresence) -> None: ...
|
|
218
228
|
|
|
229
|
+
@typing.final
|
|
219
230
|
class PaymentRequest(winrt.system.Object):
|
|
220
231
|
@staticmethod
|
|
221
232
|
def _from(obj: winrt.system.Object, /) -> PaymentRequest: ...
|
|
@@ -238,6 +249,7 @@ class PaymentRequest(winrt.system.Object):
|
|
|
238
249
|
@_property
|
|
239
250
|
def id(self) -> str: ...
|
|
240
251
|
|
|
252
|
+
@typing.final
|
|
241
253
|
class PaymentRequestChangedArgs(winrt.system.Object):
|
|
242
254
|
@staticmethod
|
|
243
255
|
def _from(obj: winrt.system.Object, /) -> PaymentRequestChangedArgs: ...
|
|
@@ -249,6 +261,7 @@ class PaymentRequestChangedArgs(winrt.system.Object):
|
|
|
249
261
|
@_property
|
|
250
262
|
def shipping_address(self) -> typing.Optional[PaymentAddress]: ...
|
|
251
263
|
|
|
264
|
+
@typing.final
|
|
252
265
|
class PaymentRequestChangedResult(winrt.system.Object):
|
|
253
266
|
@staticmethod
|
|
254
267
|
def _from(obj: winrt.system.Object, /) -> PaymentRequestChangedResult: ...
|
|
@@ -269,6 +282,7 @@ class PaymentRequestChangedResult(winrt.system.Object):
|
|
|
269
282
|
@change_accepted_by_merchant.setter
|
|
270
283
|
def change_accepted_by_merchant(self, value: bool) -> None: ...
|
|
271
284
|
|
|
285
|
+
@typing.final
|
|
272
286
|
class PaymentRequestSubmitResult(winrt.system.Object):
|
|
273
287
|
@staticmethod
|
|
274
288
|
def _from(obj: winrt.system.Object, /) -> PaymentRequestSubmitResult: ...
|
|
@@ -277,6 +291,7 @@ class PaymentRequestSubmitResult(winrt.system.Object):
|
|
|
277
291
|
@_property
|
|
278
292
|
def status(self) -> PaymentRequestStatus: ...
|
|
279
293
|
|
|
294
|
+
@typing.final
|
|
280
295
|
class PaymentResponse(winrt.system.Object):
|
|
281
296
|
@staticmethod
|
|
282
297
|
def _from(obj: winrt.system.Object, /) -> PaymentResponse: ...
|
|
@@ -294,6 +309,7 @@ class PaymentResponse(winrt.system.Object):
|
|
|
294
309
|
@_property
|
|
295
310
|
def shipping_option(self) -> typing.Optional[PaymentShippingOption]: ...
|
|
296
311
|
|
|
312
|
+
@typing.final
|
|
297
313
|
class PaymentShippingOption(winrt.system.Object):
|
|
298
314
|
@staticmethod
|
|
299
315
|
def _from(obj: winrt.system.Object, /) -> PaymentShippingOption: ...
|
|
@@ -320,6 +336,7 @@ class PaymentShippingOption(winrt.system.Object):
|
|
|
320
336
|
@amount.setter
|
|
321
337
|
def amount(self, value: typing.Optional[PaymentCurrencyAmount]) -> None: ...
|
|
322
338
|
|
|
339
|
+
@typing.final
|
|
323
340
|
class PaymentToken(winrt.system.Object):
|
|
324
341
|
@staticmethod
|
|
325
342
|
def _from(obj: winrt.system.Object, /) -> PaymentToken: ...
|
winrt_windows_applicationmodel_payments-2.0.1/winrt/windows/applicationmodel/payments/py.typed
ADDED
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Payments
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
15
19
|
|
|
16
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
21
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_applicationmodel_payments.pyi
|
|
9
9
|
winrt/windows/applicationmodel/payments/__init__.py
|
|
10
|
+
winrt/windows/applicationmodel/payments/py.typed
|
|
10
11
|
winrt_Windows.ApplicationModel.Payments.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.ApplicationModel.Payments.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.ApplicationModel.Payments.egg-info/dependency_links.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_applicationmodel_payments",
|
|
10
|
-
sources=["py.Windows.ApplicationModel.Payments.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|