dolibarr/htdocs/includes/stripe/stripe-php/lib/RequestTelemetry.php

27 lines
539 B
PHP
Raw Permalink Normal View History

2019-05-03 02:22:27 +02:00
<?php
namespace Stripe;
/**
2021-01-03 23:37:44 +01:00
* Class RequestTelemetry.
2019-05-03 02:22:27 +02:00
*
* Tracks client request telemetry
*/
class RequestTelemetry
{
public $requestId;
public $requestDuration;
/**
* Initialize a new telemetry object.
*
2021-01-03 23:37:44 +01:00
* @param string $requestId the request's request ID
* @param int $requestDuration the request's duration in milliseconds
2019-05-03 02:22:27 +02:00
*/
public function __construct($requestId, $requestDuration)
{
$this->requestId = $requestId;
$this->requestDuration = $requestDuration;
}
}