for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Skrill\Response;
use DateTimeInterface;
/**
* Class HistoryItem.
*/
final class HistoryItem
{
* @var string
private $reference;
private $skrillId;
* @var DateTimeInterface
private $time;
private $type;
private $details;
* @var float
private $lesion;
private $profit;
private $status;
private $balance;
private $amount;
private $currency;
private $info;
private $paymentType;
* @param $reference
* @param $skrillId
* @param DateTimeInterface $time
* @param $type
* @param $details
* @param $lesion
* @param $profit
* @param $status
* @param $balance
* @param $amount
* @param $currency
* @param $info
* @param $paymentType
public function __construct(
$reference,
$skrillId,
DateTimeInterface $time,
$type,
$details,
$lesion,
$profit,
$status,
$balance,
$amount,
$currency,
$info,
$paymentType
) {
$this->reference = $reference;
$this->skrillId = $skrillId;
$this->time = $time;
$this->type = $type;
$this->details = $details;
$this->lesion = $lesion;
$this->profit = $profit;
$this->status = $status;
$this->balance = $balance;
$this->amount = $amount;
$this->currency = $currency;
$this->info = $info;
$this->paymentType = $paymentType;
}
* @return string
public function getDetails()
return $this->details;
public function getReference()
return $this->reference;
public function getPaymentType()
return $this->paymentType;
public function getInfo()
return $this->info;
public function getCurrency()
return $this->currency;
* @return float
public function getAmount()
return $this->amount;
public function getBalance()
return $this->balance;
public function getStatus()
return $this->status;
public function getProfit()
return $this->profit;
public function getLesion()
return $this->lesion;
public function getType()
return $this->type;
* @return DateTimeInterface
public function getTime()
return $this->time;
public function getSkrillId()
return $this->skrillId;