for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace HanischIt\KrakenApi\Model\QueryLedgers;
use HanischIt\KrakenApi\Enum\VisibilityEnum;
use HanischIt\KrakenApi\Model\RequestInterface;
/**
* Class QueryLedgersRequest
* @package HanischIt\KrakenApi\Model\QueryLedgers
*/
class QueryLedgersRequest implements RequestInterface
{
* @var string
private $id;
* QueryLedgersRequest constructor.
* @param string $id
public function __construct($id)
$this->id = $id;
}
* Returns the api request name
*
* @return string
public function getMethod()
return 'QueryLedgers';
public function getVisibility()
return VisibilityEnum::VISIBILITY_PRIVATE;
* @return array
public function getRequestData()
$ret = [];
$ret["id"] = $this->id;
return $ret;
public function getResponseClassName()
return QueryLedgersResponse::class;