@lshay-provider/stripe 0.0.0-stage → 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.
Files changed (283) hide show
  1. package/README.md +3 -3
  2. package/bin/applePayDomain.d.ts +72 -0
  3. package/bin/applePayDomain.d.ts.map +1 -0
  4. package/bin/applePayDomain.js +91 -0
  5. package/bin/applePayDomain.js.map +1 -0
  6. package/bin/appsInstall.d.ts +201 -0
  7. package/bin/appsInstall.d.ts.map +1 -0
  8. package/bin/appsInstall.js +121 -0
  9. package/bin/appsInstall.js.map +1 -0
  10. package/bin/billingAlert.d.ts +107 -0
  11. package/bin/billingAlert.d.ts.map +1 -0
  12. package/bin/billingAlert.js +98 -0
  13. package/bin/billingAlert.js.map +1 -0
  14. package/bin/billingCreditGrant.d.ts +203 -0
  15. package/bin/billingCreditGrant.d.ts.map +1 -0
  16. package/bin/billingCreditGrant.js +118 -0
  17. package/bin/billingCreditGrant.js.map +1 -0
  18. package/bin/billingFeedbackOption.d.ts +85 -0
  19. package/bin/billingFeedbackOption.d.ts.map +1 -0
  20. package/bin/billingFeedbackOption.js +93 -0
  21. package/bin/billingFeedbackOption.js.map +1 -0
  22. package/bin/billingMeter.d.ts +134 -0
  23. package/bin/billingMeter.d.ts.map +1 -0
  24. package/bin/billingMeter.js +110 -0
  25. package/bin/billingMeter.js.map +1 -0
  26. package/bin/billingPortalConfiguration.d.ts +150 -0
  27. package/bin/billingPortalConfiguration.d.ts.map +1 -0
  28. package/bin/billingPortalConfiguration.js +107 -0
  29. package/bin/billingPortalConfiguration.js.map +1 -0
  30. package/bin/charge.d.ts +496 -0
  31. package/bin/charge.d.ts.map +1 -0
  32. package/bin/charge.js +176 -0
  33. package/bin/charge.js.map +1 -0
  34. package/bin/climateOrder.d.ts +247 -0
  35. package/bin/climateOrder.d.ts.map +1 -0
  36. package/bin/climateOrder.js +129 -0
  37. package/bin/climateOrder.js.map +1 -0
  38. package/bin/config/index.d.ts +2 -0
  39. package/bin/config/index.d.ts.map +1 -0
  40. package/bin/config/index.js +21 -0
  41. package/bin/config/index.js.map +1 -0
  42. package/bin/config/vars.d.ts +9 -0
  43. package/bin/config/vars.d.ts.map +1 -0
  44. package/bin/config/vars.js +42 -0
  45. package/bin/config/vars.js.map +1 -0
  46. package/bin/coupon.d.ts +228 -0
  47. package/bin/coupon.d.ts.map +1 -0
  48. package/bin/coupon.js +114 -0
  49. package/bin/coupon.js.map +1 -0
  50. package/bin/creditNote.d.ts +374 -0
  51. package/bin/creditNote.d.ts.map +1 -0
  52. package/bin/creditNote.js +151 -0
  53. package/bin/creditNote.js.map +1 -0
  54. package/bin/customer.d.ts +384 -0
  55. package/bin/customer.d.ts.map +1 -0
  56. package/bin/customer.js +144 -0
  57. package/bin/customer.js.map +1 -0
  58. package/bin/customerBalanceTransaction.d.ts +175 -0
  59. package/bin/customerBalanceTransaction.d.ts.map +1 -0
  60. package/bin/customerBalanceTransaction.js +115 -0
  61. package/bin/customerBalanceTransaction.js.map +1 -0
  62. package/bin/entitlementsFeature.d.ts +111 -0
  63. package/bin/entitlementsFeature.d.ts.map +1 -0
  64. package/bin/entitlementsFeature.js +95 -0
  65. package/bin/entitlementsFeature.js.map +1 -0
  66. package/bin/file.d.ts +153 -0
  67. package/bin/file.d.ts.map +1 -0
  68. package/bin/file.js +110 -0
  69. package/bin/file.js.map +1 -0
  70. package/bin/fileLink.d.ts +127 -0
  71. package/bin/fileLink.d.ts.map +1 -0
  72. package/bin/fileLink.js +99 -0
  73. package/bin/fileLink.js.map +1 -0
  74. package/bin/index.d.ts +191 -0
  75. package/bin/index.d.ts.map +1 -0
  76. package/bin/index.js +370 -0
  77. package/bin/index.js.map +1 -0
  78. package/bin/invoice.d.ts +795 -0
  79. package/bin/invoice.d.ts.map +1 -0
  80. package/bin/invoice.js +242 -0
  81. package/bin/invoice.js.map +1 -0
  82. package/bin/invoiceItem.d.ts +354 -0
  83. package/bin/invoiceItem.d.ts.map +1 -0
  84. package/bin/invoiceItem.js +136 -0
  85. package/bin/invoiceItem.js.map +1 -0
  86. package/bin/issuingCard.d.ts +313 -0
  87. package/bin/issuingCard.d.ts.map +1 -0
  88. package/bin/issuingCard.js +138 -0
  89. package/bin/issuingCard.js.map +1 -0
  90. package/bin/issuingCardholder.d.ts +205 -0
  91. package/bin/issuingCardholder.d.ts.map +1 -0
  92. package/bin/issuingCardholder.js +113 -0
  93. package/bin/issuingCardholder.js.map +1 -0
  94. package/bin/issuingDispute.d.ts +152 -0
  95. package/bin/issuingDispute.d.ts.map +1 -0
  96. package/bin/issuingDispute.js +102 -0
  97. package/bin/issuingDispute.js.map +1 -0
  98. package/bin/issuingPersonalizationDesign.d.ts +177 -0
  99. package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
  100. package/bin/issuingPersonalizationDesign.js +111 -0
  101. package/bin/issuingPersonalizationDesign.js.map +1 -0
  102. package/bin/package.json +34 -0
  103. package/bin/paymentIntent.d.ts +670 -0
  104. package/bin/paymentIntent.d.ts.map +1 -0
  105. package/bin/paymentIntent.js +194 -0
  106. package/bin/paymentIntent.js.map +1 -0
  107. package/bin/paymentLink.d.ts +415 -0
  108. package/bin/paymentLink.d.ts.map +1 -0
  109. package/bin/paymentLink.js +155 -0
  110. package/bin/paymentLink.js.map +1 -0
  111. package/bin/paymentMethod.d.ts +232 -0
  112. package/bin/paymentMethod.d.ts.map +1 -0
  113. package/bin/paymentMethod.js +154 -0
  114. package/bin/paymentMethod.js.map +1 -0
  115. package/bin/paymentMethodConfiguration.d.ts +310 -0
  116. package/bin/paymentMethodConfiguration.d.ts.map +1 -0
  117. package/bin/paymentMethodConfiguration.js +218 -0
  118. package/bin/paymentMethodConfiguration.js.map +1 -0
  119. package/bin/paymentMethodDomain.d.ts +143 -0
  120. package/bin/paymentMethodDomain.d.ts.map +1 -0
  121. package/bin/paymentMethodDomain.js +105 -0
  122. package/bin/paymentMethodDomain.js.map +1 -0
  123. package/bin/person.d.ts +436 -0
  124. package/bin/person.d.ts.map +1 -0
  125. package/bin/person.js +157 -0
  126. package/bin/person.js.map +1 -0
  127. package/bin/plan.d.ts +281 -0
  128. package/bin/plan.d.ts.map +1 -0
  129. package/bin/plan.js +126 -0
  130. package/bin/plan.js.map +1 -0
  131. package/bin/price.d.ts +304 -0
  132. package/bin/price.d.ts.map +1 -0
  133. package/bin/price.js +129 -0
  134. package/bin/price.js.map +1 -0
  135. package/bin/product.d.ts +285 -0
  136. package/bin/product.d.ts.map +1 -0
  137. package/bin/product.js +122 -0
  138. package/bin/product.js.map +1 -0
  139. package/bin/productCatalogTrialOffer.d.ts +105 -0
  140. package/bin/productCatalogTrialOffer.d.ts.map +1 -0
  141. package/bin/productCatalogTrialOffer.js +103 -0
  142. package/bin/productCatalogTrialOffer.js.map +1 -0
  143. package/bin/productFeature.d.ts +88 -0
  144. package/bin/productFeature.d.ts.map +1 -0
  145. package/bin/productFeature.js +94 -0
  146. package/bin/productFeature.js.map +1 -0
  147. package/bin/promotionCode.d.ts +175 -0
  148. package/bin/promotionCode.d.ts.map +1 -0
  149. package/bin/promotionCode.js +106 -0
  150. package/bin/promotionCode.js.map +1 -0
  151. package/bin/provider.d.ts +60 -0
  152. package/bin/provider.d.ts.map +1 -0
  153. package/bin/provider.js +80 -0
  154. package/bin/provider.js.map +1 -0
  155. package/bin/quote.d.ts +350 -0
  156. package/bin/quote.d.ts.map +1 -0
  157. package/bin/quote.js +144 -0
  158. package/bin/quote.js.map +1 -0
  159. package/bin/radarValueList.d.ts +131 -0
  160. package/bin/radarValueList.d.ts.map +1 -0
  161. package/bin/radarValueList.js +99 -0
  162. package/bin/radarValueList.js.map +1 -0
  163. package/bin/radarValueListItem.d.ts +101 -0
  164. package/bin/radarValueListItem.d.ts.map +1 -0
  165. package/bin/radarValueListItem.js +98 -0
  166. package/bin/radarValueListItem.js.map +1 -0
  167. package/bin/setupIntent.d.ts +492 -0
  168. package/bin/setupIntent.d.ts.map +1 -0
  169. package/bin/setupIntent.js +154 -0
  170. package/bin/setupIntent.js.map +1 -0
  171. package/bin/shippingRate.d.ts +164 -0
  172. package/bin/shippingRate.d.ts.map +1 -0
  173. package/bin/shippingRate.js +105 -0
  174. package/bin/shippingRate.js.map +1 -0
  175. package/bin/source.d.ts +303 -0
  176. package/bin/source.d.ts.map +1 -0
  177. package/bin/source.js +164 -0
  178. package/bin/source.js.map +1 -0
  179. package/bin/subscription.d.ts +650 -0
  180. package/bin/subscription.d.ts.map +1 -0
  181. package/bin/subscription.js +190 -0
  182. package/bin/subscription.js.map +1 -0
  183. package/bin/subscriptionItem.d.ts +297 -0
  184. package/bin/subscriptionItem.d.ts.map +1 -0
  185. package/bin/subscriptionItem.js +121 -0
  186. package/bin/subscriptionItem.js.map +1 -0
  187. package/bin/subscriptionSchedule.d.ts +263 -0
  188. package/bin/subscriptionSchedule.d.ts.map +1 -0
  189. package/bin/subscriptionSchedule.js +126 -0
  190. package/bin/subscriptionSchedule.js.map +1 -0
  191. package/bin/taxId.d.ts +139 -0
  192. package/bin/taxId.d.ts.map +1 -0
  193. package/bin/taxId.js +109 -0
  194. package/bin/taxId.js.map +1 -0
  195. package/bin/taxLocation.d.ts +90 -0
  196. package/bin/taxLocation.d.ts.map +1 -0
  197. package/bin/taxLocation.js +96 -0
  198. package/bin/taxLocation.js.map +1 -0
  199. package/bin/taxRate.d.ts +233 -0
  200. package/bin/taxRate.d.ts.map +1 -0
  201. package/bin/taxRate.js +123 -0
  202. package/bin/taxRate.js.map +1 -0
  203. package/bin/taxRegistration.d.ts +118 -0
  204. package/bin/taxRegistration.d.ts.map +1 -0
  205. package/bin/taxRegistration.js +105 -0
  206. package/bin/taxRegistration.js.map +1 -0
  207. package/bin/terminalConfiguration.d.ts +131 -0
  208. package/bin/terminalConfiguration.d.ts.map +1 -0
  209. package/bin/terminalConfiguration.js +120 -0
  210. package/bin/terminalConfiguration.js.map +1 -0
  211. package/bin/terminalLocation.d.ts +147 -0
  212. package/bin/terminalLocation.d.ts.map +1 -0
  213. package/bin/terminalLocation.js +100 -0
  214. package/bin/terminalLocation.js.map +1 -0
  215. package/bin/terminalReader.d.ts +168 -0
  216. package/bin/terminalReader.d.ts.map +1 -0
  217. package/bin/terminalReader.js +109 -0
  218. package/bin/terminalReader.js.map +1 -0
  219. package/bin/threeDSecureAuthentication.d.ts +297 -0
  220. package/bin/threeDSecureAuthentication.d.ts.map +1 -0
  221. package/bin/threeDSecureAuthentication.js +132 -0
  222. package/bin/threeDSecureAuthentication.js.map +1 -0
  223. package/bin/treasuryFinancialAccount.d.ts +203 -0
  224. package/bin/treasuryFinancialAccount.d.ts.map +1 -0
  225. package/bin/treasuryFinancialAccount.js +119 -0
  226. package/bin/treasuryFinancialAccount.js.map +1 -0
  227. package/bin/types/index.d.ts +4 -0
  228. package/bin/types/index.d.ts.map +1 -0
  229. package/bin/types/index.js +34 -0
  230. package/bin/types/index.js.map +1 -0
  231. package/bin/types/input.d.ts +18743 -0
  232. package/bin/types/input.d.ts.map +1 -0
  233. package/bin/types/input.js +5 -0
  234. package/bin/types/input.js.map +1 -0
  235. package/bin/types/output.d.ts +18742 -0
  236. package/bin/types/output.d.ts.map +1 -0
  237. package/bin/types/output.js +5 -0
  238. package/bin/types/output.js.map +1 -0
  239. package/bin/utilities.d.ts +6 -0
  240. package/bin/utilities.d.ts.map +1 -0
  241. package/bin/utilities.js +125 -0
  242. package/bin/utilities.js.map +1 -0
  243. package/bin/v2coreEventDestination.d.ts +260 -0
  244. package/bin/v2coreEventDestination.d.ts.map +1 -0
  245. package/bin/v2coreEventDestination.js +127 -0
  246. package/bin/v2coreEventDestination.js.map +1 -0
  247. package/bin/v2coreVaultGbBankAccount.d.ts +182 -0
  248. package/bin/v2coreVaultGbBankAccount.d.ts.map +1 -0
  249. package/bin/v2coreVaultGbBankAccount.js +111 -0
  250. package/bin/v2coreVaultGbBankAccount.js.map +1 -0
  251. package/bin/v2coreVaultUsBankAccount.d.ts +193 -0
  252. package/bin/v2coreVaultUsBankAccount.d.ts.map +1 -0
  253. package/bin/v2coreVaultUsBankAccount.js +118 -0
  254. package/bin/v2coreVaultUsBankAccount.js.map +1 -0
  255. package/bin/v2moneyManagementFinancialAddress.d.ts +117 -0
  256. package/bin/v2moneyManagementFinancialAddress.d.ts.map +1 -0
  257. package/bin/v2moneyManagementFinancialAddress.js +102 -0
  258. package/bin/v2moneyManagementFinancialAddress.js.map +1 -0
  259. package/bin/v2moneyManagementInboundTransfer.d.ts +127 -0
  260. package/bin/v2moneyManagementInboundTransfer.d.ts.map +1 -0
  261. package/bin/v2moneyManagementInboundTransfer.js +105 -0
  262. package/bin/v2moneyManagementInboundTransfer.js.map +1 -0
  263. package/bin/v2moneyManagementOutboundPayment.d.ts +237 -0
  264. package/bin/v2moneyManagementOutboundPayment.d.ts.map +1 -0
  265. package/bin/v2moneyManagementOutboundPayment.js +125 -0
  266. package/bin/v2moneyManagementOutboundPayment.js.map +1 -0
  267. package/bin/v2moneyManagementOutboundSetupIntent.d.ts +121 -0
  268. package/bin/v2moneyManagementOutboundSetupIntent.d.ts.map +1 -0
  269. package/bin/v2moneyManagementOutboundSetupIntent.js +96 -0
  270. package/bin/v2moneyManagementOutboundSetupIntent.js.map +1 -0
  271. package/bin/v2moneyManagementPayoutIntent.d.ts +246 -0
  272. package/bin/v2moneyManagementPayoutIntent.d.ts.map +1 -0
  273. package/bin/v2moneyManagementPayoutIntent.js +127 -0
  274. package/bin/v2moneyManagementPayoutIntent.js.map +1 -0
  275. package/bin/v2moneyManagementRecipientVerification.d.ts +155 -0
  276. package/bin/v2moneyManagementRecipientVerification.d.ts.map +1 -0
  277. package/bin/v2moneyManagementRecipientVerification.js +107 -0
  278. package/bin/v2moneyManagementRecipientVerification.js.map +1 -0
  279. package/bin/webhookEndpoint.d.ts +171 -0
  280. package/bin/webhookEndpoint.d.ts.map +1 -0
  281. package/bin/webhookEndpoint.js +112 -0
  282. package/bin/webhookEndpoint.js.map +1 -0
  283. package/package.json +31 -3
