mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Stripe: Update type for Product (#40215)
* Update type for Product As per https://stripe.com/docs/api/service_products/create#create_service_product-type * Version bump
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
a4560c4eb2
commit
3fd9f73e83
Vendored
+5
-4
@@ -1,4 +1,4 @@
|
||||
// Type definitions for stripe 7.10
|
||||
// Type definitions for stripe 7.11
|
||||
// Project: https://github.com/stripe/stripe-node/
|
||||
// Definitions by: William Johnston <https://github.com/wjohnsto>
|
||||
// Peter Harris <https://github.com/codeanimal>
|
||||
@@ -7028,10 +7028,11 @@ declare namespace Stripe {
|
||||
statement_descriptor: string;
|
||||
|
||||
/**
|
||||
* The type of the product. The product is either of type good, which is eligible for use with Orders and SKUs, or service, which is eligible for
|
||||
* use with Subscriptions and Plans.
|
||||
* The type of the product. Defaults to `service` if not explicitly specified, enabling use of this product
|
||||
* withSubscriptions and Plans. Set this parameter to `good` to use this product with Orders and SKUs. On API
|
||||
* versions before `2018-02-05`, this field defaults to `good` for compatibility reasons.
|
||||
*/
|
||||
type: ProductType;
|
||||
type?: ProductType;
|
||||
|
||||
/**
|
||||
* A label that represents units of this product, such as seat(s), in Stripe and on customers’ receipts and invoices.
|
||||
|
||||
Reference in New Issue
Block a user