mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Bump stripe-php from 18.1.0 to 19.0.0
This commit is contained in:
@@ -32,7 +32,7 @@ class CustomerService extends AbstractService
|
||||
* href="/docs/billing/customer/balance">balances</a>.
|
||||
*
|
||||
* @param string $parentId
|
||||
* @param null|array{ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
|
||||
* @param null|array{created?: array|int, ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\CustomerBalanceTransaction>
|
||||
|
||||
@@ -16,7 +16,7 @@ class InvoicePaymentService extends AbstractService
|
||||
* the first handful of those items. There is also a URL where you can retrieve the
|
||||
* full (paginated) list of payments.
|
||||
*
|
||||
* @param null|array{ending_before?: string, expand?: string[], invoice?: string, limit?: int, payment?: array{payment_intent?: string, payment_record?: string, type: string}, starting_after?: string, status?: string} $params
|
||||
* @param null|array{created?: array|int, ending_before?: string, expand?: string[], invoice?: string, limit?: int, payment?: array{payment_intent?: string, payment_record?: string, type: string}, starting_after?: string, status?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\InvoicePayment>
|
||||
|
||||
File diff suppressed because one or more lines are too long
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,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Service\Terminal;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class OnboardingLinkService extends \Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Creates a new <code>OnboardingLink</code> object that contains a redirect_url
|
||||
* used for onboarding onto Tap to Pay on iPhone.
|
||||
*
|
||||
* @param null|array{expand?: string[], link_options: array{apple_terms_and_conditions?: array{allow_relinking?: bool, merchant_display_name: string}}, link_type: string, on_behalf_of?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Terminal\OnboardingLink
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('post', '/v1/terminal/onboarding_links', $params, $opts);
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,7 @@ namespace Stripe\Service\Terminal;
|
||||
* @property ConfigurationService $configurations
|
||||
* @property ConnectionTokenService $connectionTokens
|
||||
* @property LocationService $locations
|
||||
* @property OnboardingLinkService $onboardingLinks
|
||||
* @property ReaderService $readers
|
||||
*/
|
||||
class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory
|
||||
@@ -21,6 +22,7 @@ class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory
|
||||
'configurations' => ConfigurationService::class,
|
||||
'connectionTokens' => ConnectionTokenService::class,
|
||||
'locations' => LocationService::class,
|
||||
'onboardingLinks' => OnboardingLinkService::class,
|
||||
'readers' => ReaderService::class,
|
||||
];
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class AuthorizationService extends \Stripe\Service\AbstractService
|
||||
/**
|
||||
* Create a test-mode authorization.
|
||||
*
|
||||
* @param null|array{amount?: int, amount_details?: array{atm_fee?: int, cashback_amount?: int}, authorization_method?: string, card: string, currency?: string, expand?: string[], fleet?: array{cardholder_prompt_data?: array{driver_id?: string, odometer?: int, unspecified_id?: string, user_id?: string, vehicle_number?: string}, purchase_type?: string, reported_breakdown?: array{fuel?: array{gross_amount_decimal?: string}, non_fuel?: array{gross_amount_decimal?: string}, tax?: array{local_amount_decimal?: string, national_amount_decimal?: string}}, service_type?: string}, fraud_disputability_likelihood?: string, fuel?: array{industry_product_code?: string, quantity_decimal?: string, type?: string, unit?: string, unit_cost_decimal?: string}, is_amount_controllable?: bool, merchant_amount?: int, merchant_currency?: string, merchant_data?: array{category?: string, city?: string, country?: string, name?: string, network_id?: string, postal_code?: string, state?: string, terminal_id?: string, url?: string}, network_data?: array{acquiring_institution_id?: string}, risk_assessment?: array{card_testing_risk?: array{invalid_account_number_decline_rate_past_hour?: int, invalid_credentials_decline_rate_past_hour?: int, risk_level: string}, merchant_dispute_risk?: array{dispute_rate?: int, risk_level: string}}, verification_data?: array{address_line1_check?: string, address_postal_code_check?: string, authentication_exemption?: array{claimed_by: string, type: string}, cvc_check?: string, expiry_check?: string, three_d_secure?: array{result: string}}, wallet?: string} $params
|
||||
* @param null|array{amount?: int, amount_details?: array{atm_fee?: int, cashback_amount?: int}, authorization_method?: string, card: string, currency?: string, expand?: string[], fleet?: array{cardholder_prompt_data?: array{driver_id?: string, odometer?: int, unspecified_id?: string, user_id?: string, vehicle_number?: string}, purchase_type?: string, reported_breakdown?: array{fuel?: array{gross_amount_decimal?: string}, non_fuel?: array{gross_amount_decimal?: string}, tax?: array{local_amount_decimal?: string, national_amount_decimal?: string}}, service_type?: string}, fraud_disputability_likelihood?: string, fuel?: array{industry_product_code?: string, quantity_decimal?: string, type?: string, unit?: string, unit_cost_decimal?: string}, is_amount_controllable?: bool, merchant_amount?: int, merchant_currency?: string, merchant_data?: array{category?: string, city?: string, country?: string, name?: string, network_id?: string, postal_code?: string, state?: string, terminal_id?: string, url?: string}, network_data?: array{acquiring_institution_id?: string}, risk_assessment?: array{card_testing_risk?: array{invalid_account_number_decline_rate_past_hour?: int, invalid_credentials_decline_rate_past_hour?: int, risk_level: string}, fraud_risk?: array{level: string, score?: float}, merchant_dispute_risk?: array{dispute_rate?: int, risk_level: string}}, verification_data?: array{address_line1_check?: string, address_postal_code_check?: string, authentication_exemption?: array{claimed_by: string, type: string}, cvc_check?: string, expiry_check?: string, three_d_secure?: array{result: string}}, wallet?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Issuing\Authorization
|
||||
|
||||
@@ -14,7 +14,7 @@ class EventService extends \Stripe\Service\AbstractService
|
||||
/**
|
||||
* List events, going back up to 30 days.
|
||||
*
|
||||
* @param null|array{gt?: string, gte?: string, limit?: int, lt?: string, lte?: string, object_id?: string, types?: string[]} $params
|
||||
* @param null|array{created?: array{gt?: string, gte?: string, lt?: string, lte?: string}, limit?: int, object_id?: string, types?: string[]} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\V2\Collection<\Stripe\V2\Core\Event>
|
||||
|
||||
Reference in New Issue
Block a user