mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Stripe\Entitlements;
|
||||
*
|
||||
* @property string $id Unique identifier for the object.
|
||||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
* @property string|\Stripe\Entitlements\Feature $feature The <a href="https://stripe.com/docs/api/entitlements/feature">Feature</a> that the customer is entitled to.
|
||||
* @property Feature|string $feature The <a href="https://stripe.com/docs/api/entitlements/feature">Feature</a> that the customer is entitled to.
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
* @property string $lookup_key A unique key you provide as your own system identifier. This may be up to 80 characters.
|
||||
*/
|
||||
@@ -20,12 +20,12 @@ class ActiveEntitlement extends \Stripe\ApiResource
|
||||
/**
|
||||
* Retrieve a list of active entitlements for a customer.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{customer: string, ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return \Stripe\Collection<ActiveEntitlement> of ApiResources
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\Entitlements\ActiveEntitlement> of ApiResources
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -40,9 +40,9 @@ class ActiveEntitlement 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 ActiveEntitlement
|
||||
*
|
||||
* @return \Stripe\Entitlements\ActiveEntitlement
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function retrieve($id, $opts = null)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Stripe\Entitlements;
|
||||
*
|
||||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
* @property string $customer The customer that is entitled to this feature.
|
||||
* @property \Stripe\Collection<\Stripe\Entitlements\ActiveEntitlement> $entitlements The list of entitlements this customer has.
|
||||
* @property \Stripe\Collection<ActiveEntitlement> $entitlements The list of entitlements this customer has.
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
*/
|
||||
class ActiveEntitlementSummary extends \Stripe\ApiResource
|
||||
|
||||
@@ -25,12 +25,12 @@ class Feature extends \Stripe\ApiResource
|
||||
/**
|
||||
* Creates a feature.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{expand?: string[], lookup_key: string, metadata?: array<string, string>, name: string} $params
|
||||
* @param null|array|string $options
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return Feature the created resource
|
||||
*
|
||||
* @return \Stripe\Entitlements\Feature the created resource
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function create($params = null, $options = null)
|
||||
{
|
||||
@@ -47,12 +47,12 @@ class Feature extends \Stripe\ApiResource
|
||||
/**
|
||||
* Retrieve a list of features.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{archived?: bool, ending_before?: string, expand?: string[], limit?: int, lookup_key?: string, starting_after?: string} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return \Stripe\Collection<Feature> of ApiResources
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\Entitlements\Feature> of ApiResources
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -67,9 +67,9 @@ class Feature 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 Feature
|
||||
*
|
||||
* @return \Stripe\Entitlements\Feature
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function retrieve($id, $opts = null)
|
||||
{
|
||||
@@ -84,12 +84,12 @@ class Feature extends \Stripe\ApiResource
|
||||
* Update a feature’s metadata or permanently deactivate it.
|
||||
*
|
||||
* @param string $id the ID of the resource to update
|
||||
* @param null|array $params
|
||||
* @param null|array{active?: bool, expand?: string[], metadata?: null|array<string, string>, name?: string} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return Feature the updated resource
|
||||
*
|
||||
* @return \Stripe\Entitlements\Feature the updated resource
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function update($id, $params = null, $opts = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user