Billing
2 months ago
Collection.php
2 months ago
Event.php
2 months ago
EventDestination.php
2 months ago
EventDestination.php
35 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | namespace ProfilePressVendor\Stripe\V2; |
| 5 | |
| 6 | /** |
| 7 | * @property string $id Unique identifier for the object. |
| 8 | * @property string $object String representing the object's type. Objects of the same type share the same value of the object field. |
| 9 | * @property null|\Stripe\StripeObject $amazon_eventbridge Amazon EventBridge configuration. |
| 10 | * @property int $created Time at which the object was created. |
| 11 | * @property string $description An optional description of what the event destination is used for. |
| 12 | * @property string[] $enabled_events The list of events to enable for this endpoint. |
| 13 | * @property string $event_payload Payload type of events being subscribed to. |
| 14 | * @property null|string[] $events_from Where events should be routed from. |
| 15 | * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. |
| 16 | * @property null|\Stripe\StripeObject $metadata Metadata. |
| 17 | * @property string $name Event destination name. |
| 18 | * @property null|string $snapshot_api_version If using the snapshot event payload, the API version events are rendered as. |
| 19 | * @property string $status Status. It can be set to either enabled or disabled. |
| 20 | * @property null|\Stripe\StripeObject $status_details Additional information about event destination status. |
| 21 | * @property string $type Event destination type. |
| 22 | * @property int $updated Time at which the object was last updated. |
| 23 | * @property null|\Stripe\StripeObject $webhook_endpoint Webhook endpoint configuration. |
| 24 | */ |
| 25 | class EventDestination extends \ProfilePressVendor\Stripe\ApiResource |
| 26 | { |
| 27 | const OBJECT_NAME = 'v2.core.event_destination'; |
| 28 | const EVENT_PAYLOAD_SNAPSHOT = 'snapshot'; |
| 29 | const EVENT_PAYLOAD_THIN = 'thin'; |
| 30 | const STATUS_DISABLED = 'disabled'; |
| 31 | const STATUS_ENABLED = 'enabled'; |
| 32 | const TYPE_AMAZON_EVENTBRIDGE = 'amazon_eventbridge'; |
| 33 | const TYPE_WEBHOOK_ENDPOINT = 'webhook_endpoint'; |
| 34 | } |
| 35 |