mirror of
https://github.com/itflow-org/itflow
synced 2026-03-24 22:45:36 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -19,8 +19,8 @@ namespace Stripe\Treasury;
|
||||
* @property string $network The rails used to reverse the funds.
|
||||
* @property string $received_credit The ReceivedCredit being reversed.
|
||||
* @property string $status Status of the CreditReversal
|
||||
* @property \Stripe\StripeObject $status_transitions
|
||||
* @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object.
|
||||
* @property (object{posted_at: null|int}&\Stripe\StripeObject) $status_transitions
|
||||
* @property null|string|Transaction $transaction The Transaction associated with this object.
|
||||
*/
|
||||
class CreditReversal extends \Stripe\ApiResource
|
||||
{
|
||||
@@ -36,12 +36,12 @@ class CreditReversal extends \Stripe\ApiResource
|
||||
/**
|
||||
* Reverses a ReceivedCredit and creates a CreditReversal object.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{expand?: string[], metadata?: array<string, string>, received_credit: string} $params
|
||||
* @param null|array|string $options
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return CreditReversal the created resource
|
||||
*
|
||||
* @return \Stripe\Treasury\CreditReversal the created resource
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function create($params = null, $options = null)
|
||||
{
|
||||
@@ -58,12 +58,12 @@ class CreditReversal extends \Stripe\ApiResource
|
||||
/**
|
||||
* Returns a list of CreditReversals.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{ending_before?: string, expand?: string[], financial_account: string, limit?: int, received_credit?: string, starting_after?: string, status?: string} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return \Stripe\Collection<CreditReversal> of ApiResources
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\Treasury\CreditReversal> of ApiResources
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -80,9 +80,9 @@ class CreditReversal extends \Stripe\ApiResource
|
||||
* @param array|string $id the ID of the API resource to retrieve, or an options array containing an `id` key
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return CreditReversal
|
||||
*
|
||||
* @return \Stripe\Treasury\CreditReversal
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function retrieve($id, $opts = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user