Bump DataTable from 2.3.3 to 2.3.4, TinyMCE 8.0.2 to 8.2.0, Stripe-PHP 17.6.0 to 18.1.0, PHPMailer from 6.10.0 to 7.0.0, chartjs from 4.5.0 to 4.5.1

This commit is contained in:
johnnyq
2025-11-02 16:44:59 -05:00
parent 7ea39eb545
commit f733a27ad7
170 changed files with 2280 additions and 885 deletions

View File

@@ -3,11 +3,40 @@
namespace Stripe;
/**
* @property string $id Unique identifier for the event.
* @property string $idempotency_key
* Information on the API request that instigated the event.
*
* @property string $id ID of the API request that caused the event.
* @property string $idempotency_key The idempotency key transmitted during the request.
*/
class Reason
class ReasonRequest
{
public $id;
public $idempotency_key;
public function __construct($json)
{
$this->id = $json['id'];
$this->idempotency_key = $json['idempotency_key'];
}
}
/**
* @property string $type Event reason type.
* @property null|ReasonRequest $request Information on the API request that instigated the event.
*/
class Reason
{
public $type;
public $request;
public function __construct($json)
{
$this->type = $json['type'];
if ('request' === $this->type) {
$this->request = new ReasonRequest($json['request']);
} else {
$this->request = null;
}
}
}