mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
[Gokul] adds getters and setter for MaxNetworkRetries (#35008)
This commit is contained in:
Vendored
+3
@@ -20,6 +20,7 @@
|
||||
// Saransh Kataria <https://github.com/saranshkataria>
|
||||
// Jonas Keisel <https://github.com/0xJoKe>
|
||||
// Andrew Delianides <https://github.com/delianides>
|
||||
// Gokul Chandrasekaran <https://github.com/gokulchandra>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
@@ -93,8 +94,10 @@ declare class Stripe {
|
||||
setApiVersion(version?: string): void;
|
||||
setApiKey(key?: string): void;
|
||||
setTimeout(timeout?: number): void;
|
||||
setMaxNetworkRetries(maxNetworkRetries: number): void;
|
||||
setHttpAgent(agent: string): void;
|
||||
getConstant(c: string): any;
|
||||
getMaxNetworkRetries(): number;
|
||||
getClientUserAgent(response: (userAgent: string) => void): void;
|
||||
}
|
||||
export = Stripe;
|
||||
|
||||
Reference in New Issue
Block a user