Merge pull request #6013 from amritk/patch-2

Added locale to StripeCheckoutOptions
This commit is contained in:
Masahiro Wakame
2015-09-27 13:37:29 +09:00
+4 -3
View File
@@ -15,12 +15,13 @@ interface StripeCheckoutHandler {
}
interface StripeCheckoutOptions {
key: string;
token: (token: StripeTokenResponse) => void;
key?: string;
token?: (token: StripeTokenResponse) => void;
image?: string;
name?: string;
description?: string;
amount?: number;
locale?: string;
currency?: string;
panelLabel?: string;
zipCode?: boolean;
@@ -32,4 +33,4 @@ interface StripeCheckoutOptions {
closed?: () => void;
}
declare var StripeCheckout: StripeCheckoutStatic;
declare var StripeCheckout: StripeCheckoutStatic;