src/Entity/Activity.php
<?php
namespace Ups\Entity;
class Activity
{
public $Date;
public $Time;
/**
* @param \stdClass|null $response
*/
public function __construct(\stdClass $response = null)
{
if (null !== $response) {
if (isset($response->Date)) {
$this->Date = $response->Date;
}
if (isset($response->Time)) {
$this->Time = $response->Time;
}
}
}
}