mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 10:38:15 +01:00
Update Stripe lib to 10.7.0
This commit is contained in:
@@ -5,14 +5,15 @@
|
||||
namespace Stripe;
|
||||
|
||||
/**
|
||||
* A Promotion Code represents a customer-redeemable code for a coupon. It can be
|
||||
* used to create multiple codes for a single coupon.
|
||||
* A Promotion Code represents a customer-redeemable code for a <a
|
||||
* href="https://stripe.com/docs/api#coupons">coupon</a>. It can be used to create
|
||||
* multiple codes for a single coupon.
|
||||
*
|
||||
* @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 bool $active Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid.
|
||||
* @property string $code The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer.
|
||||
* @property \Stripe\Coupon $coupon A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to <a href="https://stripe.com/docs/api#invoices">invoices</a> or <a href="https://stripe.com/docs/api#create_order-coupon">orders</a>. Coupons do not work with conventional one-off <a href="https://stripe.com/docs/api#create_charge">charges</a>.
|
||||
* @property \Stripe\Coupon $coupon A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to <a href="https://stripe.com/docs/api#subscriptions">subscriptions</a>, <a href="https://stripe.com/docs/api#invoices">invoices</a>, <a href="https://stripe.com/docs/api/checkout/sessions">checkout sessions</a>, <a href="https://stripe.com/docs/api#quotes">quotes</a>, and more. Coupons do not work with conventional one-off <a href="https://stripe.com/docs/api#create_charge">charges</a> or <a href="https://stripe.com/docs/api/payment_intents">payment intents</a>.
|
||||
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
* @property null|string|\Stripe\Customer $customer The customer that this promotion code can be used by.
|
||||
* @property null|int $expires_at Date at which the promotion code can no longer be redeemed.
|
||||
|
||||
Reference in New Issue
Block a user