You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
186
196
*/
@@ -246,6 +256,53 @@ declare module 'stripe' {
246
256
}
247
257
248
258
namespaceProductCreateParams{
259
+
interfaceDefaultPriceData{
260
+
/**
261
+
* 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).
262
+
*/
263
+
currency: string;
264
+
265
+
/**
266
+
* The recurring components of a price such as `interval` and `interval_count`.
267
+
*/
268
+
recurring?: DefaultPriceData.Recurring;
269
+
270
+
/**
271
+
* Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
272
+
*/
273
+
tax_behavior?: DefaultPriceData.TaxBehavior;
274
+
275
+
/**
276
+
* A positive integer in %s (or 0 for a free price) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
277
+
*/
278
+
unit_amount?: number;
279
+
280
+
/**
281
+
* Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
282
+
*/
283
+
unit_amount_decimal?: string;
284
+
}
285
+
286
+
namespaceDefaultPriceData{
287
+
interfaceRecurring{
288
+
/**
289
+
* Specifies billing frequency. Either `day`, `week`, `month` or `year`.
290
+
*/
291
+
interval: Recurring.Interval;
292
+
293
+
/**
294
+
* The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
* Height, in inches. Maximum precision is 2 decimal places.
@@ -299,6 +356,11 @@ declare module 'stripe' {
299
356
*/
300
357
deactivate_on?: Array<string>;
301
358
359
+
/**
360
+
* The ID of the [Price](https://stripe.com/docs/api/prices) object that is the default price for this product.
361
+
*/
362
+
default_price?: string;
363
+
302
364
/**
303
365
* The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
Copy file name to clipboardExpand all lines: types/2020-08-27/Refunds.d.ts
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,11 @@ declare module 'stripe' {
56
56
*/
57
57
failure_reason?: string;
58
58
59
+
/**
60
+
* Email to which refund instructions, if required, are sent to.
61
+
*/
62
+
instructions_email?: string;
63
+
59
64
/**
60
65
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
61
66
*/
@@ -149,6 +154,8 @@ declare module 'stripe' {
149
154
*/
150
155
expand?: Array<string>;
151
156
157
+
instructions_email?: string;
158
+
152
159
/**
153
160
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
0 commit comments