mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump DataTable from 2.3.3 to 2.3.4, TinyMCE 8.0.2 to 8.2.0, Stripe-PHP 17.6.0 to 18.1.0, PHPMailer from 6.10.0 to 7.0.0, chartjs from 4.5.0 to 4.5.1
This commit is contained in:
45
plugins/stripe-php/lib/Service/BalanceSettingsService.php
Normal file
45
plugins/stripe-php/lib/Service/BalanceSettingsService.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Service;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class BalanceSettingsService extends AbstractService
|
||||
{
|
||||
/**
|
||||
* Retrieves balance settings for a given connected account. Related guide: <a
|
||||
* href="/connect/authentication">Making API calls for connected accounts</a>.
|
||||
*
|
||||
* @param null|array{expand?: string[]} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\BalanceSettings
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function retrieve($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('get', '/v1/balance_settings', $params, $opts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates balance settings for a given connected account. Related guide: <a
|
||||
* href="/connect/authentication">Making API calls for connected accounts</a>.
|
||||
*
|
||||
* @param null|array{expand?: string[], payments?: array{debit_negative_balances?: bool, payouts?: array{minimum_balance_by_currency?: null|array<string, null|int>, schedule?: array{interval?: string, monthly_payout_days?: int[], weekly_payout_days?: string[]}, statement_descriptor?: string}, settlement_timing?: array{delay_days_override?: null|int}}} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\BalanceSettings
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function update($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('post', '/v1/balance_settings', $params, $opts);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user