@lshay-provider/stripe 0.3.0 → 0.3.1
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.
- package/bin/applePayDomain.d.ts +12 -4
- package/bin/applePayDomain.d.ts.map +1 -1
- package/bin/applePayDomain.js +10 -0
- package/bin/applePayDomain.js.map +1 -1
- package/bin/appsInstall.d.ts +201 -0
- package/bin/appsInstall.d.ts.map +1 -0
- package/bin/appsInstall.js +121 -0
- package/bin/appsInstall.js.map +1 -0
- package/bin/billingAlert.d.ts +15 -7
- package/bin/billingAlert.d.ts.map +1 -1
- package/bin/billingAlert.js +10 -0
- package/bin/billingAlert.js.map +1 -1
- package/bin/billingCreditGrant.d.ts +32 -24
- package/bin/billingCreditGrant.d.ts.map +1 -1
- package/bin/billingCreditGrant.js +10 -0
- package/bin/billingCreditGrant.js.map +1 -1
- package/bin/billingFeedbackOption.d.ts +85 -0
- package/bin/billingFeedbackOption.d.ts.map +1 -0
- package/bin/billingFeedbackOption.js +93 -0
- package/bin/billingFeedbackOption.js.map +1 -0
- package/bin/billingMeter.d.ts +24 -16
- package/bin/billingMeter.d.ts.map +1 -1
- package/bin/billingMeter.js +10 -0
- package/bin/billingMeter.js.map +1 -1
- package/bin/billingPortalConfiguration.d.ts +29 -21
- package/bin/billingPortalConfiguration.d.ts.map +1 -1
- package/bin/billingPortalConfiguration.js +10 -0
- package/bin/billingPortalConfiguration.js.map +1 -1
- package/bin/charge.d.ts +77 -69
- package/bin/charge.d.ts.map +1 -1
- package/bin/charge.js +10 -0
- package/bin/charge.js.map +1 -1
- package/bin/climateOrder.d.ts +37 -29
- package/bin/climateOrder.d.ts.map +1 -1
- package/bin/climateOrder.js +10 -0
- package/bin/climateOrder.js.map +1 -1
- package/bin/coupon.d.ts +47 -27
- package/bin/coupon.d.ts.map +1 -1
- package/bin/coupon.js +12 -0
- package/bin/coupon.js.map +1 -1
- package/bin/creditNote.d.ts +52 -44
- package/bin/creditNote.d.ts.map +1 -1
- package/bin/creditNote.js +10 -0
- package/bin/creditNote.js.map +1 -1
- package/bin/customer.d.ts +65 -57
- package/bin/customer.d.ts.map +1 -1
- package/bin/customer.js +10 -0
- package/bin/customer.js.map +1 -1
- package/bin/customerBalanceTransaction.d.ts +23 -15
- package/bin/customerBalanceTransaction.d.ts.map +1 -1
- package/bin/customerBalanceTransaction.js +10 -0
- package/bin/customerBalanceTransaction.js.map +1 -1
- package/bin/entitlementsFeature.d.ts +16 -8
- package/bin/entitlementsFeature.d.ts.map +1 -1
- package/bin/entitlementsFeature.js +10 -0
- package/bin/entitlementsFeature.js.map +1 -1
- package/bin/file.d.ts +23 -15
- package/bin/file.d.ts.map +1 -1
- package/bin/file.js +10 -0
- package/bin/file.js.map +1 -1
- package/bin/fileLink.d.ts +18 -10
- package/bin/fileLink.d.ts.map +1 -1
- package/bin/fileLink.js +10 -0
- package/bin/fileLink.js.map +1 -1
- package/bin/index.d.ts +39 -0
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +67 -2
- package/bin/index.js.map +1 -1
- package/bin/invoice.d.ts +124 -114
- package/bin/invoice.d.ts.map +1 -1
- package/bin/invoice.js +12 -0
- package/bin/invoice.js.map +1 -1
- package/bin/invoiceItem.d.ts +74 -46
- package/bin/invoiceItem.d.ts.map +1 -1
- package/bin/invoiceItem.js +14 -0
- package/bin/invoiceItem.js.map +1 -1
- package/bin/issuingCard.d.ts +46 -38
- package/bin/issuingCard.d.ts.map +1 -1
- package/bin/issuingCard.js +10 -0
- package/bin/issuingCard.js.map +1 -1
- package/bin/issuingCardholder.d.ts +36 -28
- package/bin/issuingCardholder.d.ts.map +1 -1
- package/bin/issuingCardholder.js +10 -0
- package/bin/issuingCardholder.js.map +1 -1
- package/bin/issuingDispute.d.ts +24 -16
- package/bin/issuingDispute.d.ts.map +1 -1
- package/bin/issuingDispute.js +10 -0
- package/bin/issuingDispute.js.map +1 -1
- package/bin/issuingPersonalizationDesign.d.ts +28 -20
- package/bin/issuingPersonalizationDesign.d.ts.map +1 -1
- package/bin/issuingPersonalizationDesign.js +10 -0
- package/bin/issuingPersonalizationDesign.js.map +1 -1
- package/bin/package.json +6 -7
- package/bin/paymentIntent.d.ts +108 -84
- package/bin/paymentIntent.d.ts.map +1 -1
- package/bin/paymentIntent.js +14 -0
- package/bin/paymentIntent.js.map +1 -1
- package/bin/paymentLink.d.ts +78 -70
- package/bin/paymentLink.d.ts.map +1 -1
- package/bin/paymentLink.js +10 -0
- package/bin/paymentLink.js.map +1 -1
- package/bin/paymentMethod.d.ts +79 -62
- package/bin/paymentMethod.d.ts.map +1 -1
- package/bin/paymentMethod.js +16 -0
- package/bin/paymentMethod.js.map +1 -1
- package/bin/paymentMethodConfiguration.d.ts +142 -128
- package/bin/paymentMethodConfiguration.d.ts.map +1 -1
- package/bin/paymentMethodConfiguration.js +14 -0
- package/bin/paymentMethodConfiguration.js.map +1 -1
- package/bin/paymentMethodDomain.d.ts +20 -12
- package/bin/paymentMethodDomain.d.ts.map +1 -1
- package/bin/paymentMethodDomain.js +10 -0
- package/bin/paymentMethodDomain.js.map +1 -1
- package/bin/person.d.ts +90 -64
- package/bin/person.d.ts.map +1 -1
- package/bin/person.js +10 -0
- package/bin/person.js.map +1 -1
- package/bin/plan.d.ts +53 -33
- package/bin/plan.d.ts.map +1 -1
- package/bin/plan.js +12 -0
- package/bin/plan.js.map +1 -1
- package/bin/price.d.ts +50 -42
- package/bin/price.d.ts.map +1 -1
- package/bin/price.js +10 -0
- package/bin/price.js.map +1 -1
- package/bin/product.d.ts +65 -33
- package/bin/product.d.ts.map +1 -1
- package/bin/product.js +14 -0
- package/bin/product.js.map +1 -1
- package/bin/productCatalogTrialOffer.d.ts +105 -0
- package/bin/productCatalogTrialOffer.d.ts.map +1 -0
- package/bin/productCatalogTrialOffer.js +103 -0
- package/bin/productCatalogTrialOffer.js.map +1 -0
- package/bin/productFeature.d.ts +21 -4
- package/bin/productFeature.d.ts.map +1 -1
- package/bin/productFeature.js +10 -0
- package/bin/productFeature.js.map +1 -1
- package/bin/promotionCode.d.ts +30 -22
- package/bin/promotionCode.d.ts.map +1 -1
- package/bin/promotionCode.js +10 -0
- package/bin/promotionCode.js.map +1 -1
- package/bin/provider.d.ts +2 -2
- package/bin/provider.d.ts.map +1 -1
- package/bin/quote.d.ts +60 -52
- package/bin/quote.d.ts.map +1 -1
- package/bin/quote.js +10 -0
- package/bin/quote.js.map +1 -1
- package/bin/radarValueList.d.ts +19 -11
- package/bin/radarValueList.d.ts.map +1 -1
- package/bin/radarValueList.js +10 -0
- package/bin/radarValueList.js.map +1 -1
- package/bin/radarValueListItem.d.ts +14 -6
- package/bin/radarValueListItem.d.ts.map +1 -1
- package/bin/radarValueListItem.js +10 -0
- package/bin/radarValueListItem.js.map +1 -1
- package/bin/setupIntent.d.ts +75 -59
- package/bin/setupIntent.d.ts.map +1 -1
- package/bin/setupIntent.js +13 -1
- package/bin/setupIntent.js.map +1 -1
- package/bin/shippingRate.d.ts +26 -18
- package/bin/shippingRate.d.ts.map +1 -1
- package/bin/shippingRate.js +10 -0
- package/bin/shippingRate.js.map +1 -1
- package/bin/source.d.ts +64 -56
- package/bin/source.d.ts.map +1 -1
- package/bin/source.js +10 -0
- package/bin/source.js.map +1 -1
- package/bin/subscription.d.ts +114 -98
- package/bin/subscription.d.ts.map +1 -1
- package/bin/subscription.js +12 -0
- package/bin/subscription.js.map +1 -1
- package/bin/subscriptionItem.d.ts +57 -37
- package/bin/subscriptionItem.d.ts.map +1 -1
- package/bin/subscriptionItem.js +12 -0
- package/bin/subscriptionItem.js.map +1 -1
- package/bin/subscriptionSchedule.d.ts +53 -33
- package/bin/subscriptionSchedule.d.ts.map +1 -1
- package/bin/subscriptionSchedule.js +12 -0
- package/bin/subscriptionSchedule.js.map +1 -1
- package/bin/taxId.d.ts +21 -13
- package/bin/taxId.d.ts.map +1 -1
- package/bin/taxId.js +10 -0
- package/bin/taxId.js.map +1 -1
- package/bin/taxLocation.d.ts +90 -0
- package/bin/taxLocation.d.ts.map +1 -0
- package/bin/taxLocation.js +96 -0
- package/bin/taxLocation.js.map +1 -0
- package/bin/taxRate.d.ts +32 -24
- package/bin/taxRate.d.ts.map +1 -1
- package/bin/taxRate.js +10 -0
- package/bin/taxRate.js.map +1 -1
- package/bin/taxRegistration.d.ts +17 -9
- package/bin/taxRegistration.d.ts.map +1 -1
- package/bin/taxRegistration.js +10 -0
- package/bin/taxRegistration.js.map +1 -1
- package/bin/terminalConfiguration.d.ts +47 -33
- package/bin/terminalConfiguration.d.ts.map +1 -1
- package/bin/terminalConfiguration.js +14 -0
- package/bin/terminalConfiguration.js.map +1 -1
- package/bin/terminalLocation.d.ts +26 -18
- package/bin/terminalLocation.d.ts.map +1 -1
- package/bin/terminalLocation.js +10 -0
- package/bin/terminalLocation.js.map +1 -1
- package/bin/terminalReader.d.ts +25 -17
- package/bin/terminalReader.d.ts.map +1 -1
- package/bin/terminalReader.js +10 -0
- package/bin/terminalReader.js.map +1 -1
- package/bin/threeDSecureAuthentication.d.ts +297 -0
- package/bin/threeDSecureAuthentication.d.ts.map +1 -0
- package/bin/threeDSecureAuthentication.js +132 -0
- package/bin/threeDSecureAuthentication.js.map +1 -0
- package/bin/treasuryFinancialAccount.d.ts +29 -21
- package/bin/treasuryFinancialAccount.d.ts.map +1 -1
- package/bin/treasuryFinancialAccount.js +10 -0
- package/bin/treasuryFinancialAccount.js.map +1 -1
- package/bin/types/input.d.ts +5787 -3630
- package/bin/types/input.d.ts.map +1 -1
- package/bin/types/output.d.ts +2538 -381
- package/bin/types/output.d.ts.map +1 -1
- package/bin/utilities.d.ts.map +1 -1
- package/bin/utilities.js +8 -35
- package/bin/utilities.js.map +1 -1
- package/bin/v2coreEventDestination.d.ts +76 -68
- package/bin/v2coreEventDestination.d.ts.map +1 -1
- package/bin/v2coreEventDestination.js +10 -0
- package/bin/v2coreEventDestination.js.map +1 -1
- package/bin/v2coreVaultGbBankAccount.d.ts +182 -0
- package/bin/v2coreVaultGbBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultGbBankAccount.js +111 -0
- package/bin/v2coreVaultGbBankAccount.js.map +1 -0
- package/bin/v2coreVaultUsBankAccount.d.ts +193 -0
- package/bin/v2coreVaultUsBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultUsBankAccount.js +118 -0
- package/bin/v2coreVaultUsBankAccount.js.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts +117 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.js +102 -0
- package/bin/v2moneyManagementFinancialAddress.js.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts +127 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.js +105 -0
- package/bin/v2moneyManagementInboundTransfer.js.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts +237 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.js +125 -0
- package/bin/v2moneyManagementOutboundPayment.js.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts +121 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js +96 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts +246 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.js +127 -0
- package/bin/v2moneyManagementPayoutIntent.js.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts +155 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.js +107 -0
- package/bin/v2moneyManagementRecipientVerification.js.map +1 -0
- package/bin/webhookEndpoint.d.ts +27 -19
- package/bin/webhookEndpoint.d.ts.map +1 -1
- package/bin/webhookEndpoint.js +10 -0
- package/bin/webhookEndpoint.js.map +1 -1
- package/package.json +6 -7
package/bin/plan.d.ts
CHANGED
|
@@ -12,6 +12,14 @@ export declare class Plan extends pulumi.CustomResource {
|
|
|
12
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
13
|
*/
|
|
14
14
|
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PlanState, opts?: pulumi.CustomResourceOptions): Plan;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing Plan resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: PlanState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
15
23
|
/**
|
|
16
24
|
* Returns true if the given object is an instance of Plan. This is designed to work even
|
|
17
25
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -71,6 +79,10 @@ export declare class Plan extends pulumi.CustomResource {
|
|
|
71
79
|
* String representing the object's type. Objects of the same type share the same value.
|
|
72
80
|
*/
|
|
73
81
|
readonly object: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Unique identifier for the object.
|
|
84
|
+
*/
|
|
85
|
+
readonly planId: pulumi.Output<string>;
|
|
74
86
|
/**
|
|
75
87
|
* The product whose pricing this plan determines.
|
|
76
88
|
*/
|
|
@@ -111,81 +123,85 @@ export interface PlanState {
|
|
|
111
123
|
/**
|
|
112
124
|
* Whether the plan can be used for new purchases.
|
|
113
125
|
*/
|
|
114
|
-
active?: pulumi.Input<boolean>;
|
|
126
|
+
active?: pulumi.Input<boolean | undefined>;
|
|
115
127
|
/**
|
|
116
128
|
* The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.
|
|
117
129
|
*/
|
|
118
|
-
amount?: pulumi.Input<number>;
|
|
130
|
+
amount?: pulumi.Input<number | undefined>;
|
|
119
131
|
/**
|
|
120
132
|
* The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
|
|
121
133
|
*/
|
|
122
|
-
amountDecimal?: pulumi.Input<number>;
|
|
134
|
+
amountDecimal?: pulumi.Input<number | undefined>;
|
|
123
135
|
/**
|
|
124
136
|
* Describes how to compute the price per period. Either <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> or <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> indicates that the fixed amount (specified in <span pulumi-lang-nodejs="`amount`" pulumi-lang-dotnet="`Amount`" pulumi-lang-go="`amount`" pulumi-lang-python="`amount`" pulumi-lang-yaml="`amount`" pulumi-lang-java="`amount`" pulumi-lang-hcl="`amount`">`amount`</span>) will be charged per unit in <span pulumi-lang-nodejs="`quantity`" pulumi-lang-dotnet="`Quantity`" pulumi-lang-go="`quantity`" pulumi-lang-python="`quantity`" pulumi-lang-yaml="`quantity`" pulumi-lang-java="`quantity`" pulumi-lang-hcl="`quantity`">`quantity`</span> (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span> indicates that the unit pricing will be computed using a tiering strategy as defined using the <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span> and <span pulumi-lang-nodejs="`tiersMode`" pulumi-lang-dotnet="`TiersMode`" pulumi-lang-go="`tiersMode`" pulumi-lang-python="`tiers_mode`" pulumi-lang-yaml="`tiersMode`" pulumi-lang-java="`tiersMode`" pulumi-lang-hcl="`tiers_mode`">`tiersMode`</span> attributes.
|
|
125
137
|
*/
|
|
126
|
-
billingScheme?: pulumi.Input<string>;
|
|
138
|
+
billingScheme?: pulumi.Input<string | undefined>;
|
|
127
139
|
/**
|
|
128
140
|
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
129
141
|
*/
|
|
130
|
-
created?: pulumi.Input<number>;
|
|
142
|
+
created?: pulumi.Input<number | undefined>;
|
|
131
143
|
/**
|
|
132
144
|
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
133
145
|
*/
|
|
134
|
-
currency?: pulumi.Input<string>;
|
|
146
|
+
currency?: pulumi.Input<string | undefined>;
|
|
135
147
|
/**
|
|
136
148
|
* The frequency at which a subscription is billed. One of <span pulumi-lang-nodejs="`day`" pulumi-lang-dotnet="`Day`" pulumi-lang-go="`day`" pulumi-lang-python="`day`" pulumi-lang-yaml="`day`" pulumi-lang-java="`day`" pulumi-lang-hcl="`day`">`day`</span>, <span pulumi-lang-nodejs="`week`" pulumi-lang-dotnet="`Week`" pulumi-lang-go="`week`" pulumi-lang-python="`week`" pulumi-lang-yaml="`week`" pulumi-lang-java="`week`" pulumi-lang-hcl="`week`">`week`</span>, <span pulumi-lang-nodejs="`month`" pulumi-lang-dotnet="`Month`" pulumi-lang-go="`month`" pulumi-lang-python="`month`" pulumi-lang-yaml="`month`" pulumi-lang-java="`month`" pulumi-lang-hcl="`month`">`month`</span> or <span pulumi-lang-nodejs="`year`" pulumi-lang-dotnet="`Year`" pulumi-lang-go="`year`" pulumi-lang-python="`year`" pulumi-lang-yaml="`year`" pulumi-lang-java="`year`" pulumi-lang-hcl="`year`">`year`</span>.
|
|
137
149
|
*/
|
|
138
|
-
interval?: pulumi.Input<string>;
|
|
150
|
+
interval?: pulumi.Input<string | undefined>;
|
|
139
151
|
/**
|
|
140
152
|
* The number of intervals (specified in the <span pulumi-lang-nodejs="`interval`" pulumi-lang-dotnet="`Interval`" pulumi-lang-go="`interval`" pulumi-lang-python="`interval`" pulumi-lang-yaml="`interval`" pulumi-lang-java="`interval`" pulumi-lang-hcl="`interval`">`interval`</span> attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.
|
|
141
153
|
*/
|
|
142
|
-
intervalCount?: pulumi.Input<number>;
|
|
154
|
+
intervalCount?: pulumi.Input<number | undefined>;
|
|
143
155
|
/**
|
|
144
156
|
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
145
157
|
*/
|
|
146
|
-
livemode?: pulumi.Input<boolean>;
|
|
158
|
+
livemode?: pulumi.Input<boolean | undefined>;
|
|
147
159
|
/**
|
|
148
160
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
149
161
|
*/
|
|
150
162
|
metadata?: pulumi.Input<{
|
|
151
163
|
[key: string]: pulumi.Input<string>;
|
|
152
|
-
}>;
|
|
164
|
+
} | undefined>;
|
|
153
165
|
/**
|
|
154
166
|
* The meter tracking the usage of a metered price
|
|
155
167
|
*/
|
|
156
|
-
meter?: pulumi.Input<string>;
|
|
168
|
+
meter?: pulumi.Input<string | undefined>;
|
|
157
169
|
/**
|
|
158
170
|
* A brief description of the plan, hidden from customers.
|
|
159
171
|
*/
|
|
160
|
-
nickname?: pulumi.Input<string>;
|
|
172
|
+
nickname?: pulumi.Input<string | undefined>;
|
|
161
173
|
/**
|
|
162
174
|
* String representing the object's type. Objects of the same type share the same value.
|
|
163
175
|
*/
|
|
164
|
-
object?: pulumi.Input<string>;
|
|
176
|
+
object?: pulumi.Input<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* Unique identifier for the object.
|
|
179
|
+
*/
|
|
180
|
+
planId?: pulumi.Input<string | undefined>;
|
|
165
181
|
/**
|
|
166
182
|
* The product whose pricing this plan determines.
|
|
167
183
|
*/
|
|
168
|
-
product?: pulumi.Input<string>;
|
|
184
|
+
product?: pulumi.Input<string | undefined>;
|
|
169
185
|
/**
|
|
170
186
|
* Each element represents a pricing tier. This parameter requires <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span> to be set to <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. See also the documentation for <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span>.
|
|
171
187
|
*/
|
|
172
|
-
tiers?: pulumi.Input<pulumi.Input<inputs.PlanTier>[]>;
|
|
188
|
+
tiers?: pulumi.Input<pulumi.Input<inputs.PlanTier>[] | undefined>;
|
|
173
189
|
/**
|
|
174
190
|
* Defines if the tiering price should be <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> or <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span> based. In <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span>-based tiering, the maximum quantity within a period determines the per unit price. In <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> tiering, pricing can change as the quantity grows.
|
|
175
191
|
*/
|
|
176
|
-
tiersMode?: pulumi.Input<string>;
|
|
192
|
+
tiersMode?: pulumi.Input<string | undefined>;
|
|
177
193
|
/**
|
|
178
194
|
* Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span>.
|
|
179
195
|
*/
|
|
180
|
-
transformUsage?: pulumi.Input<inputs.PlanTransformUsage>;
|
|
196
|
+
transformUsage?: pulumi.Input<inputs.PlanTransformUsage | undefined>;
|
|
181
197
|
/**
|
|
182
198
|
* Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).
|
|
183
199
|
*/
|
|
184
|
-
trialPeriodDays?: pulumi.Input<number>;
|
|
200
|
+
trialPeriodDays?: pulumi.Input<number | undefined>;
|
|
185
201
|
/**
|
|
186
202
|
* Configures how the quantity per period should be determined. Can be either <span pulumi-lang-nodejs="`metered`" pulumi-lang-dotnet="`Metered`" pulumi-lang-go="`metered`" pulumi-lang-python="`metered`" pulumi-lang-yaml="`metered`" pulumi-lang-java="`metered`" pulumi-lang-hcl="`metered`">`metered`</span> or <span pulumi-lang-nodejs="`licensed`" pulumi-lang-dotnet="`Licensed`" pulumi-lang-go="`licensed`" pulumi-lang-python="`licensed`" pulumi-lang-yaml="`licensed`" pulumi-lang-java="`licensed`" pulumi-lang-hcl="`licensed`">`licensed`</span>. <span pulumi-lang-nodejs="`licensed`" pulumi-lang-dotnet="`Licensed`" pulumi-lang-go="`licensed`" pulumi-lang-python="`licensed`" pulumi-lang-yaml="`licensed`" pulumi-lang-java="`licensed`" pulumi-lang-hcl="`licensed`">`licensed`</span> automatically bills the <span pulumi-lang-nodejs="`quantity`" pulumi-lang-dotnet="`Quantity`" pulumi-lang-go="`quantity`" pulumi-lang-python="`quantity`" pulumi-lang-yaml="`quantity`" pulumi-lang-java="`quantity`" pulumi-lang-hcl="`quantity`">`quantity`</span> set when adding it to a subscription. <span pulumi-lang-nodejs="`metered`" pulumi-lang-dotnet="`Metered`" pulumi-lang-go="`metered`" pulumi-lang-python="`metered`" pulumi-lang-yaml="`metered`" pulumi-lang-java="`metered`" pulumi-lang-hcl="`metered`">`metered`</span> aggregates the total usage based on usage records. Defaults to <span pulumi-lang-nodejs="`licensed`" pulumi-lang-dotnet="`Licensed`" pulumi-lang-go="`licensed`" pulumi-lang-python="`licensed`" pulumi-lang-yaml="`licensed`" pulumi-lang-java="`licensed`" pulumi-lang-hcl="`licensed`">`licensed`</span>.
|
|
187
203
|
*/
|
|
188
|
-
usageType?: pulumi.Input<string>;
|
|
204
|
+
usageType?: pulumi.Input<string | undefined>;
|
|
189
205
|
}
|
|
190
206
|
/**
|
|
191
207
|
* The set of arguments for constructing a Plan resource.
|
|
@@ -194,19 +210,19 @@ export interface PlanArgs {
|
|
|
194
210
|
/**
|
|
195
211
|
* Whether the plan can be used for new purchases.
|
|
196
212
|
*/
|
|
197
|
-
active?: pulumi.Input<boolean>;
|
|
213
|
+
active?: pulumi.Input<boolean | undefined>;
|
|
198
214
|
/**
|
|
199
215
|
* The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.
|
|
200
216
|
*/
|
|
201
|
-
amount?: pulumi.Input<number>;
|
|
217
|
+
amount?: pulumi.Input<number | undefined>;
|
|
202
218
|
/**
|
|
203
219
|
* The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
|
|
204
220
|
*/
|
|
205
|
-
amountDecimal?: pulumi.Input<number>;
|
|
221
|
+
amountDecimal?: pulumi.Input<number | undefined>;
|
|
206
222
|
/**
|
|
207
223
|
* Describes how to compute the price per period. Either <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> or <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> indicates that the fixed amount (specified in <span pulumi-lang-nodejs="`amount`" pulumi-lang-dotnet="`Amount`" pulumi-lang-go="`amount`" pulumi-lang-python="`amount`" pulumi-lang-yaml="`amount`" pulumi-lang-java="`amount`" pulumi-lang-hcl="`amount`">`amount`</span>) will be charged per unit in <span pulumi-lang-nodejs="`quantity`" pulumi-lang-dotnet="`Quantity`" pulumi-lang-go="`quantity`" pulumi-lang-python="`quantity`" pulumi-lang-yaml="`quantity`" pulumi-lang-java="`quantity`" pulumi-lang-hcl="`quantity`">`quantity`</span> (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span> indicates that the unit pricing will be computed using a tiering strategy as defined using the <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span> and <span pulumi-lang-nodejs="`tiersMode`" pulumi-lang-dotnet="`TiersMode`" pulumi-lang-go="`tiersMode`" pulumi-lang-python="`tiers_mode`" pulumi-lang-yaml="`tiersMode`" pulumi-lang-java="`tiersMode`" pulumi-lang-hcl="`tiers_mode`">`tiersMode`</span> attributes.
|
|
208
224
|
*/
|
|
209
|
-
billingScheme?: pulumi.Input<string>;
|
|
225
|
+
billingScheme?: pulumi.Input<string | undefined>;
|
|
210
226
|
/**
|
|
211
227
|
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
212
228
|
*/
|
|
@@ -218,44 +234,48 @@ export interface PlanArgs {
|
|
|
218
234
|
/**
|
|
219
235
|
* The number of intervals (specified in the <span pulumi-lang-nodejs="`interval`" pulumi-lang-dotnet="`Interval`" pulumi-lang-go="`interval`" pulumi-lang-python="`interval`" pulumi-lang-yaml="`interval`" pulumi-lang-java="`interval`" pulumi-lang-hcl="`interval`">`interval`</span> attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.
|
|
220
236
|
*/
|
|
221
|
-
intervalCount?: pulumi.Input<number>;
|
|
237
|
+
intervalCount?: pulumi.Input<number | undefined>;
|
|
222
238
|
/**
|
|
223
239
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
224
240
|
*/
|
|
225
241
|
metadata?: pulumi.Input<{
|
|
226
242
|
[key: string]: pulumi.Input<string>;
|
|
227
|
-
}>;
|
|
243
|
+
} | undefined>;
|
|
228
244
|
/**
|
|
229
245
|
* The meter tracking the usage of a metered price
|
|
230
246
|
*/
|
|
231
|
-
meter?: pulumi.Input<string>;
|
|
247
|
+
meter?: pulumi.Input<string | undefined>;
|
|
232
248
|
/**
|
|
233
249
|
* A brief description of the plan, hidden from customers.
|
|
234
250
|
*/
|
|
235
|
-
nickname?: pulumi.Input<string>;
|
|
251
|
+
nickname?: pulumi.Input<string | undefined>;
|
|
252
|
+
/**
|
|
253
|
+
* Unique identifier for the object.
|
|
254
|
+
*/
|
|
255
|
+
planId?: pulumi.Input<string | undefined>;
|
|
236
256
|
/**
|
|
237
257
|
* The product whose pricing this plan determines.
|
|
238
258
|
*/
|
|
239
|
-
product?: pulumi.Input<string>;
|
|
259
|
+
product?: pulumi.Input<string | undefined>;
|
|
240
260
|
/**
|
|
241
261
|
* Each element represents a pricing tier. This parameter requires <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span> to be set to <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. See also the documentation for <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span>.
|
|
242
262
|
*/
|
|
243
|
-
tiers?: pulumi.Input<pulumi.Input<inputs.PlanTier>[]>;
|
|
263
|
+
tiers?: pulumi.Input<pulumi.Input<inputs.PlanTier>[] | undefined>;
|
|
244
264
|
/**
|
|
245
265
|
* Defines if the tiering price should be <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> or <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span> based. In <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span>-based tiering, the maximum quantity within a period determines the per unit price. In <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> tiering, pricing can change as the quantity grows.
|
|
246
266
|
*/
|
|
247
|
-
tiersMode?: pulumi.Input<string>;
|
|
267
|
+
tiersMode?: pulumi.Input<string | undefined>;
|
|
248
268
|
/**
|
|
249
269
|
* Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span>.
|
|
250
270
|
*/
|
|
251
|
-
transformUsage?: pulumi.Input<inputs.PlanTransformUsage>;
|
|
271
|
+
transformUsage?: pulumi.Input<inputs.PlanTransformUsage | undefined>;
|
|
252
272
|
/**
|
|
253
273
|
* Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).
|
|
254
274
|
*/
|
|
255
|
-
trialPeriodDays?: pulumi.Input<number>;
|
|
275
|
+
trialPeriodDays?: pulumi.Input<number | undefined>;
|
|
256
276
|
/**
|
|
257
277
|
* Configures how the quantity per period should be determined. Can be either <span pulumi-lang-nodejs="`metered`" pulumi-lang-dotnet="`Metered`" pulumi-lang-go="`metered`" pulumi-lang-python="`metered`" pulumi-lang-yaml="`metered`" pulumi-lang-java="`metered`" pulumi-lang-hcl="`metered`">`metered`</span> or <span pulumi-lang-nodejs="`licensed`" pulumi-lang-dotnet="`Licensed`" pulumi-lang-go="`licensed`" pulumi-lang-python="`licensed`" pulumi-lang-yaml="`licensed`" pulumi-lang-java="`licensed`" pulumi-lang-hcl="`licensed`">`licensed`</span>. <span pulumi-lang-nodejs="`licensed`" pulumi-lang-dotnet="`Licensed`" pulumi-lang-go="`licensed`" pulumi-lang-python="`licensed`" pulumi-lang-yaml="`licensed`" pulumi-lang-java="`licensed`" pulumi-lang-hcl="`licensed`">`licensed`</span> automatically bills the <span pulumi-lang-nodejs="`quantity`" pulumi-lang-dotnet="`Quantity`" pulumi-lang-go="`quantity`" pulumi-lang-python="`quantity`" pulumi-lang-yaml="`quantity`" pulumi-lang-java="`quantity`" pulumi-lang-hcl="`quantity`">`quantity`</span> set when adding it to a subscription. <span pulumi-lang-nodejs="`metered`" pulumi-lang-dotnet="`Metered`" pulumi-lang-go="`metered`" pulumi-lang-python="`metered`" pulumi-lang-yaml="`metered`" pulumi-lang-java="`metered`" pulumi-lang-hcl="`metered`">`metered`</span> aggregates the total usage based on usage records. Defaults to <span pulumi-lang-nodejs="`licensed`" pulumi-lang-dotnet="`Licensed`" pulumi-lang-go="`licensed`" pulumi-lang-python="`licensed`" pulumi-lang-yaml="`licensed`" pulumi-lang-java="`licensed`" pulumi-lang-hcl="`licensed`">`licensed`</span>.
|
|
258
278
|
*/
|
|
259
|
-
usageType?: pulumi.Input<string>;
|
|
279
|
+
usageType?: pulumi.Input<string | undefined>;
|
|
260
280
|
}
|
|
261
281
|
//# sourceMappingURL=plan.d.ts.map
|
package/bin/plan.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../plan.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,IAAI;
|
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IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
|
package/bin/plan.js
CHANGED
|
@@ -41,6 +41,16 @@ class Plan extends pulumi.CustomResource {
|
|
|
41
41
|
static get(name, id, state, opts) {
|
|
42
42
|
return new Plan(name, state, { ...opts, id: id });
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing Plan resource with the given ID exists.
|
|
46
|
+
*
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static exists(id, state, opts) {
|
|
52
|
+
return pulumi.runtime.existsResource("stripe:index/plan:Plan", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
44
54
|
/** @internal */
|
|
45
55
|
static __pulumiType = 'stripe:index/plan:Plan';
|
|
46
56
|
/**
|
|
@@ -71,6 +81,7 @@ class Plan extends pulumi.CustomResource {
|
|
|
71
81
|
resourceInputs["meter"] = state?.meter;
|
|
72
82
|
resourceInputs["nickname"] = state?.nickname;
|
|
73
83
|
resourceInputs["object"] = state?.object;
|
|
84
|
+
resourceInputs["planId"] = state?.planId;
|
|
74
85
|
resourceInputs["product"] = state?.product;
|
|
75
86
|
resourceInputs["tiers"] = state?.tiers;
|
|
76
87
|
resourceInputs["tiersMode"] = state?.tiersMode;
|
|
@@ -96,6 +107,7 @@ class Plan extends pulumi.CustomResource {
|
|
|
96
107
|
resourceInputs["metadata"] = args?.metadata;
|
|
97
108
|
resourceInputs["meter"] = args?.meter;
|
|
98
109
|
resourceInputs["nickname"] = args?.nickname;
|
|
110
|
+
resourceInputs["planId"] = args?.planId;
|
|
99
111
|
resourceInputs["product"] = args?.product;
|
|
100
112
|
resourceInputs["tiers"] = args?.tiers;
|
|
101
113
|
resourceInputs["tiersMode"] = args?.tiersMode;
|
package/bin/plan.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../plan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wBAAwB,CAAC;IAE/D;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;
|
|
1
|
+
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../plan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EA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;IACvG,CAAC;;AAxLL,oBAyLC"}
|
package/bin/price.d.ts
CHANGED
|
@@ -12,6 +12,14 @@ export declare class Price extends pulumi.CustomResource {
|
|
|
12
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
13
|
*/
|
|
14
14
|
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PriceState, opts?: pulumi.CustomResourceOptions): Price;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing Price resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: PriceState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
15
23
|
/**
|
|
16
24
|
* Returns true if the given object is an instance of Price. This is designed to work even
|
|
17
25
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -76,7 +84,7 @@ export declare class Price extends pulumi.CustomResource {
|
|
|
76
84
|
*/
|
|
77
85
|
readonly recurrings: pulumi.Output<outputs.PriceRecurring[] | undefined>;
|
|
78
86
|
/**
|
|
79
|
-
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span>, <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, or <span pulumi-lang-nodejs="`unspecified`" pulumi-lang-dotnet="`Unspecified`" pulumi-lang-go="`unspecified`" pulumi-lang-python="`unspecified`" pulumi-lang-yaml="`unspecified`" pulumi-lang-java="`unspecified`" pulumi-lang-hcl="`unspecified`">`unspecified`</span>. Once specified as either <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span> or <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, it cannot be changed.
|
|
87
|
+
* Only required if a [default tax behavior](<https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)>) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span>, <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, or <span pulumi-lang-nodejs="`unspecified`" pulumi-lang-dotnet="`Unspecified`" pulumi-lang-go="`unspecified`" pulumi-lang-python="`unspecified`" pulumi-lang-yaml="`unspecified`" pulumi-lang-java="`unspecified`" pulumi-lang-hcl="`unspecified`">`unspecified`</span>. Once specified as either <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span> or <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, it cannot be changed.
|
|
80
88
|
*/
|
|
81
89
|
readonly taxBehavior: pulumi.Output<string>;
|
|
82
90
|
/**
|
|
@@ -124,94 +132,94 @@ export interface PriceState {
|
|
|
124
132
|
/**
|
|
125
133
|
* Whether the price can be used for new purchases.
|
|
126
134
|
*/
|
|
127
|
-
active?: pulumi.Input<boolean>;
|
|
135
|
+
active?: pulumi.Input<boolean | undefined>;
|
|
128
136
|
/**
|
|
129
137
|
* Describes how to compute the price per period. Either <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> or <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> indicates that the fixed amount (specified in <span pulumi-lang-nodejs="`unitAmount`" pulumi-lang-dotnet="`UnitAmount`" pulumi-lang-go="`unitAmount`" pulumi-lang-python="`unit_amount`" pulumi-lang-yaml="`unitAmount`" pulumi-lang-java="`unitAmount`" pulumi-lang-hcl="`unit_amount`">`unitAmount`</span> or <span pulumi-lang-nodejs="`unitAmountDecimal`" pulumi-lang-dotnet="`UnitAmountDecimal`" pulumi-lang-go="`unitAmountDecimal`" pulumi-lang-python="`unit_amount_decimal`" pulumi-lang-yaml="`unitAmountDecimal`" pulumi-lang-java="`unitAmountDecimal`" pulumi-lang-hcl="`unit_amount_decimal`">`unitAmountDecimal`</span>) will be charged per unit in <span pulumi-lang-nodejs="`quantity`" pulumi-lang-dotnet="`Quantity`" pulumi-lang-go="`quantity`" pulumi-lang-python="`quantity`" pulumi-lang-yaml="`quantity`" pulumi-lang-java="`quantity`" pulumi-lang-hcl="`quantity`">`quantity`</span> (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span> indicates that the unit pricing will be computed using a tiering strategy as defined using the <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span> and <span pulumi-lang-nodejs="`tiersMode`" pulumi-lang-dotnet="`TiersMode`" pulumi-lang-go="`tiersMode`" pulumi-lang-python="`tiers_mode`" pulumi-lang-yaml="`tiersMode`" pulumi-lang-java="`tiersMode`" pulumi-lang-hcl="`tiers_mode`">`tiersMode`</span> attributes.
|
|
130
138
|
*/
|
|
131
|
-
billingScheme?: pulumi.Input<string>;
|
|
139
|
+
billingScheme?: pulumi.Input<string | undefined>;
|
|
132
140
|
/**
|
|
133
141
|
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
134
142
|
*/
|
|
135
|
-
created?: pulumi.Input<number>;
|
|
143
|
+
created?: pulumi.Input<number | undefined>;
|
|
136
144
|
/**
|
|
137
145
|
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
138
146
|
*/
|
|
139
|
-
currency?: pulumi.Input<string>;
|
|
147
|
+
currency?: pulumi.Input<string | undefined>;
|
|
140
148
|
/**
|
|
141
149
|
* Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
|
142
150
|
*/
|
|
143
|
-
currencyOptions?: pulumi.Input<pulumi.Input<inputs.PriceCurrencyOption>[]>;
|
|
151
|
+
currencyOptions?: pulumi.Input<pulumi.Input<inputs.PriceCurrencyOption>[] | undefined>;
|
|
144
152
|
/**
|
|
145
153
|
* When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
|
|
146
154
|
*/
|
|
147
|
-
customUnitAmounts?: pulumi.Input<pulumi.Input<inputs.PriceCustomUnitAmount>[]>;
|
|
155
|
+
customUnitAmounts?: pulumi.Input<pulumi.Input<inputs.PriceCustomUnitAmount>[] | undefined>;
|
|
148
156
|
/**
|
|
149
157
|
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
150
158
|
*/
|
|
151
|
-
livemode?: pulumi.Input<boolean>;
|
|
159
|
+
livemode?: pulumi.Input<boolean | undefined>;
|
|
152
160
|
/**
|
|
153
161
|
* A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
|
|
154
162
|
*/
|
|
155
|
-
lookupKey?: pulumi.Input<string>;
|
|
163
|
+
lookupKey?: pulumi.Input<string | undefined>;
|
|
156
164
|
/**
|
|
157
165
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
158
166
|
*/
|
|
159
167
|
metadata?: pulumi.Input<{
|
|
160
168
|
[key: string]: pulumi.Input<string>;
|
|
161
|
-
}>;
|
|
169
|
+
} | undefined>;
|
|
162
170
|
/**
|
|
163
171
|
* A brief description of the price, hidden from customers.
|
|
164
172
|
*/
|
|
165
|
-
nickname?: pulumi.Input<string>;
|
|
173
|
+
nickname?: pulumi.Input<string | undefined>;
|
|
166
174
|
/**
|
|
167
175
|
* String representing the object's type. Objects of the same type share the same value.
|
|
168
176
|
*/
|
|
169
|
-
object?: pulumi.Input<string>;
|
|
177
|
+
object?: pulumi.Input<string | undefined>;
|
|
170
178
|
/**
|
|
171
179
|
* The ID of the product this price is associated with.
|
|
172
180
|
*/
|
|
173
|
-
product?: pulumi.Input<string>;
|
|
181
|
+
product?: pulumi.Input<string | undefined>;
|
|
174
182
|
/**
|
|
175
183
|
* These fields can be used to create a new product that this price will belong to.
|
|
176
184
|
*/
|
|
177
|
-
productDatas?: pulumi.Input<pulumi.Input<inputs.PriceProductData>[]>;
|
|
185
|
+
productDatas?: pulumi.Input<pulumi.Input<inputs.PriceProductData>[] | undefined>;
|
|
178
186
|
/**
|
|
179
187
|
* The recurring components of a price such as <span pulumi-lang-nodejs="`interval`" pulumi-lang-dotnet="`Interval`" pulumi-lang-go="`interval`" pulumi-lang-python="`interval`" pulumi-lang-yaml="`interval`" pulumi-lang-java="`interval`" pulumi-lang-hcl="`interval`">`interval`</span> and <span pulumi-lang-nodejs="`usageType`" pulumi-lang-dotnet="`UsageType`" pulumi-lang-go="`usageType`" pulumi-lang-python="`usage_type`" pulumi-lang-yaml="`usageType`" pulumi-lang-java="`usageType`" pulumi-lang-hcl="`usage_type`">`usageType`</span>.
|
|
180
188
|
*/
|
|
181
|
-
recurrings?: pulumi.Input<pulumi.Input<inputs.PriceRecurring>[]>;
|
|
189
|
+
recurrings?: pulumi.Input<pulumi.Input<inputs.PriceRecurring>[] | undefined>;
|
|
182
190
|
/**
|
|
183
|
-
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span>, <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, or <span pulumi-lang-nodejs="`unspecified`" pulumi-lang-dotnet="`Unspecified`" pulumi-lang-go="`unspecified`" pulumi-lang-python="`unspecified`" pulumi-lang-yaml="`unspecified`" pulumi-lang-java="`unspecified`" pulumi-lang-hcl="`unspecified`">`unspecified`</span>. Once specified as either <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span> or <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, it cannot be changed.
|
|
191
|
+
* Only required if a [default tax behavior](<https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)>) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span>, <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, or <span pulumi-lang-nodejs="`unspecified`" pulumi-lang-dotnet="`Unspecified`" pulumi-lang-go="`unspecified`" pulumi-lang-python="`unspecified`" pulumi-lang-yaml="`unspecified`" pulumi-lang-java="`unspecified`" pulumi-lang-hcl="`unspecified`">`unspecified`</span>. Once specified as either <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span> or <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, it cannot be changed.
|
|
184
192
|
*/
|
|
185
|
-
taxBehavior?: pulumi.Input<string>;
|
|
193
|
+
taxBehavior?: pulumi.Input<string | undefined>;
|
|
186
194
|
/**
|
|
187
195
|
* Each element represents a pricing tier. This parameter requires <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span> to be set to <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. See also the documentation for <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span>.
|
|
188
196
|
*/
|
|
189
|
-
tiers?: pulumi.Input<pulumi.Input<inputs.PriceTier>[]>;
|
|
197
|
+
tiers?: pulumi.Input<pulumi.Input<inputs.PriceTier>[] | undefined>;
|
|
190
198
|
/**
|
|
191
199
|
* Defines if the tiering price should be <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> or <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span> based. In <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span>-based tiering, the maximum quantity within a period determines the per unit price. In <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> tiering, pricing can change as the quantity grows.
|
|
192
200
|
*/
|
|
193
|
-
tiersMode?: pulumi.Input<string>;
|
|
201
|
+
tiersMode?: pulumi.Input<string | undefined>;
|
|
194
202
|
/**
|
|
195
203
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
196
204
|
* If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.
|
|
197
205
|
*/
|
|
198
|
-
transferLookupKey?: pulumi.Input<boolean>;
|
|
206
|
+
transferLookupKey?: pulumi.Input<boolean | undefined>;
|
|
199
207
|
/**
|
|
200
208
|
* Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span>.
|
|
201
209
|
*/
|
|
202
|
-
transformQuantity?: pulumi.Input<inputs.PriceTransformQuantity>;
|
|
210
|
+
transformQuantity?: pulumi.Input<inputs.PriceTransformQuantity | undefined>;
|
|
203
211
|
/**
|
|
204
212
|
* One of <span pulumi-lang-nodejs="`oneTime`" pulumi-lang-dotnet="`OneTime`" pulumi-lang-go="`oneTime`" pulumi-lang-python="`one_time`" pulumi-lang-yaml="`oneTime`" pulumi-lang-java="`oneTime`" pulumi-lang-hcl="`one_time`">`oneTime`</span> or <span pulumi-lang-nodejs="`recurring`" pulumi-lang-dotnet="`Recurring`" pulumi-lang-go="`recurring`" pulumi-lang-python="`recurring`" pulumi-lang-yaml="`recurring`" pulumi-lang-java="`recurring`" pulumi-lang-hcl="`recurring`">`recurring`</span> depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
|
|
205
213
|
*/
|
|
206
|
-
type?: pulumi.Input<string>;
|
|
214
|
+
type?: pulumi.Input<string | undefined>;
|
|
207
215
|
/**
|
|
208
216
|
* The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.
|
|
209
217
|
*/
|
|
210
|
-
unitAmount?: pulumi.Input<number>;
|
|
218
|
+
unitAmount?: pulumi.Input<number | undefined>;
|
|
211
219
|
/**
|
|
212
220
|
* The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
|
|
213
221
|
*/
|
|
214
|
-
unitAmountDecimal?: pulumi.Input<string>;
|
|
222
|
+
unitAmountDecimal?: pulumi.Input<string | undefined>;
|
|
215
223
|
}
|
|
216
224
|
/**
|
|
217
225
|
* The set of arguments for constructing a Price resource.
|
|
@@ -220,11 +228,11 @@ export interface PriceArgs {
|
|
|
220
228
|
/**
|
|
221
229
|
* Whether the price can be used for new purchases.
|
|
222
230
|
*/
|
|
223
|
-
active?: pulumi.Input<boolean>;
|
|
231
|
+
active?: pulumi.Input<boolean | undefined>;
|
|
224
232
|
/**
|
|
225
233
|
* Describes how to compute the price per period. Either <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> or <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. <span pulumi-lang-nodejs="`perUnit`" pulumi-lang-dotnet="`PerUnit`" pulumi-lang-go="`perUnit`" pulumi-lang-python="`per_unit`" pulumi-lang-yaml="`perUnit`" pulumi-lang-java="`perUnit`" pulumi-lang-hcl="`per_unit`">`perUnit`</span> indicates that the fixed amount (specified in <span pulumi-lang-nodejs="`unitAmount`" pulumi-lang-dotnet="`UnitAmount`" pulumi-lang-go="`unitAmount`" pulumi-lang-python="`unit_amount`" pulumi-lang-yaml="`unitAmount`" pulumi-lang-java="`unitAmount`" pulumi-lang-hcl="`unit_amount`">`unitAmount`</span> or <span pulumi-lang-nodejs="`unitAmountDecimal`" pulumi-lang-dotnet="`UnitAmountDecimal`" pulumi-lang-go="`unitAmountDecimal`" pulumi-lang-python="`unit_amount_decimal`" pulumi-lang-yaml="`unitAmountDecimal`" pulumi-lang-java="`unitAmountDecimal`" pulumi-lang-hcl="`unit_amount_decimal`">`unitAmountDecimal`</span>) will be charged per unit in <span pulumi-lang-nodejs="`quantity`" pulumi-lang-dotnet="`Quantity`" pulumi-lang-go="`quantity`" pulumi-lang-python="`quantity`" pulumi-lang-yaml="`quantity`" pulumi-lang-java="`quantity`" pulumi-lang-hcl="`quantity`">`quantity`</span> (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span> indicates that the unit pricing will be computed using a tiering strategy as defined using the <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span> and <span pulumi-lang-nodejs="`tiersMode`" pulumi-lang-dotnet="`TiersMode`" pulumi-lang-go="`tiersMode`" pulumi-lang-python="`tiers_mode`" pulumi-lang-yaml="`tiersMode`" pulumi-lang-java="`tiersMode`" pulumi-lang-hcl="`tiers_mode`">`tiersMode`</span> attributes.
|
|
226
234
|
*/
|
|
227
|
-
billingScheme?: pulumi.Input<string>;
|
|
235
|
+
billingScheme?: pulumi.Input<string | undefined>;
|
|
228
236
|
/**
|
|
229
237
|
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
230
238
|
*/
|
|
@@ -232,65 +240,65 @@ export interface PriceArgs {
|
|
|
232
240
|
/**
|
|
233
241
|
* Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
|
234
242
|
*/
|
|
235
|
-
currencyOptions?: pulumi.Input<pulumi.Input<inputs.PriceCurrencyOption>[]>;
|
|
243
|
+
currencyOptions?: pulumi.Input<pulumi.Input<inputs.PriceCurrencyOption>[] | undefined>;
|
|
236
244
|
/**
|
|
237
245
|
* When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
|
|
238
246
|
*/
|
|
239
|
-
customUnitAmounts?: pulumi.Input<pulumi.Input<inputs.PriceCustomUnitAmount>[]>;
|
|
247
|
+
customUnitAmounts?: pulumi.Input<pulumi.Input<inputs.PriceCustomUnitAmount>[] | undefined>;
|
|
240
248
|
/**
|
|
241
249
|
* A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
|
|
242
250
|
*/
|
|
243
|
-
lookupKey?: pulumi.Input<string>;
|
|
251
|
+
lookupKey?: pulumi.Input<string | undefined>;
|
|
244
252
|
/**
|
|
245
253
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
246
254
|
*/
|
|
247
255
|
metadata?: pulumi.Input<{
|
|
248
256
|
[key: string]: pulumi.Input<string>;
|
|
249
|
-
}>;
|
|
257
|
+
} | undefined>;
|
|
250
258
|
/**
|
|
251
259
|
* A brief description of the price, hidden from customers.
|
|
252
260
|
*/
|
|
253
|
-
nickname?: pulumi.Input<string>;
|
|
261
|
+
nickname?: pulumi.Input<string | undefined>;
|
|
254
262
|
/**
|
|
255
263
|
* The ID of the product this price is associated with.
|
|
256
264
|
*/
|
|
257
|
-
product?: pulumi.Input<string>;
|
|
265
|
+
product?: pulumi.Input<string | undefined>;
|
|
258
266
|
/**
|
|
259
267
|
* These fields can be used to create a new product that this price will belong to.
|
|
260
268
|
*/
|
|
261
|
-
productDatas?: pulumi.Input<pulumi.Input<inputs.PriceProductData>[]>;
|
|
269
|
+
productDatas?: pulumi.Input<pulumi.Input<inputs.PriceProductData>[] | undefined>;
|
|
262
270
|
/**
|
|
263
271
|
* The recurring components of a price such as <span pulumi-lang-nodejs="`interval`" pulumi-lang-dotnet="`Interval`" pulumi-lang-go="`interval`" pulumi-lang-python="`interval`" pulumi-lang-yaml="`interval`" pulumi-lang-java="`interval`" pulumi-lang-hcl="`interval`">`interval`</span> and <span pulumi-lang-nodejs="`usageType`" pulumi-lang-dotnet="`UsageType`" pulumi-lang-go="`usageType`" pulumi-lang-python="`usage_type`" pulumi-lang-yaml="`usageType`" pulumi-lang-java="`usageType`" pulumi-lang-hcl="`usage_type`">`usageType`</span>.
|
|
264
272
|
*/
|
|
265
|
-
recurrings?: pulumi.Input<pulumi.Input<inputs.PriceRecurring>[]>;
|
|
273
|
+
recurrings?: pulumi.Input<pulumi.Input<inputs.PriceRecurring>[] | undefined>;
|
|
266
274
|
/**
|
|
267
|
-
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span>, <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, or <span pulumi-lang-nodejs="`unspecified`" pulumi-lang-dotnet="`Unspecified`" pulumi-lang-go="`unspecified`" pulumi-lang-python="`unspecified`" pulumi-lang-yaml="`unspecified`" pulumi-lang-java="`unspecified`" pulumi-lang-hcl="`unspecified`">`unspecified`</span>. Once specified as either <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span> or <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, it cannot be changed.
|
|
275
|
+
* Only required if a [default tax behavior](<https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)>) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span>, <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, or <span pulumi-lang-nodejs="`unspecified`" pulumi-lang-dotnet="`Unspecified`" pulumi-lang-go="`unspecified`" pulumi-lang-python="`unspecified`" pulumi-lang-yaml="`unspecified`" pulumi-lang-java="`unspecified`" pulumi-lang-hcl="`unspecified`">`unspecified`</span>. Once specified as either <span pulumi-lang-nodejs="`inclusive`" pulumi-lang-dotnet="`Inclusive`" pulumi-lang-go="`inclusive`" pulumi-lang-python="`inclusive`" pulumi-lang-yaml="`inclusive`" pulumi-lang-java="`inclusive`" pulumi-lang-hcl="`inclusive`">`inclusive`</span> or <span pulumi-lang-nodejs="`exclusive`" pulumi-lang-dotnet="`Exclusive`" pulumi-lang-go="`exclusive`" pulumi-lang-python="`exclusive`" pulumi-lang-yaml="`exclusive`" pulumi-lang-java="`exclusive`" pulumi-lang-hcl="`exclusive`">`exclusive`</span>, it cannot be changed.
|
|
268
276
|
*/
|
|
269
|
-
taxBehavior?: pulumi.Input<string>;
|
|
277
|
+
taxBehavior?: pulumi.Input<string | undefined>;
|
|
270
278
|
/**
|
|
271
279
|
* Each element represents a pricing tier. This parameter requires <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span> to be set to <span pulumi-lang-nodejs="`tiered`" pulumi-lang-dotnet="`Tiered`" pulumi-lang-go="`tiered`" pulumi-lang-python="`tiered`" pulumi-lang-yaml="`tiered`" pulumi-lang-java="`tiered`" pulumi-lang-hcl="`tiered`">`tiered`</span>. See also the documentation for <span pulumi-lang-nodejs="`billingScheme`" pulumi-lang-dotnet="`BillingScheme`" pulumi-lang-go="`billingScheme`" pulumi-lang-python="`billing_scheme`" pulumi-lang-yaml="`billingScheme`" pulumi-lang-java="`billingScheme`" pulumi-lang-hcl="`billing_scheme`">`billingScheme`</span>.
|
|
272
280
|
*/
|
|
273
|
-
tiers?: pulumi.Input<pulumi.Input<inputs.PriceTier>[]>;
|
|
281
|
+
tiers?: pulumi.Input<pulumi.Input<inputs.PriceTier>[] | undefined>;
|
|
274
282
|
/**
|
|
275
283
|
* Defines if the tiering price should be <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> or <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span> based. In <span pulumi-lang-nodejs="`volume`" pulumi-lang-dotnet="`Volume`" pulumi-lang-go="`volume`" pulumi-lang-python="`volume`" pulumi-lang-yaml="`volume`" pulumi-lang-java="`volume`" pulumi-lang-hcl="`volume`">`volume`</span>-based tiering, the maximum quantity within a period determines the per unit price. In <span pulumi-lang-nodejs="`graduated`" pulumi-lang-dotnet="`Graduated`" pulumi-lang-go="`graduated`" pulumi-lang-python="`graduated`" pulumi-lang-yaml="`graduated`" pulumi-lang-java="`graduated`" pulumi-lang-hcl="`graduated`">`graduated`</span> tiering, pricing can change as the quantity grows.
|
|
276
284
|
*/
|
|
277
|
-
tiersMode?: pulumi.Input<string>;
|
|
285
|
+
tiersMode?: pulumi.Input<string | undefined>;
|
|
278
286
|
/**
|
|
279
287
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
280
288
|
* If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.
|
|
281
289
|
*/
|
|
282
|
-
transferLookupKey?: pulumi.Input<boolean>;
|
|
290
|
+
transferLookupKey?: pulumi.Input<boolean | undefined>;
|
|
283
291
|
/**
|
|
284
292
|
* Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with <span pulumi-lang-nodejs="`tiers`" pulumi-lang-dotnet="`Tiers`" pulumi-lang-go="`tiers`" pulumi-lang-python="`tiers`" pulumi-lang-yaml="`tiers`" pulumi-lang-java="`tiers`" pulumi-lang-hcl="`tiers`">`tiers`</span>.
|
|
285
293
|
*/
|
|
286
|
-
transformQuantity?: pulumi.Input<inputs.PriceTransformQuantity>;
|
|
294
|
+
transformQuantity?: pulumi.Input<inputs.PriceTransformQuantity | undefined>;
|
|
287
295
|
/**
|
|
288
296
|
* The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.
|
|
289
297
|
*/
|
|
290
|
-
unitAmount?: pulumi.Input<number>;
|
|
298
|
+
unitAmount?: pulumi.Input<number | undefined>;
|
|
291
299
|
/**
|
|
292
300
|
* The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
|
|
293
301
|
*/
|
|
294
|
-
unitAmountDecimal?: pulumi.Input<string>;
|
|
302
|
+
unitAmountDecimal?: pulumi.Input<string | undefined>;
|
|
295
303
|
}
|
|
296
304
|
//# sourceMappingURL=price.d.ts.map
|