mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 04:17:34 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			481 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			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();
 | 
						|
	}
 | 
						|
}
 |