-
Notifications
You must be signed in to change notification settings - Fork 765
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a0b997
commit 2f52243
Showing
12 changed files
with
1,688 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
'use strict'; | ||
|
||
const StripeResource = require('../../StripeResource'); | ||
const stripeMethod = StripeResource.method; | ||
|
||
module.exports = StripeResource.extend({ | ||
path: 'terminal/configurations', | ||
|
||
create: stripeMethod({ | ||
method: 'POST', | ||
path: '', | ||
}), | ||
|
||
retrieve: stripeMethod({ | ||
method: 'GET', | ||
path: '/{configuration}', | ||
}), | ||
|
||
update: stripeMethod({ | ||
method: 'POST', | ||
path: '/{configuration}', | ||
}), | ||
|
||
list: stripeMethod({ | ||
method: 'GET', | ||
path: '', | ||
methodType: 'list', | ||
}), | ||
|
||
del: stripeMethod({ | ||
method: 'DELETE', | ||
path: '/{configuration}', | ||
}), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
declare module 'stripe' { | ||
namespace Stripe { | ||
/** | ||
* The FundingInstructions object. | ||
*/ | ||
interface FundingInstructions { | ||
/** | ||
* String representing the object's type. Objects of the same type share the same value. | ||
*/ | ||
object: 'funding_instructions'; | ||
|
||
bank_transfer: FundingInstructions.BankTransfer; | ||
|
||
/** | ||
* 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). | ||
*/ | ||
currency: string; | ||
|
||
/** | ||
* The `funding_type` of the returned instructions | ||
*/ | ||
funding_type: 'bank_transfer'; | ||
|
||
/** | ||
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. | ||
*/ | ||
livemode: boolean; | ||
} | ||
|
||
namespace FundingInstructions { | ||
interface BankTransfer { | ||
/** | ||
* The country of the bank account to fund | ||
*/ | ||
country: string; | ||
|
||
/** | ||
* A list of financial addresses that can be used to fund a particular balance | ||
*/ | ||
financial_addresses: Array<BankTransfer.FinancialAddress>; | ||
|
||
/** | ||
* The bank_transfer type | ||
*/ | ||
type: BankTransfer.Type; | ||
} | ||
|
||
namespace BankTransfer { | ||
interface FinancialAddress { | ||
/** | ||
* The payment networks supported by this FinancialAddress | ||
*/ | ||
supported_networks?: Array<FinancialAddress.SupportedNetwork>; | ||
|
||
/** | ||
* The type of financial address | ||
*/ | ||
type: FinancialAddress.Type; | ||
|
||
/** | ||
* Zengin Records contain Japan bank account details per the Zengin format. | ||
*/ | ||
zengin?: FinancialAddress.Zengin; | ||
} | ||
|
||
namespace FinancialAddress { | ||
type SupportedNetwork = 'sepa' | 'zengin'; | ||
|
||
type Type = 'iban' | 'zengin'; | ||
|
||
interface Zengin {} | ||
} | ||
|
||
type Type = 'eu_bank_transfer' | 'jp_bank_transfer'; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.