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 = '';
public $click_date = ''; // Future use - <PN>
public $update_date = ''; // Future use - <PN>
* @var int
public $merchant_ID = 0;
* @var boolean
public $approved = false;
public $paid = false; // Future use - <PN>
public $paid_date = ''; // Future use - <PN>
* @var array
public $reportItems = array();
public $transaction_ID = '';
* @var integer
public $affiliate_ID = 0;
public $campaign_name = '';
public $program_name = '';
public $referrer = '';
public $IP = ''; // Future use - <PN>
public $user_ID = ''; // Future use - <PN>
* @var bool
public $original = true; // Used by Commission Junction - added 2018-07-13 <PN>
public $commission_ID = ''; // Used by Publicideas - added 2019-08-12 <JC>
* @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;