DefinitelyTyped/types/stripe
Pras Velagapudi 2a75536304 [stripe] Fix typo in IProductCreationOptions. (#24796)
* [stripe] Fix typo in `IProductCreationOptions`.

The `IProductCreationOptions` interface mistakenly lists `attribute` instead of `attributes` as a property.

This does not not match [the API specification for product creation](https://stripe.com/docs/api#create_product), and attempting to actually populate this field results in: `Error: Received unknown parameter: attribute`.

Changing this value to `attributes` successfully allows `stripe.products.create()` calls to succeed in populating attributes.

* Added `attributes` to tests for product creation.
2018-04-09 10:23:54 -07:00
..
index.d.ts [stripe] Fix typo in IProductCreationOptions. (#24796) 2018-04-09 10:23:54 -07:00
stripe-tests.ts [stripe] Fix typo in IProductCreationOptions. (#24796) 2018-04-09 10:23:54 -07:00
tsconfig.json
tslint.json