mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-15 06:36:14 +00:00
update billable
Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com>
This commit is contained in:
@@ -35,14 +35,14 @@ trait ManagesInvoices
|
||||
}
|
||||
|
||||
/**
|
||||
* Get download url from given invoice.
|
||||
* Get temporary download url from given invoice.
|
||||
*
|
||||
* @param string $invoiceId The invoice ID
|
||||
* @throws RequestRequiresClientIdException
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function getInvoiceDownloadUrl(string $invoiceId): string
|
||||
public function getInvoiceTemporaryUrl(string $invoiceId): string
|
||||
{
|
||||
return $this->request('PUT', sprintf('v1/invoices/%s', $invoiceId))->data->download_url;
|
||||
return $this->request('PUT', sprintf('v1/invoices/%s', $invoiceId))->data->temporary_url;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user