PHP Class Cartalyst\Stripe\Config

Inheritance: implements Cartalyst\Stripe\ConfigInterface
Datei anzeigen Open project: cartalyst/stripe

Protected Properties

Property Type Description
$apiKey string The Stripe API key.
$apiVersion string The Stripe API version.
$idempotencyKey string The idempotency key.
$version string The current package version.

Public Methods

Method Description
__construct ( string $version, string $apiKey, string $apiVersion ) : void Constructor.
getApiKey ( )
getApiVersion ( )
getIdempotencyKey ( )
getVersion ( )
setApiKey ( $apiKey )
setApiVersion ( $apiVersion )
setIdempotencyKey ( $idempotencyKey )
setVersion ( $version )

Method Details

__construct() public method

Constructor.
public __construct ( string $version, string $apiKey, string $apiVersion ) : void
$version string
$apiKey string
$apiVersion string
return void

getApiKey() public method

public getApiKey ( )

getApiVersion() public method

public getApiVersion ( )

getIdempotencyKey() public method

public getIdempotencyKey ( )

getVersion() public method

public getVersion ( )

setApiKey() public method

public setApiKey ( $apiKey )

setApiVersion() public method

public setApiVersion ( $apiVersion )

setIdempotencyKey() public method

public setIdempotencyKey ( $idempotencyKey )

setVersion() public method

public setVersion ( $version )

Property Details

$apiKey protected_oe property

The Stripe API key.
protected string $apiKey
return string

$apiVersion protected_oe property

The Stripe API version.
protected string $apiVersion
return string

$idempotencyKey protected_oe property

The idempotency key.
protected string $idempotencyKey
return string

$version protected_oe property

The current package version.
protected string $version
return string