package/bin/price.d.ts ADDED
@@ -0,0 +1,304 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class Price extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing Price resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
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>;
23
+ /**
24
+ * Returns true if the given object is an instance of Price. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj: any): obj is Price;
28
+ /**
29
+ * Whether the price can be used for new purchases.
30
+ */
31
+ readonly active: pulumi.Output<boolean>;
32
+ /**
33
+ * 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.
34
+ */
35
+ readonly billingScheme: pulumi.Output<string>;
36
+ /**
37
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
38
+ */
39
+ readonly created: pulumi.Output<number>;
40
+ /**
41
+ * 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).
42
+ */
43
+ readonly currency: pulumi.Output<string>;
44
+ /**
45
+ * 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).
46
+ */
47
+ readonly currencyOptions: pulumi.Output<outputs.PriceCurrencyOption[] | undefined>;
48
+ /**
49
+ * When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
50
+ */
51
+ readonly customUnitAmounts: pulumi.Output<outputs.PriceCustomUnitAmount[] | undefined>;
52
+ /**
53
+ * 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>.
54
+ */
55
+ readonly livemode: pulumi.Output<boolean>;
56
+ /**
57
+ * A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
58
+ */
59
+ readonly lookupKey: pulumi.Output<string>;
60
+ /**
61
+ * 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.
62
+ */
63
+ readonly metadata: pulumi.Output<{
64
+ [key: string]: string;
65
+ }>;
66
+ /**
67
+ * A brief description of the price, hidden from customers.
68
+ */
69
+ readonly nickname: pulumi.Output<string>;
70
+ /**
71
+ * String representing the object's type. Objects of the same type share the same value.
72
+ */
73
+ readonly object: pulumi.Output<string>;
74
+ /**
75
+ * The ID of the product this price is associated with.
76
+ */
77
+ readonly product: pulumi.Output<string>;
78
+ /**
79
+ * These fields can be used to create a new product that this price will belong to.
80
+ */
81
+ readonly productDatas: pulumi.Output<outputs.PriceProductData[] | undefined>;
82
+ /**
83
+ * 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>.
84
+ */
85
+ readonly recurrings: pulumi.Output<outputs.PriceRecurring[] | undefined>;
86
+ /**
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.
88
+ */
89
+ readonly taxBehavior: pulumi.Output<string>;
90
+ /**
91
+ * 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>.
92
+ */
93
+ readonly tiers: pulumi.Output<outputs.PriceTier[] | undefined>;
94
+ /**
95
+ * 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.
96
+ */
97
+ readonly tiersMode: pulumi.Output<string>;
98
+ /**
99
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
100
+ * If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.
101
+ */
102
+ readonly transferLookupKey: pulumi.Output<boolean | undefined>;
103
+ /**
104
+ * 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>.
105
+ */
106
+ readonly transformQuantity: pulumi.Output<outputs.PriceTransformQuantity>;
107
+ /**
108
+ * 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.
109
+ */
110
+ readonly type: pulumi.Output<string>;
111
+ /**
112
+ * 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`.
113
+ */
114
+ readonly unitAmount: pulumi.Output<number>;
115
+ /**
116
+ * 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`.
117
+ */
118
+ readonly unitAmountDecimal: pulumi.Output<string>;
119
+ /**
120
+ * Create a Price resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: PriceArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering Price resources.
130
+ */
131
+ export interface PriceState {
132
+ /**
133
+ * Whether the price can be used for new purchases.
134
+ */
135
+ active?: pulumi.Input<boolean | undefined>;
136
+ /**
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.
138
+ */
139
+ billingScheme?: pulumi.Input<string | undefined>;
140
+ /**
141
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
142
+ */
143
+ created?: pulumi.Input<number | undefined>;
144
+ /**
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).
146
+ */
147
+ currency?: pulumi.Input<string | undefined>;
148
+ /**
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).
150
+ */
151
+ currencyOptions?: pulumi.Input<pulumi.Input<inputs.PriceCurrencyOption>[] | undefined>;
152
+ /**
153
+ * When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
154
+ */
155
+ customUnitAmounts?: pulumi.Input<pulumi.Input<inputs.PriceCustomUnitAmount>[] | undefined>;
156
+ /**
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>.
158
+ */
159
+ livemode?: pulumi.Input<boolean | undefined>;
160
+ /**
161
+ * A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
162
+ */
163
+ lookupKey?: pulumi.Input<string | undefined>;
164
+ /**
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.
166
+ */
167
+ metadata?: pulumi.Input<{
168
+ [key: string]: pulumi.Input<string>;
169
+ } | undefined>;
170
+ /**
171
+ * A brief description of the price, hidden from customers.
172
+ */
173
+ nickname?: pulumi.Input<string | undefined>;
174
+ /**
175
+ * String representing the object's type. Objects of the same type share the same value.
176
+ */
177
+ object?: pulumi.Input<string | undefined>;
178
+ /**
179
+ * The ID of the product this price is associated with.
180
+ */
181
+ product?: pulumi.Input<string | undefined>;
182
+ /**
183
+ * These fields can be used to create a new product that this price will belong to.
184
+ */
185
+ productDatas?: pulumi.Input<pulumi.Input<inputs.PriceProductData>[] | undefined>;
186
+ /**
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>.
188
+ */
189
+ recurrings?: pulumi.Input<pulumi.Input<inputs.PriceRecurring>[] | undefined>;
190
+ /**
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.
192
+ */
193
+ taxBehavior?: pulumi.Input<string | undefined>;
194
+ /**
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>.
196
+ */
197
+ tiers?: pulumi.Input<pulumi.Input<inputs.PriceTier>[] | undefined>;
198
+ /**
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.
200
+ */
201
+ tiersMode?: pulumi.Input<string | undefined>;
202
+ /**
203
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
204
+ * If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.
205
+ */
206
+ transferLookupKey?: pulumi.Input<boolean | undefined>;
207
+ /**
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>.
209
+ */
210
+ transformQuantity?: pulumi.Input<inputs.PriceTransformQuantity | undefined>;
211
+ /**
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.
213
+ */
214
+ type?: pulumi.Input<string | undefined>;
215
+ /**
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`.
217
+ */
218
+ unitAmount?: pulumi.Input<number | undefined>;
219
+ /**
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`.
221
+ */
222
+ unitAmountDecimal?: pulumi.Input<string | undefined>;
223
+ }
224
+ /**
225
+ * The set of arguments for constructing a Price resource.
226
+ */
227
+ export interface PriceArgs {
228
+ /**
229
+ * Whether the price can be used for new purchases.
230
+ */
231
+ active?: pulumi.Input<boolean | undefined>;
232
+ /**
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.
234
+ */
235
+ billingScheme?: pulumi.Input<string | undefined>;
236
+ /**
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).
238
+ */
239
+ currency: pulumi.Input<string>;
240
+ /**
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).
242
+ */
243
+ currencyOptions?: pulumi.Input<pulumi.Input<inputs.PriceCurrencyOption>[] | undefined>;
244
+ /**
245
+ * When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
246
+ */
247
+ customUnitAmounts?: pulumi.Input<pulumi.Input<inputs.PriceCustomUnitAmount>[] | undefined>;
248
+ /**
249
+ * A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
250
+ */
251
+ lookupKey?: pulumi.Input<string | undefined>;
252
+ /**
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.
254
+ */
255
+ metadata?: pulumi.Input<{
256
+ [key: string]: pulumi.Input<string>;
257
+ } | undefined>;
258
+ /**
259
+ * A brief description of the price, hidden from customers.
260
+ */
261
+ nickname?: pulumi.Input<string | undefined>;
262
+ /**
263
+ * The ID of the product this price is associated with.
264
+ */
265
+ product?: pulumi.Input<string | undefined>;
266
+ /**
267
+ * These fields can be used to create a new product that this price will belong to.
268
+ */
269
+ productDatas?: pulumi.Input<pulumi.Input<inputs.PriceProductData>[] | undefined>;
270
+ /**
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>.
272
+ */
273
+ recurrings?: pulumi.Input<pulumi.Input<inputs.PriceRecurring>[] | undefined>;
274
+ /**
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.
276
+ */
277
+ taxBehavior?: pulumi.Input<string | undefined>;
278
+ /**
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>.
280
+ */
281
+ tiers?: pulumi.Input<pulumi.Input<inputs.PriceTier>[] | undefined>;
282
+ /**
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.
284
+ */
285
+ tiersMode?: pulumi.Input<string | undefined>;
286
+ /**
287
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
288
+ * If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.
289
+ */
290
+ transferLookupKey?: pulumi.Input<boolean | undefined>;
291
+ /**
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>.
293
+ */
294
+ transformQuantity?: pulumi.Input<inputs.PriceTransformQuantity | undefined>;
295
+ /**
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`.
297
+ */
298
+ unitAmount?: pulumi.Input<number | undefined>;
299
+ /**
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`.
301
+ */
302
+ unitAmountDecimal?: pulumi.Input<string | undefined>;
303
+ }
304
+ //# sourceMappingURL=price.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../price.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,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,KAAK;IAI5H;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,M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;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IAC5E;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACxD"}
package/bin/price.js ADDED
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Price = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class Price extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Price resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new Price(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Check whether an existing Price 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/price:Price", id, state || {}, { ...opts }, utilities.getPackage());
53
+ }
54
+ /** @internal */
55
+ static __pulumiType = 'stripe:index/price:Price';
56
+ /**
57
+ * Returns true if the given object is an instance of Price. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === Price.__pulumiType;
65
+ }
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["active"] = state?.active;
72
+ resourceInputs["billingScheme"] = state?.billingScheme;
73
+ resourceInputs["created"] = state?.created;
74
+ resourceInputs["currency"] = state?.currency;
75
+ resourceInputs["currencyOptions"] = state?.currencyOptions;
76
+ resourceInputs["customUnitAmounts"] = state?.customUnitAmounts;
77
+ resourceInputs["livemode"] = state?.livemode;
78
+ resourceInputs["lookupKey"] = state?.lookupKey;
79
+ resourceInputs["metadata"] = state?.metadata;
80
+ resourceInputs["nickname"] = state?.nickname;
81
+ resourceInputs["object"] = state?.object;
82
+ resourceInputs["product"] = state?.product;
83
+ resourceInputs["productDatas"] = state?.productDatas;
84
+ resourceInputs["recurrings"] = state?.recurrings;
85
+ resourceInputs["taxBehavior"] = state?.taxBehavior;
86
+ resourceInputs["tiers"] = state?.tiers;
87
+ resourceInputs["tiersMode"] = state?.tiersMode;
88
+ resourceInputs["transferLookupKey"] = state?.transferLookupKey;
89
+ resourceInputs["transformQuantity"] = state?.transformQuantity;
90
+ resourceInputs["type"] = state?.type;
91
+ resourceInputs["unitAmount"] = state?.unitAmount;
92
+ resourceInputs["unitAmountDecimal"] = state?.unitAmountDecimal;
93
+ }
94
+ else {
95
+ const args = argsOrState;
96
+ if (args?.currency === undefined && !opts.urn) {
97
+ throw new Error("Missing required property 'currency'");
98
+ }
99
+ resourceInputs["active"] = args?.active;
100
+ resourceInputs["billingScheme"] = args?.billingScheme;
101
+ resourceInputs["currency"] = args?.currency;
102
+ resourceInputs["currencyOptions"] = args?.currencyOptions;
103
+ resourceInputs["customUnitAmounts"] = args?.customUnitAmounts;
104
+ resourceInputs["lookupKey"] = args?.lookupKey;
105
+ resourceInputs["metadata"] = args?.metadata;
106
+ resourceInputs["nickname"] = args?.nickname;
107
+ resourceInputs["product"] = args?.product;
108
+ resourceInputs["productDatas"] = args?.productDatas;
109
+ resourceInputs["recurrings"] = args?.recurrings;
110
+ resourceInputs["taxBehavior"] = args?.taxBehavior;
111
+ resourceInputs["tiers"] = args?.tiers;
112
+ resourceInputs["tiersMode"] = args?.tiersMode;
113
+ resourceInputs["transferLookupKey"] = args?.transferLookupKey ? pulumi.secret(args.transferLookupKey) : undefined;
114
+ resourceInputs["transformQuantity"] = args?.transformQuantity;
115
+ resourceInputs["unitAmount"] = args?.unitAmount;
116
+ resourceInputs["unitAmountDecimal"] = args?.unitAmountDecimal;
117
+ resourceInputs["created"] = undefined /*out*/;
118
+ resourceInputs["livemode"] = undefined /*out*/;
119
+ resourceInputs["object"] = undefined /*out*/;
120
+ resourceInputs["type"] = undefined /*out*/;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ const secretOpts = { additionalSecretOutputs: ["transferLookupKey"] };
124
+ opts = pulumi.mergeOptions(opts, secretOpts);
125
+ super(Price.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
126
+ }
127
+ }
128
+ exports.Price = Price;
129
+ //# sourceMappingURL=price.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"price.js","sourceRoot":"","sources":["../price.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAkB,EAAE,IAAmC;QAClG,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,0BAA0B,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAChI,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0BAA0B,CAAC;IAEjE;;;OAGG;IAC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