Update Stripe lib to 10.7.0

This commit is contained in:
Laurent Destailleur
2023-04-24 18:42:04 +02:00
parent 06f8291e07
commit 936512d0bb
256 changed files with 8077 additions and 2978 deletions

View File

@@ -53,7 +53,9 @@ class Payout extends ApiResource
const FAILURE_COULD_NOT_PROCESS = 'could_not_process';
const FAILURE_DEBIT_NOT_AUTHORIZED = 'debit_not_authorized';
const FAILURE_DECLINED = 'declined';
const FAILURE_INCORRECT_ACCOUNT_HOLDER_ADDRESS = 'incorrect_account_holder_address';
const FAILURE_INCORRECT_ACCOUNT_HOLDER_NAME = 'incorrect_account_holder_name';
const FAILURE_INCORRECT_ACCOUNT_HOLDER_TAX_ID = 'incorrect_account_holder_tax_id';
const FAILURE_INSUFFICIENT_FUNDS = 'insufficient_funds';
const FAILURE_INVALID_ACCOUNT_NUMBER = 'invalid_account_number';
const FAILURE_INVALID_CURRENCY = 'invalid_currency';
@@ -78,7 +80,7 @@ class Payout extends ApiResource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return Payout the canceled payout
* @return \Stripe\Payout the canceled payout
*/
public function cancel($params = null, $opts = null)
{
@@ -95,7 +97,7 @@ class Payout extends ApiResource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return Payout the reversed payout
* @return \Stripe\Payout the reversed payout
*/
public function reverse($params = null, $opts = null)
{