34968-vm/vendor/stripe/stripe-php/lib/RelatedObject.php
Flatlogic Bot 369f552c9f V6
2025-10-15 00:49:03 +00:00

23 lines
457 B
PHP

<?php
namespace Stripe;
/**
* @property string $id Unique identifier for the event.
* @property string $type the "object" of the related object.
* @property string $url a relative url to retrieve the related object.
*/
class RelatedObject
{
public $id;
public $type;
public $url;
public function __construct($json)
{
$this->id = $json['id'];
$this->type = $json['type'];
$this->url = $json['url'];
}
}