mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump stripe-php from 18.1.0 to 19.0.0
This commit is contained in:
28
plugins/stripe-php/lib/Service/Tax/AssociationService.php
Normal file
28
plugins/stripe-php/lib/Service/Tax/AssociationService.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Service\Tax;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class AssociationService extends \Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Finds a tax association object by PaymentIntent id.
|
||||
*
|
||||
* @param null|array{expand?: string[], payment_intent: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Tax\Association
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function find($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('get', '/v1/tax/associations/find', $params, $opts);
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@ namespace Stripe\Service\Tax;
|
||||
/**
|
||||
* Service factory class for API resources in the Tax namespace.
|
||||
*
|
||||
* @property AssociationService $associations
|
||||
* @property CalculationService $calculations
|
||||
* @property RegistrationService $registrations
|
||||
* @property SettingsService $settings
|
||||
@@ -18,6 +19,7 @@ class TaxServiceFactory extends \Stripe\Service\AbstractServiceFactory
|
||||
* @var array<string, string>
|
||||
*/
|
||||
private static $classMap = [
|
||||
'associations' => AssociationService::class,
|
||||
'calculations' => CalculationService::class,
|
||||
'registrations' => RegistrationService::class,
|
||||
'settings' => SettingsService::class,
|
||||
|
||||
Reference in New Issue
Block a user