for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ipag\Sdk\Endpoint;
use Ipag\Sdk\Core\Endpoint;
use Ipag\Sdk\Http\Response;
/**
* TransferEndpoint class
*
* Classe responsável pelo controle dos endpoints do recurso Transfer.
*/
class TransferEndpoint extends Endpoint
{
protected string $location = '/service/resources/transfers';
* Endpoint para listar recursos `Transfer`
* @param array|null $filters
* @return Response
public function list(?array $filters = []): Response
return $this->_GET($filters ?? []);
}
* Endpoint para obter um recurso `Transfer`
* @param integer $id
* @codeCoverageIgnore
public function get(int $id): Response
return $this->_GET(['id' => $id]);
* Endpoint `SellerTransfer` do recurso `Transfer`.
* @return SellerTransferEndpoint
public function seller(): SellerTransferEndpoint
return SellerTransferEndpoint::make($this->parent, $this->parent);
* Endpoint `FutureTransfer` do recurso `Transfer`.
* @return FutureTransferEndpoint
public function future(): FutureTransferEndpoint
return FutureTransferEndpoint::make($this->parent, $this->parent);