setApiKey() public method

Sets the Stripe API key.
public setApiKey ( string $apiKey )
$apiKey string
Exemplo n.º 1
0
 /**
  * Sets the Stripe API key.
  *
  * @param  string  $apiKey
  * @return $this
  */
 public function setApiKey($apiKey)
 {
     $this->config->setApiKey($apiKey);
     return $this;
 }