Files
geo/api/vendor/stripe/stripe-php/lib/ThinEvent.php
Pierre 0687900564 fix: Récupérer l'opération active depuis la table operations
- Corrige l'erreur SQL 'Unknown column fk_operation in users'
- L'opération active est récupérée depuis operations.chk_active = 1
- Jointure avec users pour filtrer par entité de l'admin créateur
- Query: SELECT o.id FROM operations o INNER JOIN users u ON u.fk_entite = o.fk_entite WHERE u.id = ? AND o.chk_active = 1
2026-01-26 16:57:08 +01:00

28 lines
1.1 KiB
PHP
Executable File

<?php
namespace Stripe;
/**
* ThinEvent represents the json that's delivered from an Event Destination.
* It's a basic class with no additional methods or properties. Use it to check basic information about a delivered event.
* If you want more details, use `$stripeClient->v2->core->events->retrieve(thin_event.id)` to fetch the full event object.
*
* @property string $id Unique identifier for the event.
* @property string $type The type of the event.
* @property string $created Time at which the object was created.
* @property null|string $context Authentication context needed to fetch the event or related object.
* @property null|RelatedObject $related_object Object containing the reference to API resource relevant to the event.
* @property null|Reason $reason Reason for the event.
* @property bool $livemode Livemode indicates if the event is from a production(true) or test(false) account.
*/
class ThinEvent
{
public $id;
public $type;
public $created;
public $context;
public $related_object;
public $reason;
public $livemode;
}