@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sub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AAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAClD;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;CAC9E"}
@@ -0,0 +1,190 @@
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.Subscription = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class Subscription extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Subscription 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 Subscription(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Check whether an existing Subscription 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/subscription:Subscription", id, state || {}, { ...opts }, utilities.getPackage());
53
+ }
54
+ /** @internal */
55
+ static __pulumiType = 'stripe:index/subscription:Subscription';
56
+ /**
57
+ * Returns true if the given object is an instance of Subscription. 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'] === Subscription.__pulumiType;
65
+ }
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["addInvoiceItems"] = state?.addInvoiceItems;
72
+ resourceInputs["application"] = state?.application;
73
+ resourceInputs["applicationFeePercent"] = state?.applicationFeePercent;
74
+ resourceInputs["automaticTax"] = state?.automaticTax;
75
+ resourceInputs["backdateStartDate"] = state?.backdateStartDate;
76
+ resourceInputs["billingCycleAnchor"] = state?.billingCycleAnchor;
77
+ resourceInputs["billingCycleAnchorConfig"] = state?.billingCycleAnchorConfig;
78
+ resourceInputs["billingMode"] = state?.billingMode;
79
+ resourceInputs["billingSchedules"] = state?.billingSchedules;
80
+ resourceInputs["billingThresholds"] = state?.billingThresholds;
81
+ resourceInputs["cancelAt"] = state?.cancelAt;
82
+ resourceInputs["cancelAtPeriodEnd"] = state?.cancelAtPeriodEnd;
83
+ resourceInputs["canceledAt"] = state?.canceledAt;
84
+ resourceInputs["cancellationDetails"] = state?.cancellationDetails;
85
+ resourceInputs["collectionMethod"] = state?.collectionMethod;
86
+ resourceInputs["created"] = state?.created;
87
+ resourceInputs["currency"] = state?.currency;
88
+ resourceInputs["customer"] = state?.customer;
89
+ resourceInputs["customerAccount"] = state?.customerAccount;
90
+ resourceInputs["daysUntilDue"] = state?.daysUntilDue;
91
+ resourceInputs["defaultPaymentMethod"] = state?.defaultPaymentMethod;
92
+ resourceInputs["defaultSource"] = state?.defaultSource;
93
+ resourceInputs["defaultTaxRates"] = state?.defaultTaxRates;
94
+ resourceInputs["description"] = state?.description;
95
+ resourceInputs["discounts"] = state?.discounts;
96
+ resourceInputs["endedAt"] = state?.endedAt;
97
+ resourceInputs["invoiceSettings"] = state?.invoiceSettings;
98
+ resourceInputs["items"] = state?.items;
99
+ resourceInputs["livemode"] = state?.livemode;
100
+ resourceInputs["managedPayments"] = state?.managedPayments;
101
+ resourceInputs["metadata"] = state?.metadata;
102
+ resourceInputs["nextPendingInvoiceItemInvoice"] = state?.nextPendingInvoiceItemInvoice;
103
+ resourceInputs["object"] = state?.object;
104
+ resourceInputs["offSession"] = state?.offSession;
105
+ resourceInputs["onBehalfOf"] = state?.onBehalfOf;
106
+ resourceInputs["pauseCollection"] = state?.pauseCollection;
107
+ resourceInputs["paymentBehavior"] = state?.paymentBehavior;
108
+ resourceInputs["paymentSettings"] = state?.paymentSettings;
109
+ resourceInputs["pendingInvoiceItemInterval"] = state?.pendingInvoiceItemInterval;
110
+ resourceInputs["pendingSetupIntent"] = state?.pendingSetupIntent;
111
+ resourceInputs["pendingUpdate"] = state?.pendingUpdate;
112
+ resourceInputs["presentmentDetails"] = state?.presentmentDetails;
113
+ resourceInputs["prorationBehavior"] = state?.prorationBehavior;
114
+ resourceInputs["schedule"] = state?.schedule;
115
+ resourceInputs["startDate"] = state?.startDate;
116
+ resourceInputs["status"] = state?.status;
117
+ resourceInputs["statusDetails"] = state?.statusDetails;
118
+ resourceInputs["testClock"] = state?.testClock;
119
+ resourceInputs["transferData"] = state?.transferData;
120
+ resourceInputs["trialEnd"] = state?.trialEnd;
121
+ resourceInputs["trialFromPlan"] = state?.trialFromPlan;
122
+ resourceInputs["trialPeriodDays"] = state?.trialPeriodDays;
123
+ resourceInputs["trialSettings"] = state?.trialSettings;
124
+ resourceInputs["trialStart"] = state?.trialStart;
125
+ }
126
+ else {
127
+ const args = argsOrState;
128
+ resourceInputs["addInvoiceItems"] = args?.addInvoiceItems ? pulumi.secret(args.addInvoiceItems) : undefined;
129
+ resourceInputs["applicationFeePercent"] = args?.applicationFeePercent;
130
+ resourceInputs["automaticTax"] = args?.automaticTax;
131
+ resourceInputs["backdateStartDate"] = args?.backdateStartDate ? pulumi.secret(args.backdateStartDate) : undefined;
132
+ resourceInputs["billingCycleAnchor"] = args?.billingCycleAnchor;
133
+ resourceInputs["billingCycleAnchorConfig"] = args?.billingCycleAnchorConfig;
134
+ resourceInputs["billingMode"] = args?.billingMode;
135
+ resourceInputs["billingSchedules"] = args?.billingSchedules;
136
+ resourceInputs["billingThresholds"] = args?.billingThresholds;
137
+ resourceInputs["cancelAt"] = args?.cancelAt;
138
+ resourceInputs["cancelAtPeriodEnd"] = args?.cancelAtPeriodEnd;
139
+ resourceInputs["cancellationDetails"] = args?.cancellationDetails;
140
+ resourceInputs["collectionMethod"] = args?.collectionMethod;
141
+ resourceInputs["currency"] = args?.currency;
142
+ resourceInputs["customer"] = args?.customer;
143
+ resourceInputs["customerAccount"] = args?.customerAccount;
144
+ resourceInputs["daysUntilDue"] = args?.daysUntilDue;
145
+ resourceInputs["defaultPaymentMethod"] = args?.defaultPaymentMethod;
146
+ resourceInputs["defaultSource"] = args?.defaultSource;
147
+ resourceInputs["defaultTaxRates"] = args?.defaultTaxRates;
148
+ resourceInputs["description"] = args?.description;
149
+ resourceInputs["discounts"] = args?.discounts;
150
+ resourceInputs["invoiceSettings"] = args?.invoiceSettings;
151
+ resourceInputs["items"] = args?.items;
152
+ resourceInputs["metadata"] = args?.metadata;
153
+ resourceInputs["offSession"] = args?.offSession ? pulumi.secret(args.offSession) : undefined;
154
+ resourceInputs["onBehalfOf"] = args?.onBehalfOf;
155
+ resourceInputs["pauseCollection"] = args?.pauseCollection;
156
+ resourceInputs["paymentBehavior"] = args?.paymentBehavior ? pulumi.secret(args.paymentBehavior) : undefined;
157
+ resourceInputs["paymentSettings"] = args?.paymentSettings;
158
+ resourceInputs["pendingInvoiceItemInterval"] = args?.pendingInvoiceItemInterval;
159
+ resourceInputs["prorationBehavior"] = args?.prorationBehavior ? pulumi.secret(args.prorationBehavior) : undefined;
160
+ resourceInputs["transferData"] = args?.transferData;
161
+ resourceInputs["trialEnd"] = args?.trialEnd;
162
+ resourceInputs["trialFromPlan"] = args?.trialFromPlan ? pulumi.secret(args.trialFromPlan) : undefined;
163
+ resourceInputs["trialPeriodDays"] = args?.trialPeriodDays ? pulumi.secret(args.trialPeriodDays) : undefined;
164
+ resourceInputs["trialSettings"] = args?.trialSettings;
165
+ resourceInputs["application"] = undefined /*out*/;
166
+ resourceInputs["canceledAt"] = undefined /*out*/;
167
+ resourceInputs["created"] = undefined /*out*/;
168
+ resourceInputs["endedAt"] = undefined /*out*/;
169
+ resourceInputs["livemode"] = undefined /*out*/;
170
+ resourceInputs["managedPayments"] = undefined /*out*/;
171
+ resourceInputs["nextPendingInvoiceItemInvoice"] = undefined /*out*/;
172
+ resourceInputs["object"] = undefined /*out*/;
173
+ resourceInputs["pendingSetupIntent"] = undefined /*out*/;
174
+ resourceInputs["pendingUpdate"] = undefined /*out*/;
175
+ resourceInputs["presentmentDetails"] = undefined /*out*/;
176
+ resourceInputs["schedule"] = undefined /*out*/;
177
+ resourceInputs["startDate"] = undefined /*out*/;
178
+ resourceInputs["status"] = undefined /*out*/;
179
+ resourceInputs["statusDetails"] = undefined /*out*/;
180
+ resourceInputs["testClock"] = undefined /*out*/;
181
+ resourceInputs["trialStart"] = undefined /*out*/;
182
+ }
183
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
184
+ const secretOpts = { additionalSecretOutputs: ["addInvoiceItems", "backdateStartDate", "offSession", "paymentBehavior", "prorationBehavior", "trialFromPlan", "trialPeriodDays"] };
185
+ opts = pulumi.mergeOptions(opts, secretOpts);
186
+ super(Subscription.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
187
+ }
188
+ }
189
+ exports.Subscription = Subscription;
190
+ //# sourceMappingURL=subscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.js","sourceRoot":"","sources":["../subscription.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAyB,EAAE,IAAmC;QACzG,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,wCAAwC,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC9I,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wCAAwC,CAAC;IAE/E;;;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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CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,iBAAiB,CAAC,EAAE,CAAC;QACnL,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AAxYL,oCAyYC"}
@@ -0,0 +1,297 @@
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 SubscriptionItem extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing SubscriptionItem 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?: SubscriptionItemState, opts?: pulumi.CustomResourceOptions): SubscriptionItem;
15
+ /**
16
+ * Check whether an existing SubscriptionItem 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?: SubscriptionItemState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
23
+ /**
24
+ * Returns true if the given object is an instance of SubscriptionItem. 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 SubscriptionItem;
28
+ /**
29
+ * The time period the subscription item has been billed for.
30
+ */
31
+ readonly billedUntil: pulumi.Output<number>;
32
+ /**
33
+ * Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
34
+ */
35
+ readonly billingThresholds: pulumi.Output<outputs.SubscriptionItemBillingThresholds>;
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
+ * The end time of this subscription item's current billing period.
42
+ */
43
+ readonly currentPeriodEnd: pulumi.Output<number>;
44
+ /**
45
+ * The start time of this subscription item's current billing period.
46
+ */
47
+ readonly currentPeriodStart: pulumi.Output<number>;
48
+ /**
49
+ * The current trial that is applied to this subscription item.
50
+ */
51
+ readonly currentTrial: pulumi.Output<outputs.SubscriptionItemCurrentTrial>;
52
+ /**
53
+ * The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.
54
+ */
55
+ readonly discounts: pulumi.Output<outputs.SubscriptionItemDiscount[]>;
56
+ /**
57
+ * 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.
58
+ */
59
+ readonly metadata: pulumi.Output<{
60
+ [key: string]: string;
61
+ }>;
62
+ /**
63
+ * String representing the object's type. Objects of the same type share the same value.
64
+ */
65
+ readonly object: pulumi.Output<string>;
66
+ /**
67
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
68
+ * Controls how Stripe handles payment when a subscription update requires payment and `collection_method=charge_automatically`.
69
+ */
70
+ readonly paymentBehavior: pulumi.Output<string | undefined>;
71
+ /**
72
+ * You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration.
73
+ *
74
+ * Plans define the base price, currency, and billing cycle for recurring purchases of products.
75
+ * [Products](https://docs.stripe.com/api#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.
76
+ *
77
+ * For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year.
78
+ *
79
+ * Related guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription) and more about [products and prices](https://docs.stripe.com/products-prices/overview).
80
+ */
81
+ readonly plan: pulumi.Output<string>;
82
+ /**
83
+ * Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products.
84
+ * [Products](https://docs.stripe.com/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.
85
+ *
86
+ * For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once.
87
+ *
88
+ * Related guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription), [create an invoice](https://docs.stripe.com/billing/invoices/create), and more about [products and prices](https://docs.stripe.com/products-prices/overview).
89
+ */
90
+ readonly price: pulumi.Output<string>;
91
+ /**
92
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
93
+ * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.
94
+ */
95
+ readonly priceData: pulumi.Output<outputs.SubscriptionItemPriceData | undefined>;
96
+ /**
97
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
98
+ * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's <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> changes. The default value is <span pulumi-lang-nodejs="`createProrations`" pulumi-lang-dotnet="`CreateProrations`" pulumi-lang-go="`createProrations`" pulumi-lang-python="`create_prorations`" pulumi-lang-yaml="`createProrations`" pulumi-lang-java="`createProrations`" pulumi-lang-hcl="`create_prorations`">`createProrations`</span>.
99
+ */
100
+ readonly prorationBehavior: pulumi.Output<string | undefined>;
101
+ /**
102
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
103
+ * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://www.terraform.io/api/invoices/create_preview) endpoint.
104
+ */
105
+ readonly prorationDate: pulumi.Output<number | undefined>;
106
+ /**
107
+ * The [quantity](https://docs.stripe.com/subscriptions/quantities) of the plan to which the customer should be subscribed.
108
+ */
109
+ readonly quantity: pulumi.Output<number>;
110
+ /**
111
+ * The <span pulumi-lang-nodejs="`subscription`" pulumi-lang-dotnet="`Subscription`" pulumi-lang-go="`subscription`" pulumi-lang-python="`subscription`" pulumi-lang-yaml="`subscription`" pulumi-lang-java="`subscription`" pulumi-lang-hcl="`subscription`">`subscription`</span> this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span> belongs to.
112
+ */
113
+ readonly subscription: pulumi.Output<string>;
114
+ /**
115
+ * The tax rates which apply to this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span>. When set, the <span pulumi-lang-nodejs="`defaultTaxRates`" pulumi-lang-dotnet="`DefaultTaxRates`" pulumi-lang-go="`defaultTaxRates`" pulumi-lang-python="`default_tax_rates`" pulumi-lang-yaml="`defaultTaxRates`" pulumi-lang-java="`defaultTaxRates`" pulumi-lang-hcl="`default_tax_rates`">`defaultTaxRates`</span> on the subscription do not apply to this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span>.
116
+ */
117
+ readonly taxRates: pulumi.Output<string[]>;
118
+ /**
119
+ * Create a SubscriptionItem resource with the given unique name, arguments, and options.
120
+ *
121
+ * @param name The _unique_ name of the resource.
122
+ * @param args The arguments to use to populate this resource's properties.
123
+ * @param opts A bag of options that control this resource's behavior.
124
+ */
125
+ constructor(name: string, args: SubscriptionItemArgs, opts?: pulumi.CustomResourceOptions);
126
+ }
127
+ /**
128
+ * Input properties used for looking up and filtering SubscriptionItem resources.
129
+ */
130
+ export interface SubscriptionItemState {
131
+ /**
132
+ * The time period the subscription item has been billed for.
133
+ */
134
+ billedUntil?: pulumi.Input<number | undefined>;
135
+ /**
136
+ * Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
137
+ */
138
+ billingThresholds?: pulumi.Input<inputs.SubscriptionItemBillingThresholds | undefined>;
139
+ /**
140
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
141
+ */
142
+ created?: pulumi.Input<number | undefined>;
143
+ /**
144
+ * The end time of this subscription item's current billing period.
145
+ */
146
+ currentPeriodEnd?: pulumi.Input<number | undefined>;
147
+ /**
148
+ * The start time of this subscription item's current billing period.
149
+ */
150
+ currentPeriodStart?: pulumi.Input<number | undefined>;
151
+ /**
152
+ * The current trial that is applied to this subscription item.
153
+ */
154
+ currentTrial?: pulumi.Input<inputs.SubscriptionItemCurrentTrial | undefined>;
155
+ /**
156
+ * The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.
157
+ */
158
+ discounts?: pulumi.Input<pulumi.Input<inputs.SubscriptionItemDiscount>[] | undefined>;
159
+ /**
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.
161
+ */
162
+ metadata?: pulumi.Input<{
163
+ [key: string]: pulumi.Input<string>;
164
+ } | undefined>;
165
+ /**
166
+ * String representing the object's type. Objects of the same type share the same value.
167
+ */
168
+ object?: pulumi.Input<string | undefined>;
169
+ /**
170
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
171
+ * Controls how Stripe handles payment when a subscription update requires payment and `collection_method=charge_automatically`.
172
+ */
173
+ paymentBehavior?: pulumi.Input<string | undefined>;
174
+ /**
175
+ * You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration.
176
+ *
177
+ * Plans define the base price, currency, and billing cycle for recurring purchases of products.
178
+ * [Products](https://docs.stripe.com/api#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.
179
+ *
180
+ * For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year.
181
+ *
182
+ * Related guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription) and more about [products and prices](https://docs.stripe.com/products-prices/overview).
183
+ */
184
+ plan?: pulumi.Input<string | undefined>;
185
+ /**
186
+ * Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products.
187
+ * [Products](https://docs.stripe.com/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.
188
+ *
189
+ * For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once.
190
+ *
191
+ * Related guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription), [create an invoice](https://docs.stripe.com/billing/invoices/create), and more about [products and prices](https://docs.stripe.com/products-prices/overview).
192
+ */
193
+ price?: pulumi.Input<string | undefined>;
194
+ /**
195
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
196
+ * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.
197
+ */
198
+ priceData?: pulumi.Input<inputs.SubscriptionItemPriceData | undefined>;
199
+ /**
200
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
201
+ * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's <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> changes. The default value is <span pulumi-lang-nodejs="`createProrations`" pulumi-lang-dotnet="`CreateProrations`" pulumi-lang-go="`createProrations`" pulumi-lang-python="`create_prorations`" pulumi-lang-yaml="`createProrations`" pulumi-lang-java="`createProrations`" pulumi-lang-hcl="`create_prorations`">`createProrations`</span>.
202
+ */
203
+ prorationBehavior?: pulumi.Input<string | undefined>;
204
+ /**
205
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
206
+ * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://www.terraform.io/api/invoices/create_preview) endpoint.
207
+ */
208
+ prorationDate?: pulumi.Input<number | undefined>;
209
+ /**
210
+ * The [quantity](https://docs.stripe.com/subscriptions/quantities) of the plan to which the customer should be subscribed.
211
+ */
212
+ quantity?: pulumi.Input<number | undefined>;
213
+ /**
214
+ * The <span pulumi-lang-nodejs="`subscription`" pulumi-lang-dotnet="`Subscription`" pulumi-lang-go="`subscription`" pulumi-lang-python="`subscription`" pulumi-lang-yaml="`subscription`" pulumi-lang-java="`subscription`" pulumi-lang-hcl="`subscription`">`subscription`</span> this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span> belongs to.
215
+ */
216
+ subscription?: pulumi.Input<string | undefined>;
217
+ /**
218
+ * The tax rates which apply to this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span>. When set, the <span pulumi-lang-nodejs="`defaultTaxRates`" pulumi-lang-dotnet="`DefaultTaxRates`" pulumi-lang-go="`defaultTaxRates`" pulumi-lang-python="`default_tax_rates`" pulumi-lang-yaml="`defaultTaxRates`" pulumi-lang-java="`defaultTaxRates`" pulumi-lang-hcl="`default_tax_rates`">`defaultTaxRates`</span> on the subscription do not apply to this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span>.
219
+ */
220
+ taxRates?: pulumi.Input<pulumi.Input<string>[] | undefined>;
221
+ }
222
+ /**
223
+ * The set of arguments for constructing a SubscriptionItem resource.
224
+ */
225
+ export interface SubscriptionItemArgs {
226
+ /**
227
+ * Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
228
+ */
229
+ billingThresholds?: pulumi.Input<inputs.SubscriptionItemBillingThresholds | undefined>;
230
+ /**
231
+ * The current trial that is applied to this subscription item.
232
+ */
233
+ currentTrial?: pulumi.Input<inputs.SubscriptionItemCurrentTrial | undefined>;
234
+ /**
235
+ * The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.
236
+ */
237
+ discounts?: pulumi.Input<pulumi.Input<inputs.SubscriptionItemDiscount>[] | undefined>;
238
+ /**
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.
240
+ */
241
+ metadata?: pulumi.Input<{
242
+ [key: string]: pulumi.Input<string>;
243
+ } | undefined>;
244
+ /**
245
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
246
+ * Controls how Stripe handles payment when a subscription update requires payment and `collection_method=charge_automatically`.
247
+ */
248
+ paymentBehavior?: pulumi.Input<string | undefined>;
249
+ /**
250
+ * You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration.
251
+ *
252
+ * Plans define the base price, currency, and billing cycle for recurring purchases of products.
253
+ * [Products](https://docs.stripe.com/api#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.
254
+ *
255
+ * For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year.
256
+ *
257
+ * Related guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription) and more about [products and prices](https://docs.stripe.com/products-prices/overview).
258
+ */
259
+ plan?: pulumi.Input<string | undefined>;
260
+ /**
261
+ * Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products.
262
+ * [Products](https://docs.stripe.com/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.
263
+ *
264
+ * For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once.
265
+ *
266
+ * Related guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription), [create an invoice](https://docs.stripe.com/billing/invoices/create), and more about [products and prices](https://docs.stripe.com/products-prices/overview).
267
+ */
268
+ price?: pulumi.Input<string | undefined>;
269
+ /**
270
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
271
+ * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.
272
+ */
273
+ priceData?: pulumi.Input<inputs.SubscriptionItemPriceData | undefined>;
274
+ /**
275
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
276
+ * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's <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> changes. The default value is <span pulumi-lang-nodejs="`createProrations`" pulumi-lang-dotnet="`CreateProrations`" pulumi-lang-go="`createProrations`" pulumi-lang-python="`create_prorations`" pulumi-lang-yaml="`createProrations`" pulumi-lang-java="`createProrations`" pulumi-lang-hcl="`create_prorations`">`createProrations`</span>.
277
+ */
278
+ prorationBehavior?: pulumi.Input<string | undefined>;
279
+ /**
280
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
281
+ * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://www.terraform.io/api/invoices/create_preview) endpoint.
282
+ */
283
+ prorationDate?: pulumi.Input<number | undefined>;
284
+ /**
285
+ * The [quantity](https://docs.stripe.com/subscriptions/quantities) of the plan to which the customer should be subscribed.
286
+ */
287
+ quantity?: pulumi.Input<number | undefined>;
288
+ /**
289
+ * The <span pulumi-lang-nodejs="`subscription`" pulumi-lang-dotnet="`Subscription`" pulumi-lang-go="`subscription`" pulumi-lang-python="`subscription`" pulumi-lang-yaml="`subscription`" pulumi-lang-java="`subscription`" pulumi-lang-hcl="`subscription`">`subscription`</span> this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span> belongs to.
290
+ */
291
+ subscription: pulumi.Input<string>;
292
+ /**
293
+ * The tax rates which apply to this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span>. When set, the <span pulumi-lang-nodejs="`defaultTaxRates`" pulumi-lang-dotnet="`DefaultTaxRates`" pulumi-lang-go="`defaultTaxRates`" pulumi-lang-python="`default_tax_rates`" pulumi-lang-yaml="`defaultTaxRates`" pulumi-lang-java="`defaultTaxRates`" pulumi-lang-hcl="`default_tax_rates`">`defaultTaxRates`</span> on the subscription do not apply to this <span pulumi-lang-nodejs="`subscriptionItem`" pulumi-lang-dotnet="`SubscriptionItem`" pulumi-lang-go="`subscriptionItem`" pulumi-lang-python="`subscription_item`" pulumi-lang-yaml="`subscriptionItem`" pulumi-lang-java="`subscriptionItem`" pulumi-lang-hcl="`subscription_item`">`subscriptionItem`</span>.
294
+ */
295
+ taxRates?: pulumi.Input<pulumi.Input<string>[] | undefined>;
296
+ }
297
+ //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