for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Padosoft\AffiliateNetwork;
/**
* Class Transaction
* @package Padosoft\AffiliateNetwork
*/
class Transaction
{
* @var string
public $currency = '';
public $status = '';
* @var float
public $amount = 0.00;
public $custom_ID = '';
public $title = '';
public $unique_ID = '';
* @var double
public $commission = 0.00;
public $date = '';
* @var int
public $merchant_ID = 0;
* @var boolean
public $approved = false;
* @method createInstance
* @return obj istance
public static function createInstance()
$obj = null;
try {
$obj = new Transaction();
} catch (\Exception $e) {
throw new \Exception('Error creating instance Transaction - ' . $e->getMessage());
}
return $obj;