Ejemplo n.º 1
0
 public function client($description = null)
 {
     $this->currentAction = 'client';
     $client = new \Paymill\Models\Request\Client();
     $client->setEmail($this->email)->setDescription($description);
     if ($this->client_id) {
         $client->setId($this->client_id);
     }
     return new PaymillGateway($this, $client);
 }