Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
StripeStatic
Interface StripeStatic
Index
Methods
cardType
createToken
getToken
setPublishableKey
validateCVC
validateCardNumber
validateExpiry
Methods
public
cardType
(
cardNumber
:
string
)
:
string
Parameters
cardNumber:
string
Returns
string
public
createToken
(
data
:
StripeTokenData
, responseHandler
:
(status: number, response: StripeTokenResponse) => void
)
:
any
Parameters
data:
StripeTokenData
responseHandler:
(status: number, response: StripeTokenResponse) => void
Returns
any
public
getToken
(
token
:
string
, responseHandler
:
(status: number, response: StripeTokenResponse) => void
)
:
any
Parameters
token:
string
responseHandler:
(status: number, response: StripeTokenResponse) => void
Returns
any
public
setPublishableKey
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
public
validateCVC
(
cardCVC
:
string
)
:
boolean
Parameters
cardCVC:
string
Returns
boolean
public
validateCardNumber
(
cardNumber
:
string
)
:
boolean
Parameters
cardNumber:
string
Returns
boolean
public
validateExpiry
(
month
:
string
, year
:
string
)
:
boolean
Parameters
month:
string
year:
string
Returns
boolean
Globals