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:
@@ -13,7 +13,7 @@ namespace Stripe\Climate;
|
||||
* @property int $amount_fees Total amount of <a href="https://frontierclimate.com/">Frontier</a>'s service fees in the currency's smallest unit.
|
||||
* @property int $amount_subtotal Total amount of the carbon removal in the currency's smallest unit.
|
||||
* @property int $amount_total Total amount of the order including fees in the currency's smallest unit.
|
||||
* @property null|\Stripe\StripeObject $beneficiary
|
||||
* @property null|(object{public_name: string}&\Stripe\StripeObject) $beneficiary
|
||||
* @property null|int $canceled_at Time at which the order was canceled. Measured in seconds since the Unix epoch.
|
||||
* @property null|string $cancellation_reason Reason for the cancellation of this order.
|
||||
* @property null|string $certificate For delivered orders, a URL to a delivery certificate for the order.
|
||||
@@ -22,12 +22,12 @@ namespace Stripe\Climate;
|
||||
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase, representing the currency for this order.
|
||||
* @property null|int $delayed_at Time at which the order's expected_delivery_year was delayed. Measured in seconds since the Unix epoch.
|
||||
* @property null|int $delivered_at Time at which the order was delivered. Measured in seconds since the Unix epoch.
|
||||
* @property \Stripe\StripeObject[] $delivery_details Details about the delivery of carbon removal for this order.
|
||||
* @property ((object{delivered_at: int, location: null|(object{city: null|string, country: string, latitude: null|float, longitude: null|float, region: null|string}&\Stripe\StripeObject), metric_tons: string, registry_url: null|string, supplier: Supplier}&\Stripe\StripeObject))[] $delivery_details Details about the delivery of carbon removal for this order.
|
||||
* @property int $expected_delivery_year The year this order is expected to be delivered.
|
||||
* @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 \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
||||
* @property string $metric_tons Quantity of carbon removal that is included in this order.
|
||||
* @property string|\Stripe\Climate\Product $product Unique ID for the Climate <code>Product</code> this order is purchasing.
|
||||
* @property Product|string $product Unique ID for the Climate <code>Product</code> this order is purchasing.
|
||||
* @property null|int $product_substituted_at Time at which the order's product was substituted for a different product. Measured in seconds since the Unix epoch.
|
||||
* @property string $status The current status of this order.
|
||||
*/
|
||||
@@ -52,12 +52,12 @@ class Order extends \Stripe\ApiResource
|
||||
* processed immediately after creation and payment will be deducted your Stripe
|
||||
* balance.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{amount?: int, beneficiary?: array{public_name: string}, currency?: string, expand?: string[], metadata?: array<string, string>, metric_tons?: string, product: string} $params
|
||||
* @param null|array|string $options
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return Order the created resource
|
||||
*
|
||||
* @return \Stripe\Climate\Order the created resource
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function create($params = null, $options = null)
|
||||
{
|
||||
@@ -75,12 +75,12 @@ class Order extends \Stripe\ApiResource
|
||||
* Lists all Climate order objects. The orders are returned sorted by creation
|
||||
* date, with the most recently created orders appearing first.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{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<Order> of ApiResources
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\Climate\Order> of ApiResources
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -95,9 +95,9 @@ class Order 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 Order
|
||||
*
|
||||
* @return \Stripe\Climate\Order
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function retrieve($id, $opts = null)
|
||||
{
|
||||
@@ -112,12 +112,12 @@ class Order extends \Stripe\ApiResource
|
||||
* Updates the specified order by setting the values of the parameters passed.
|
||||
*
|
||||
* @param string $id the ID of the resource to update
|
||||
* @param null|array $params
|
||||
* @param null|array{beneficiary?: null|array{public_name: null|string}, expand?: string[], metadata?: array<string, string>} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return Order the updated resource
|
||||
*
|
||||
* @return \Stripe\Climate\Order the updated resource
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function update($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -135,9 +135,9 @@ class Order extends \Stripe\ApiResource
|
||||
* @param null|array $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return Order the canceled order
|
||||
*
|
||||
* @return \Stripe\Climate\Order the canceled order
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function cancel($params = null, $opts = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user