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

28 lines
459 B
PHP
Executable File

<?php
class Customer_Charge_Method implements Payment_Method
{
private $_params;
private $_descrip = "Charge a customer";
public function __construct()
{
$this->_params = array(
'amt' => '20.00',
'currency_code' => 'usd',
'identifier' => 'PROFILE-2923849' //Some identifier for the transaction
);
}
public function get_params()
{
return $this->_params;
}
public function get_description()
{
return $this->_descrip();
}
}