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:
@@ -14,7 +14,7 @@ class PromotionCodeService extends \Stripe\Service\AbstractService
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Collection
|
||||
* @return \Stripe\Collection<\Stripe\PromotionCode>
|
||||
*/
|
||||
public function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -38,7 +38,10 @@ class PromotionCodeService extends \Stripe\Service\AbstractService
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the promotion code with the given ID.
|
||||
* Retrieves the promotion code with the given ID. In order to retrieve a promotion
|
||||
* code by the customer-facing <code>code</code> use <a
|
||||
* href="/docs/api/promotion_codes/list">list</a> with the desired
|
||||
* <code>code</code>.
|
||||
*
|
||||
* @param string $id
|
||||
* @param null|array $params
|
||||
|
||||
Reference in New Issue
Block a user