Skip to content

Commit

Permalink
Codegen for openapi 8442a02 (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe authored Sep 24, 2021
1 parent 53f09d8 commit 67e4ac0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/resources/GeneratedTests.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,8 @@ describe('TaxId', function() {

it('retrieveTaxId method', async function() {
const taxId = await stripe.customers.retrieveTaxId(
'txi_xxxxxxxxxxxxx',
'cus_xxxxxxxxxxxxx'
'cus_xxxxxxxxxxxxx',
'txi_xxxxxxxxxxxxx'
);
expect(taxId).not.to.be.null;
});
Expand Down
10 changes: 10 additions & 0 deletions types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,11 @@ declare module 'stripe' {
}

interface CardPresent {
/**
* The authorized amount
*/
amount_authorized: number | null;

/**
* Card brand. Can be `amex`, `diners`, `discover`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
*/
Expand Down Expand Up @@ -990,6 +995,11 @@ declare module 'stripe' {
*/
network: string | null;

/**
* Defines whether the authorized amount can be over-captured or not
*/
overcapture_supported: boolean | null;

/**
* How card details were read in this transaction.
*/
Expand Down

0 comments on commit 67e4ac0

Please sign in to comment.