PHP Interface Cartalyst\Stripe\ConfigInterface

Datei anzeigen Open project: cartalyst/stripe Interface Usage Examples

Public Methods

Method Description
getApiKey ( ) : string Returns the Stripe API key.
getApiVersion ( ) : string Returns the Stripe API version.
getIdempotencyKey ( ) : string Returns the idempotency key.
getVersion ( ) : string Returns the current package version.
setApiKey ( string $apiKey ) Sets the Stripe API key.
setApiVersion ( string $apiVersion ) Sets the Stripe API version.
setIdempotencyKey ( string $idempotencyKey ) Sets the idempotency key.
setVersion ( string $version ) Sets the current package version.

Method Details

getApiKey() public method

Returns the Stripe API key.
public getApiKey ( ) : string
return string

getApiVersion() public method

Returns the Stripe API version.
public getApiVersion ( ) : string
return string

getIdempotencyKey() public method

Returns the idempotency key.
public getIdempotencyKey ( ) : string
return string

getVersion() public method

Returns the current package version.
public getVersion ( ) : string
return string

setApiKey() public method

Sets the Stripe API key.
public setApiKey ( string $apiKey )
$apiKey string

setApiVersion() public method

Sets the Stripe API version.
public setApiVersion ( string $apiVersion )
$apiVersion string

setIdempotencyKey() public method

Sets the idempotency key.
public setIdempotencyKey ( string $idempotencyKey )
$idempotencyKey string

setVersion() public method

Sets the current package version.
public setVersion ( string $version )
$version string