for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Billogram\Api;
use Billogram\Model\Setting\Setting;
use Psr\Http\Message\ResponseInterface;
/**
* @author Ibrahim Hizeoui <[email protected]>
*/
class Settings extends HttpApi
{
* @return Setting|ResponseInterface
*
* @see https://billogram.com/api/documentation#settings_fetch
public function fetch()
$response = $this->httpGet('/settings');
return $this->handleResponse($response, Setting::class);
}
* @param array $setting
public function update(array $setting)
$response = $this->httpPut('/settings', $setting);