invoiceninja/vendor/php-payments/lib/payment_methods/customer_create_method.php
2014-04-13 09:38:15 +03:00

27 lines
481 B
PHP
Executable File

<?php
class Customer_Create_Method implements Payment_Method
{
private $_params;
private $_descrip = "Create a customer instance which is stored in the gateway.";
public function __construct()
{
$this->_params = array(
'desc' => 'Some description',
'identifier' => 'PROFILE-2923849' //Some identifier for the transaction
);
}
public function get_params()
{
return $this->_params;
}
public function get_description()
{
return $this->_descrip();
}
}