for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Evilnet\Dotpay\DotpayApi;
/**
* Class Response
* @package Evilnet\Dotpay\DotpayApi
*/
class Response
{
* @var
private $data;
* Response constructor.
* @param $data
public function __construct($data)
$this->data = $data;
}
* @return mixed
public function getControl()
return $this->data['control'];
public function getOperationNumber()
return $this->data['operation_number'];
public function getEmail()
return $this->data['email'];
public function getOperationAmount()
return $this->data['operation_amount'];
public function getOperationCurrency()
return $this->data['operation_currency'];
public function getOperationDateTime()
return $this->data['operation_datetime'];
public function getOperationStatus()
return $this->data['operation_status'];