Skip to content

Commit

Permalink
Codegen for openapi 79b5ae3
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Feb 5, 2021
1 parent 1a3b2be commit 671f369
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/resources/EphemeralKeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = StripeResource.extend({
validator: (data, options) => {
if (!options.headers || !options.headers['Stripe-Version']) {
throw new Error(
'stripe_version must be specified to create an ephemeral key'
'Passing apiVersion in a separate options hash is required to create an ephemeral key. See https://stripe.com/docs/api/versioning?lang=node'
);
}
},
Expand Down
4 changes: 2 additions & 2 deletions types/2020-08-27/LineItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ declare module 'stripe' {
/**
* Total before any discounts or taxes are applied.
*/
amount_subtotal: number | null;
amount_subtotal: number;

/**
* Total after discounts and taxes.
*/
amount_total: number | null;
amount_total: number;

/**
* 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).
Expand Down

0 comments on commit 671f369

Please sign in to comment.