[Gokul] adds getters and setter for MaxNetworkRetries (#35008)

This commit is contained in:
Gokul
2019-05-01 02:24:01 -07:00
committed by Wesley Wigham
parent afe50b9b17
commit 4924fe2bb0
+3
View File
@@ -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;