for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fousky\Component\iDoklad\Functions\ProformaInvoices;
use Fousky\Component\iDoklad\Model\Other\ZipBase64Model;
/**
* @see https://app.idoklad.cz/developer/Help/v2/cs/Api?apiId=GET-api-v2-ProformaInvoices-id-GetPdfCompressed
*
* @author Lukáš Brzák <[email protected]>
*/
class GetProformaInvoicePdfCompressed extends GetProformaInvoicePdf
{
* Get iDokladModelInterface class.
* @see iDokladModelInterface
* @return string
public function getModelClass(): string
return ZipBase64Model::class;
}
* Return base URI, e.g. /invoices; /invoice/1/edit and so on.
* @see iDoklad::call()
public function getUri(): string
return sprintf('ProformaInvoices/%s/GetPdfCompressed', $this->id);