mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -6,20 +6,21 @@ namespace Stripe\Service;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class InvoiceRenderingTemplateService extends \Stripe\Service\AbstractService
|
||||
class InvoiceRenderingTemplateService extends AbstractService
|
||||
{
|
||||
/**
|
||||
* List all templates, ordered by creation date, with the most recently created
|
||||
* template appearing first.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{ending_before?: string, expand?: string[], limit?: int, starting_after?: string, status?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\InvoiceRenderingTemplate>
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -33,12 +34,12 @@ class InvoiceRenderingTemplateService extends \Stripe\Service\AbstractService
|
||||
* object, it will continue to be applied on invoices generated by it.
|
||||
*
|
||||
* @param string $id
|
||||
* @param null|array $params
|
||||
* @param null|array{expand?: string[]} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\InvoiceRenderingTemplate
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function archive($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -51,12 +52,12 @@ class InvoiceRenderingTemplateService extends \Stripe\Service\AbstractService
|
||||
* previous versions.
|
||||
*
|
||||
* @param string $id
|
||||
* @param null|array $params
|
||||
* @param null|array{expand?: string[], version?: int} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\InvoiceRenderingTemplate
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function retrieve($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -68,12 +69,12 @@ class InvoiceRenderingTemplateService extends \Stripe\Service\AbstractService
|
||||
* again.
|
||||
*
|
||||
* @param string $id
|
||||
* @param null|array $params
|
||||
* @param null|array{expand?: string[]} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\InvoiceRenderingTemplate
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function unarchive($id, $params = null, $opts = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user