pulumi-stripe 0.0.22__tar.gz → 0.0.23__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.
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/PKG-INFO +2 -2
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/_inputs.py +10 -2
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/_utilities.py +43 -2
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/card.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/coupon.py +52 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/customer.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/file.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/outputs.py +10 -2
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/portal_configuration.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/price.py +6 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/product.py +4 -10
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/promotion_code.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/shipping_rate.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/tax_rate.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/webhook_endpoint.py +4 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe.egg-info/PKG-INFO +2 -2
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/setup.py +2 -2
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/README.md +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/__init__.py +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/config/__init__.py +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/config/vars.py +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/provider.py +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/pulumi-plugin.json +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe/py.typed +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe.egg-info/SOURCES.txt +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe.egg-info/dependency_links.txt +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe.egg-info/not-zip-safe +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe.egg-info/requires.txt +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/pulumi_stripe.egg-info/top_level.txt +0 -0
- {pulumi_stripe-0.0.22 → pulumi_stripe-0.0.23}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulumi_stripe
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.23
|
|
4
4
|
Summary: A Pulumi package for creating and managing Stripe resources.
|
|
5
5
|
Home-page: https://www.pulumi.com
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Project-URL: Repository, https://github.com/georgegebbett/pulumi-stripe
|
|
8
8
|
Keywords: pulumi stripe category/cloud
|
|
9
9
|
Platform: UNKNOWN
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
|
|
13
13
|
# Stripe Resource Provider
|
|
@@ -718,6 +718,7 @@ class PortalConfigurationLoginPageArgs:
|
|
|
718
718
|
url: Optional[pulumi.Input[str]] = None):
|
|
719
719
|
"""
|
|
720
720
|
:param pulumi.Input[bool] enabled: Bool. Set to true to generate a shareable URL login_page.url that will take your customers to a hosted login page for the customer portal.
|
|
721
|
+
:param pulumi.Input[str] url: A shareable URL to the hosted portal login page. Your customers will be able to log in with their email and receive a link to their customer portal.
|
|
721
722
|
"""
|
|
722
723
|
if enabled is not None:
|
|
723
724
|
pulumi.set(__self__, "enabled", enabled)
|
|
@@ -739,6 +740,9 @@ class PortalConfigurationLoginPageArgs:
|
|
|
739
740
|
@property
|
|
740
741
|
@pulumi.getter
|
|
741
742
|
def url(self) -> Optional[pulumi.Input[str]]:
|
|
743
|
+
"""
|
|
744
|
+
A shareable URL to the hosted portal login page. Your customers will be able to log in with their email and receive a link to their customer portal.
|
|
745
|
+
"""
|
|
742
746
|
return pulumi.get(self, "url")
|
|
743
747
|
|
|
744
748
|
@url.setter
|
|
@@ -1044,7 +1048,7 @@ class PriceRecurringArgs:
|
|
|
1044
1048
|
Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage
|
|
1045
1049
|
record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max`
|
|
1046
1050
|
which uses the usage record with the maximum reported usage during a period.
|
|
1047
|
-
:param pulumi.Input[int] interval_count: Int. The number of intervals between subscription billings. For
|
|
1051
|
+
:param pulumi.Input[int] interval_count: Int. This parameter is (Required) when interval value is set. The number of intervals between subscription billings. For
|
|
1048
1052
|
example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year,
|
|
1049
1053
|
12 months, or 52 weeks).
|
|
1050
1054
|
:param pulumi.Input[str] usage_type: String. Configures how the quantity per period should be determined. Can be either `metered`
|
|
@@ -1090,7 +1094,7 @@ class PriceRecurringArgs:
|
|
|
1090
1094
|
@pulumi.getter(name="intervalCount")
|
|
1091
1095
|
def interval_count(self) -> Optional[pulumi.Input[int]]:
|
|
1092
1096
|
"""
|
|
1093
|
-
Int. The number of intervals between subscription billings. For
|
|
1097
|
+
Int. This parameter is (Required) when interval value is set. The number of intervals between subscription billings. For
|
|
1094
1098
|
example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year,
|
|
1095
1099
|
12 months, or 52 weeks).
|
|
1096
1100
|
"""
|
|
@@ -1478,6 +1482,7 @@ class ShippingRateFixedAmountCurrencyOptionArgs:
|
|
|
1478
1482
|
"""
|
|
1479
1483
|
:param pulumi.Input[int] amount: Int. (Required) Int. A non-negative integer in cents representing how much to charge.
|
|
1480
1484
|
:param pulumi.Input[str] currency: String. Three-letter ISO currency code, in lowercase - [supported currencies](https://stripe.com/docs/currencies).
|
|
1485
|
+
:param pulumi.Input[str] tax_behavior: Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.
|
|
1481
1486
|
"""
|
|
1482
1487
|
pulumi.set(__self__, "amount", amount)
|
|
1483
1488
|
pulumi.set(__self__, "currency", currency)
|
|
@@ -1511,6 +1516,9 @@ class ShippingRateFixedAmountCurrencyOptionArgs:
|
|
|
1511
1516
|
@property
|
|
1512
1517
|
@pulumi.getter(name="taxBehavior")
|
|
1513
1518
|
def tax_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
1519
|
+
"""
|
|
1520
|
+
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.
|
|
1521
|
+
"""
|
|
1514
1522
|
return pulumi.get(self, "tax_behavior")
|
|
1515
1523
|
|
|
1516
1524
|
@tax_behavior.setter
|
|
@@ -3,16 +3,18 @@
|
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
import asyncio
|
|
7
|
+
import importlib.metadata
|
|
6
8
|
import importlib.util
|
|
7
9
|
import inspect
|
|
8
10
|
import json
|
|
9
11
|
import os
|
|
10
|
-
import pkg_resources
|
|
11
12
|
import sys
|
|
12
13
|
import typing
|
|
13
14
|
|
|
14
15
|
import pulumi
|
|
15
16
|
import pulumi.runtime
|
|
17
|
+
from pulumi.runtime.sync_await import _sync_await
|
|
16
18
|
|
|
17
19
|
from semver import VersionInfo as SemverVersion
|
|
18
20
|
from parver import Version as PEP440Version
|
|
@@ -70,7 +72,7 @@ def _get_semver_version():
|
|
|
70
72
|
# to receive a valid semver string when receiving requests from the language host, so it's our
|
|
71
73
|
# responsibility as the library to convert our own PEP440 version into a valid semver string.
|
|
72
74
|
|
|
73
|
-
pep440_version_string =
|
|
75
|
+
pep440_version_string = importlib.metadata.version(root_package)
|
|
74
76
|
pep440_version = PEP440Version.parse(pep440_version_string)
|
|
75
77
|
(major, minor, patch) = pep440_version.release
|
|
76
78
|
prerelease = None
|
|
@@ -246,5 +248,44 @@ def lift_output_func(func: typing.Any) -> typing.Callable[[_F], _F]:
|
|
|
246
248
|
|
|
247
249
|
return (lambda _: lifted_func)
|
|
248
250
|
|
|
251
|
+
|
|
252
|
+
def call_plain(
|
|
253
|
+
tok: str,
|
|
254
|
+
props: pulumi.Inputs,
|
|
255
|
+
res: typing.Optional[pulumi.Resource] = None,
|
|
256
|
+
typ: typing.Optional[type] = None,
|
|
257
|
+
) -> typing.Any:
|
|
258
|
+
"""
|
|
259
|
+
Wraps pulumi.runtime.plain to force the output and return it plainly.
|
|
260
|
+
"""
|
|
261
|
+
|
|
262
|
+
output = pulumi.runtime.call(tok, props, res, typ)
|
|
263
|
+
|
|
264
|
+
# Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
265
|
+
result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output)))
|
|
266
|
+
|
|
267
|
+
problem = None
|
|
268
|
+
if not known:
|
|
269
|
+
problem = ' an unknown value'
|
|
270
|
+
elif secret:
|
|
271
|
+
problem = ' a secret value'
|
|
272
|
+
|
|
273
|
+
if problem:
|
|
274
|
+
raise AssertionError(
|
|
275
|
+
f"Plain resource method '{tok}' incorrectly returned {problem}. "
|
|
276
|
+
+ "This is an error in the provider, please report this to the provider developer."
|
|
277
|
+
)
|
|
278
|
+
|
|
279
|
+
return result
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bool, bool, set]:
|
|
283
|
+
return (
|
|
284
|
+
await o._future,
|
|
285
|
+
await o._is_known,
|
|
286
|
+
await o._is_secret,
|
|
287
|
+
await o._resources,
|
|
288
|
+
)
|
|
289
|
+
|
|
249
290
|
def get_plugin_download_url():
|
|
250
291
|
return "github://api.github.com/georgegebbett"
|
|
@@ -488,6 +488,7 @@ class Card(pulumi.CustomResource):
|
|
|
488
488
|
"""
|
|
489
489
|
## Example Usage
|
|
490
490
|
|
|
491
|
+
<!--Start PulumiCodeChooser -->
|
|
491
492
|
```python
|
|
492
493
|
import pulumi
|
|
493
494
|
import pulumi_stripe as stripe
|
|
@@ -515,6 +516,7 @@ class Card(pulumi.CustomResource):
|
|
|
515
516
|
"country": "Australia",
|
|
516
517
|
})
|
|
517
518
|
```
|
|
519
|
+
<!--End PulumiCodeChooser -->
|
|
518
520
|
|
|
519
521
|
:param str resource_name: The name of the resource.
|
|
520
522
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -539,6 +541,7 @@ class Card(pulumi.CustomResource):
|
|
|
539
541
|
"""
|
|
540
542
|
## Example Usage
|
|
541
543
|
|
|
544
|
+
<!--Start PulumiCodeChooser -->
|
|
542
545
|
```python
|
|
543
546
|
import pulumi
|
|
544
547
|
import pulumi_stripe as stripe
|
|
@@ -566,6 +569,7 @@ class Card(pulumi.CustomResource):
|
|
|
566
569
|
"country": "Australia",
|
|
567
570
|
})
|
|
568
571
|
```
|
|
572
|
+
<!--End PulumiCodeChooser -->
|
|
569
573
|
|
|
570
574
|
:param str resource_name: The name of the resource.
|
|
571
575
|
:param CardArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -437,6 +437,32 @@ class Coupon(pulumi.CustomResource):
|
|
|
437
437
|
|
|
438
438
|
For example, an invoice with a subtotal of $100 will have a final total of $0 if a coupon with an amount_off of 20000 is applied to it and an invoice with a subtotal of $300 will have a final total of $100 if a coupon with an amount_off of 20000 is applied to it.
|
|
439
439
|
|
|
440
|
+
## Example Usage
|
|
441
|
+
|
|
442
|
+
<!--Start PulumiCodeChooser -->
|
|
443
|
+
```python
|
|
444
|
+
import pulumi
|
|
445
|
+
import pulumi_stripe as stripe
|
|
446
|
+
|
|
447
|
+
# coupon for the amount off discount
|
|
448
|
+
coupon_coupon = stripe.Coupon("couponCoupon",
|
|
449
|
+
amount_off=1000,
|
|
450
|
+
currency="aud",
|
|
451
|
+
duration="once",
|
|
452
|
+
max_redemptions=10)
|
|
453
|
+
# coupon for the percentage off discount
|
|
454
|
+
coupon_index_coupon_coupon = stripe.Coupon("couponIndex/couponCoupon",
|
|
455
|
+
percent_off=33.3,
|
|
456
|
+
duration="forever")
|
|
457
|
+
# coupon with limitation to a date and the product only
|
|
458
|
+
coupon_stripe_index_coupon_coupon = stripe.Coupon("couponStripeIndex/couponCoupon",
|
|
459
|
+
amount_off=2000,
|
|
460
|
+
duration="once",
|
|
461
|
+
redeem_by="2025-07-23T03:27:06+00:00",
|
|
462
|
+
applies_tos=[stripe_product["product"]["id"]])
|
|
463
|
+
```
|
|
464
|
+
<!--End PulumiCodeChooser -->
|
|
465
|
+
|
|
440
466
|
:param str resource_name: The name of the resource.
|
|
441
467
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
442
468
|
:param pulumi.Input[int] amount_off: Int. Amount (in the currency specified) that will be taken off the subtotal of any invoices for this customer.
|
|
@@ -466,6 +492,32 @@ class Coupon(pulumi.CustomResource):
|
|
|
466
492
|
|
|
467
493
|
For example, an invoice with a subtotal of $100 will have a final total of $0 if a coupon with an amount_off of 20000 is applied to it and an invoice with a subtotal of $300 will have a final total of $100 if a coupon with an amount_off of 20000 is applied to it.
|
|
468
494
|
|
|
495
|
+
## Example Usage
|
|
496
|
+
|
|
497
|
+
<!--Start PulumiCodeChooser -->
|
|
498
|
+
```python
|
|
499
|
+
import pulumi
|
|
500
|
+
import pulumi_stripe as stripe
|
|
501
|
+
|
|
502
|
+
# coupon for the amount off discount
|
|
503
|
+
coupon_coupon = stripe.Coupon("couponCoupon",
|
|
504
|
+
amount_off=1000,
|
|
505
|
+
currency="aud",
|
|
506
|
+
duration="once",
|
|
507
|
+
max_redemptions=10)
|
|
508
|
+
# coupon for the percentage off discount
|
|
509
|
+
coupon_index_coupon_coupon = stripe.Coupon("couponIndex/couponCoupon",
|
|
510
|
+
percent_off=33.3,
|
|
511
|
+
duration="forever")
|
|
512
|
+
# coupon with limitation to a date and the product only
|
|
513
|
+
coupon_stripe_index_coupon_coupon = stripe.Coupon("couponStripeIndex/couponCoupon",
|
|
514
|
+
amount_off=2000,
|
|
515
|
+
duration="once",
|
|
516
|
+
redeem_by="2025-07-23T03:27:06+00:00",
|
|
517
|
+
applies_tos=[stripe_product["product"]["id"]])
|
|
518
|
+
```
|
|
519
|
+
<!--End PulumiCodeChooser -->
|
|
520
|
+
|
|
469
521
|
:param str resource_name: The name of the resource.
|
|
470
522
|
:param CouponArgs args: The arguments to use to populate this resource's properties.
|
|
471
523
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -453,6 +453,7 @@ class Customer(pulumi.CustomResource):
|
|
|
453
453
|
|
|
454
454
|
## Example Usage
|
|
455
455
|
|
|
456
|
+
<!--Start PulumiCodeChooser -->
|
|
456
457
|
```python
|
|
457
458
|
import pulumi
|
|
458
459
|
import pulumi_stripe as stripe
|
|
@@ -481,6 +482,7 @@ class Customer(pulumi.CustomResource):
|
|
|
481
482
|
"state": "New South Wales",
|
|
482
483
|
})
|
|
483
484
|
```
|
|
485
|
+
<!--End PulumiCodeChooser -->
|
|
484
486
|
|
|
485
487
|
:param str resource_name: The name of the resource.
|
|
486
488
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -511,6 +513,7 @@ class Customer(pulumi.CustomResource):
|
|
|
511
513
|
|
|
512
514
|
## Example Usage
|
|
513
515
|
|
|
516
|
+
<!--Start PulumiCodeChooser -->
|
|
514
517
|
```python
|
|
515
518
|
import pulumi
|
|
516
519
|
import pulumi_stripe as stripe
|
|
@@ -539,6 +542,7 @@ class Customer(pulumi.CustomResource):
|
|
|
539
542
|
"state": "New South Wales",
|
|
540
543
|
})
|
|
541
544
|
```
|
|
545
|
+
<!--End PulumiCodeChooser -->
|
|
542
546
|
|
|
543
547
|
:param str resource_name: The name of the resource.
|
|
544
548
|
:param CustomerArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -300,6 +300,7 @@ class File(pulumi.CustomResource):
|
|
|
300
300
|
|
|
301
301
|
## Example Usage
|
|
302
302
|
|
|
303
|
+
<!--Start PulumiCodeChooser -->
|
|
303
304
|
```python
|
|
304
305
|
import pulumi
|
|
305
306
|
import base64
|
|
@@ -320,6 +321,7 @@ class File(pulumi.CustomResource):
|
|
|
320
321
|
expires_at=1826659124,
|
|
321
322
|
))
|
|
322
323
|
```
|
|
324
|
+
<!--End PulumiCodeChooser -->
|
|
323
325
|
|
|
324
326
|
:param str resource_name: The name of the resource.
|
|
325
327
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -347,6 +349,7 @@ class File(pulumi.CustomResource):
|
|
|
347
349
|
|
|
348
350
|
## Example Usage
|
|
349
351
|
|
|
352
|
+
<!--Start PulumiCodeChooser -->
|
|
350
353
|
```python
|
|
351
354
|
import pulumi
|
|
352
355
|
import base64
|
|
@@ -367,6 +370,7 @@ class File(pulumi.CustomResource):
|
|
|
367
370
|
expires_at=1826659124,
|
|
368
371
|
))
|
|
369
372
|
```
|
|
373
|
+
<!--End PulumiCodeChooser -->
|
|
370
374
|
|
|
371
375
|
:param str resource_name: The name of the resource.
|
|
372
376
|
:param FileArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -706,6 +706,7 @@ class PortalConfigurationLoginPage(dict):
|
|
|
706
706
|
url: Optional[str] = None):
|
|
707
707
|
"""
|
|
708
708
|
:param bool enabled: Bool. Set to true to generate a shareable URL login_page.url that will take your customers to a hosted login page for the customer portal.
|
|
709
|
+
:param str url: A shareable URL to the hosted portal login page. Your customers will be able to log in with their email and receive a link to their customer portal.
|
|
709
710
|
"""
|
|
710
711
|
if enabled is not None:
|
|
711
712
|
pulumi.set(__self__, "enabled", enabled)
|
|
@@ -723,6 +724,9 @@ class PortalConfigurationLoginPage(dict):
|
|
|
723
724
|
@property
|
|
724
725
|
@pulumi.getter
|
|
725
726
|
def url(self) -> Optional[str]:
|
|
727
|
+
"""
|
|
728
|
+
A shareable URL to the hosted portal login page. Your customers will be able to log in with their email and receive a link to their customer portal.
|
|
729
|
+
"""
|
|
726
730
|
return pulumi.get(self, "url")
|
|
727
731
|
|
|
728
732
|
|
|
@@ -1033,7 +1037,7 @@ class PriceRecurring(dict):
|
|
|
1033
1037
|
Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage
|
|
1034
1038
|
record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max`
|
|
1035
1039
|
which uses the usage record with the maximum reported usage during a period.
|
|
1036
|
-
:param int interval_count: Int. The number of intervals between subscription billings. For
|
|
1040
|
+
:param int interval_count: Int. This parameter is (Required) when interval value is set. The number of intervals between subscription billings. For
|
|
1037
1041
|
example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year,
|
|
1038
1042
|
12 months, or 52 weeks).
|
|
1039
1043
|
:param str usage_type: String. Configures how the quantity per period should be determined. Can be either `metered`
|
|
@@ -1071,7 +1075,7 @@ class PriceRecurring(dict):
|
|
|
1071
1075
|
@pulumi.getter(name="intervalCount")
|
|
1072
1076
|
def interval_count(self) -> Optional[int]:
|
|
1073
1077
|
"""
|
|
1074
|
-
Int. The number of intervals between subscription billings. For
|
|
1078
|
+
Int. This parameter is (Required) when interval value is set. The number of intervals between subscription billings. For
|
|
1075
1079
|
example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year,
|
|
1076
1080
|
12 months, or 52 weeks).
|
|
1077
1081
|
"""
|
|
@@ -1472,6 +1476,7 @@ class ShippingRateFixedAmountCurrencyOption(dict):
|
|
|
1472
1476
|
"""
|
|
1473
1477
|
:param int amount: Int. (Required) Int. A non-negative integer in cents representing how much to charge.
|
|
1474
1478
|
:param str currency: String. Three-letter ISO currency code, in lowercase - [supported currencies](https://stripe.com/docs/currencies).
|
|
1479
|
+
:param str tax_behavior: Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.
|
|
1475
1480
|
"""
|
|
1476
1481
|
pulumi.set(__self__, "amount", amount)
|
|
1477
1482
|
pulumi.set(__self__, "currency", currency)
|
|
@@ -1497,6 +1502,9 @@ class ShippingRateFixedAmountCurrencyOption(dict):
|
|
|
1497
1502
|
@property
|
|
1498
1503
|
@pulumi.getter(name="taxBehavior")
|
|
1499
1504
|
def tax_behavior(self) -> Optional[str]:
|
|
1505
|
+
"""
|
|
1506
|
+
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.
|
|
1507
|
+
"""
|
|
1500
1508
|
return pulumi.get(self, "tax_behavior")
|
|
1501
1509
|
|
|
1502
1510
|
|
|
@@ -260,6 +260,7 @@ class PortalConfiguration(pulumi.CustomResource):
|
|
|
260
260
|
|
|
261
261
|
## Example Usage
|
|
262
262
|
|
|
263
|
+
<!--Start PulumiCodeChooser -->
|
|
263
264
|
```python
|
|
264
265
|
import pulumi
|
|
265
266
|
import pulumi_stripe as stripe
|
|
@@ -331,6 +332,7 @@ class PortalConfiguration(pulumi.CustomResource):
|
|
|
331
332
|
"foo": "bar",
|
|
332
333
|
})
|
|
333
334
|
```
|
|
335
|
+
<!--End PulumiCodeChooser -->
|
|
334
336
|
|
|
335
337
|
:param str resource_name: The name of the resource.
|
|
336
338
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -360,6 +362,7 @@ class PortalConfiguration(pulumi.CustomResource):
|
|
|
360
362
|
|
|
361
363
|
## Example Usage
|
|
362
364
|
|
|
365
|
+
<!--Start PulumiCodeChooser -->
|
|
363
366
|
```python
|
|
364
367
|
import pulumi
|
|
365
368
|
import pulumi_stripe as stripe
|
|
@@ -431,6 +434,7 @@ class PortalConfiguration(pulumi.CustomResource):
|
|
|
431
434
|
"foo": "bar",
|
|
432
435
|
})
|
|
433
436
|
```
|
|
437
|
+
<!--End PulumiCodeChooser -->
|
|
434
438
|
|
|
435
439
|
:param str resource_name: The name of the resource.
|
|
436
440
|
:param PortalConfigurationArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -668,6 +668,7 @@ class Price(pulumi.CustomResource):
|
|
|
668
668
|
|
|
669
669
|
## Example Usage
|
|
670
670
|
|
|
671
|
+
<!--Start PulumiCodeChooser -->
|
|
671
672
|
```python
|
|
672
673
|
import pulumi
|
|
673
674
|
import pulumi_stripe as stripe
|
|
@@ -719,6 +720,8 @@ class Price(pulumi.CustomResource):
|
|
|
719
720
|
usage_type="metered",
|
|
720
721
|
))
|
|
721
722
|
```
|
|
723
|
+
<!--End PulumiCodeChooser -->
|
|
724
|
+
|
|
722
725
|
## Note on updating prices
|
|
723
726
|
|
|
724
727
|
Once created, you can update the `active`, `metadata`, `nickname`, `lookup_key`, `tax_behaviour` (only if unspecified)
|
|
@@ -786,6 +789,7 @@ class Price(pulumi.CustomResource):
|
|
|
786
789
|
|
|
787
790
|
## Example Usage
|
|
788
791
|
|
|
792
|
+
<!--Start PulumiCodeChooser -->
|
|
789
793
|
```python
|
|
790
794
|
import pulumi
|
|
791
795
|
import pulumi_stripe as stripe
|
|
@@ -837,6 +841,8 @@ class Price(pulumi.CustomResource):
|
|
|
837
841
|
usage_type="metered",
|
|
838
842
|
))
|
|
839
843
|
```
|
|
844
|
+
<!--End PulumiCodeChooser -->
|
|
845
|
+
|
|
840
846
|
## Note on updating prices
|
|
841
847
|
|
|
842
848
|
Once created, you can update the `active`, `metadata`, `nickname`, `lookup_key`, `tax_behaviour` (only if unspecified)
|
|
@@ -463,13 +463,9 @@ class Product(pulumi.CustomResource):
|
|
|
463
463
|
url: Optional[pulumi.Input[str]] = None,
|
|
464
464
|
__props__=None):
|
|
465
465
|
"""
|
|
466
|
-
With this resource, you can create a product - [Stripe API product documentation](https://stripe.com/docs/api/products).
|
|
467
|
-
|
|
468
|
-
Products describe the specific goods or services you offer to your customers. For example,
|
|
469
|
-
you might offer a Standard and Premium version of your goods or service; each version would be a separate Product.
|
|
470
|
-
|
|
471
466
|
## Example Usage
|
|
472
467
|
|
|
468
|
+
<!--Start PulumiCodeChooser -->
|
|
473
469
|
```python
|
|
474
470
|
import pulumi
|
|
475
471
|
import pulumi_stripe as stripe
|
|
@@ -480,6 +476,7 @@ class Product(pulumi.CustomResource):
|
|
|
480
476
|
unit_label="piece",
|
|
481
477
|
url="https://www.terraform.io")
|
|
482
478
|
```
|
|
479
|
+
<!--End PulumiCodeChooser -->
|
|
483
480
|
|
|
484
481
|
:param str resource_name: The name of the resource.
|
|
485
482
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -504,13 +501,9 @@ class Product(pulumi.CustomResource):
|
|
|
504
501
|
args: Optional[ProductArgs] = None,
|
|
505
502
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
506
503
|
"""
|
|
507
|
-
With this resource, you can create a product - [Stripe API product documentation](https://stripe.com/docs/api/products).
|
|
508
|
-
|
|
509
|
-
Products describe the specific goods or services you offer to your customers. For example,
|
|
510
|
-
you might offer a Standard and Premium version of your goods or service; each version would be a separate Product.
|
|
511
|
-
|
|
512
504
|
## Example Usage
|
|
513
505
|
|
|
506
|
+
<!--Start PulumiCodeChooser -->
|
|
514
507
|
```python
|
|
515
508
|
import pulumi
|
|
516
509
|
import pulumi_stripe as stripe
|
|
@@ -521,6 +514,7 @@ class Product(pulumi.CustomResource):
|
|
|
521
514
|
unit_label="piece",
|
|
522
515
|
url="https://www.terraform.io")
|
|
523
516
|
```
|
|
517
|
+
<!--End PulumiCodeChooser -->
|
|
524
518
|
|
|
525
519
|
:param str resource_name: The name of the resource.
|
|
526
520
|
:param ProductArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -307,6 +307,7 @@ class PromotionCode(pulumi.CustomResource):
|
|
|
307
307
|
|
|
308
308
|
## Example Usage
|
|
309
309
|
|
|
310
|
+
<!--Start PulumiCodeChooser -->
|
|
310
311
|
```python
|
|
311
312
|
import pulumi
|
|
312
313
|
import pulumi_stripe as stripe
|
|
@@ -336,6 +337,7 @@ class PromotionCode(pulumi.CustomResource):
|
|
|
336
337
|
minimum_amount_currency="aud",
|
|
337
338
|
))
|
|
338
339
|
```
|
|
340
|
+
<!--End PulumiCodeChooser -->
|
|
339
341
|
|
|
340
342
|
:param str resource_name: The name of the resource.
|
|
341
343
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -363,6 +365,7 @@ class PromotionCode(pulumi.CustomResource):
|
|
|
363
365
|
|
|
364
366
|
## Example Usage
|
|
365
367
|
|
|
368
|
+
<!--Start PulumiCodeChooser -->
|
|
366
369
|
```python
|
|
367
370
|
import pulumi
|
|
368
371
|
import pulumi_stripe as stripe
|
|
@@ -392,6 +395,7 @@ class PromotionCode(pulumi.CustomResource):
|
|
|
392
395
|
minimum_amount_currency="aud",
|
|
393
396
|
))
|
|
394
397
|
```
|
|
398
|
+
<!--End PulumiCodeChooser -->
|
|
395
399
|
|
|
396
400
|
:param str resource_name: The name of the resource.
|
|
397
401
|
:param PromotionCodeArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -349,6 +349,7 @@ class ShippingRate(pulumi.CustomResource):
|
|
|
349
349
|
|
|
350
350
|
## Example Usage
|
|
351
351
|
|
|
352
|
+
<!--Start PulumiCodeChooser -->
|
|
352
353
|
```python
|
|
353
354
|
import pulumi
|
|
354
355
|
import pulumi_stripe as stripe
|
|
@@ -390,6 +391,7 @@ class ShippingRate(pulumi.CustomResource):
|
|
|
390
391
|
],
|
|
391
392
|
))
|
|
392
393
|
```
|
|
394
|
+
<!--End PulumiCodeChooser -->
|
|
393
395
|
|
|
394
396
|
:param str resource_name: The name of the resource.
|
|
395
397
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -426,6 +428,7 @@ class ShippingRate(pulumi.CustomResource):
|
|
|
426
428
|
|
|
427
429
|
## Example Usage
|
|
428
430
|
|
|
431
|
+
<!--Start PulumiCodeChooser -->
|
|
429
432
|
```python
|
|
430
433
|
import pulumi
|
|
431
434
|
import pulumi_stripe as stripe
|
|
@@ -467,6 +470,7 @@ class ShippingRate(pulumi.CustomResource):
|
|
|
467
470
|
],
|
|
468
471
|
))
|
|
469
472
|
```
|
|
473
|
+
<!--End PulumiCodeChooser -->
|
|
470
474
|
|
|
471
475
|
:param str resource_name: The name of the resource.
|
|
472
476
|
:param ShippingRateArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -419,6 +419,7 @@ class TaxRate(pulumi.CustomResource):
|
|
|
419
419
|
|
|
420
420
|
## Example Usage
|
|
421
421
|
|
|
422
|
+
<!--Start PulumiCodeChooser -->
|
|
422
423
|
```python
|
|
423
424
|
import pulumi
|
|
424
425
|
import pulumi_stripe as stripe
|
|
@@ -435,6 +436,7 @@ class TaxRate(pulumi.CustomResource):
|
|
|
435
436
|
state="",
|
|
436
437
|
tax_type="")
|
|
437
438
|
```
|
|
439
|
+
<!--End PulumiCodeChooser -->
|
|
438
440
|
|
|
439
441
|
:param str resource_name: The name of the resource.
|
|
440
442
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -463,6 +465,7 @@ class TaxRate(pulumi.CustomResource):
|
|
|
463
465
|
|
|
464
466
|
## Example Usage
|
|
465
467
|
|
|
468
|
+
<!--Start PulumiCodeChooser -->
|
|
466
469
|
```python
|
|
467
470
|
import pulumi
|
|
468
471
|
import pulumi_stripe as stripe
|
|
@@ -479,6 +482,7 @@ class TaxRate(pulumi.CustomResource):
|
|
|
479
482
|
state="",
|
|
480
483
|
tax_type="")
|
|
481
484
|
```
|
|
485
|
+
<!--End PulumiCodeChooser -->
|
|
482
486
|
|
|
483
487
|
:param str resource_name: The name of the resource.
|
|
484
488
|
:param TaxRateArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -285,6 +285,7 @@ class WebhookEndpoint(pulumi.CustomResource):
|
|
|
285
285
|
|
|
286
286
|
## Example Usage
|
|
287
287
|
|
|
288
|
+
<!--Start PulumiCodeChooser -->
|
|
288
289
|
```python
|
|
289
290
|
import pulumi
|
|
290
291
|
import pulumi_stripe as stripe
|
|
@@ -297,6 +298,7 @@ class WebhookEndpoint(pulumi.CustomResource):
|
|
|
297
298
|
],
|
|
298
299
|
url="https://webhook-url-consumer.com")
|
|
299
300
|
```
|
|
301
|
+
<!--End PulumiCodeChooser -->
|
|
300
302
|
|
|
301
303
|
:param str resource_name: The name of the resource.
|
|
302
304
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -321,6 +323,7 @@ class WebhookEndpoint(pulumi.CustomResource):
|
|
|
321
323
|
|
|
322
324
|
## Example Usage
|
|
323
325
|
|
|
326
|
+
<!--Start PulumiCodeChooser -->
|
|
324
327
|
```python
|
|
325
328
|
import pulumi
|
|
326
329
|
import pulumi_stripe as stripe
|
|
@@ -333,6 +336,7 @@ class WebhookEndpoint(pulumi.CustomResource):
|
|
|
333
336
|
],
|
|
334
337
|
url="https://webhook-url-consumer.com")
|
|
335
338
|
```
|
|
339
|
+
<!--End PulumiCodeChooser -->
|
|
336
340
|
|
|
337
341
|
:param str resource_name: The name of the resource.
|
|
338
342
|
:param WebhookEndpointArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulumi-stripe
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.23
|
|
4
4
|
Summary: A Pulumi package for creating and managing Stripe resources.
|
|
5
5
|
Home-page: https://www.pulumi.com
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Project-URL: Repository, https://github.com/georgegebbett/pulumi-stripe
|
|
8
8
|
Keywords: pulumi stripe category/cloud
|
|
9
9
|
Platform: UNKNOWN
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
|
|
13
13
|
# Stripe Resource Provider
|
|
@@ -8,7 +8,7 @@ from setuptools.command.install import install
|
|
|
8
8
|
from subprocess import check_call
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
VERSION = "0.0.
|
|
11
|
+
VERSION = "0.0.23"
|
|
12
12
|
def readme():
|
|
13
13
|
try:
|
|
14
14
|
with open('README.md', encoding='utf-8') as f:
|
|
@@ -18,7 +18,7 @@ def readme():
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
setup(name='pulumi_stripe',
|
|
21
|
-
python_requires='>=3.
|
|
21
|
+
python_requires='>=3.8',
|
|
22
22
|
version=VERSION,
|
|
23
23
|
description="A Pulumi package for creating and managing Stripe resources.",
|
|
24
24
|
long_description=readme(),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|