setApiKey() public method

Sets the Stripe API key.
public setApiKey ( string $apiKey )
$apiKey string
コード例 #1
0
ファイル: Stripe.php プロジェクト: squigg/stripe
 /**
  * Sets the Stripe API key.
  *
  * @param  string  $apiKey
  * @return $this
  */
 public function setApiKey($apiKey)
 {
     $this->config->setApiKey($apiKey);
     return $this;
 }