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

27 lines
539 B
PHP
Raw Permalink Normal View History

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