D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
app
/
Libs
/
OnlinePayments
/
Sdk
/
Domain
/
Filename :
CustomerAccountAuthentication.php
back
Copy
<?php /* * This file was automatically generated. */ namespace App\Libs\OnlinePayments\Sdk\Domain; use App\Libs\Sdk\Domain\DataObject; use UnexpectedValueException; /** * @package OnlinePayments\Sdk\Domain */ class CustomerAccountAuthentication extends DataObject { /** * @var string|null */ public ?string $data = null; /** * @var string|null */ public ?string $method = null; /** * @var string|null */ public ?string $utcTimestamp = null; /** * @return string|null */ public function getData(): ?string { return $this->data; } /** * @param string|null $value */ public function setData(?string $value): void { $this->data = $value; } /** * @return string|null */ public function getMethod(): ?string { return $this->method; } /** * @param string|null $value */ public function setMethod(?string $value): void { $this->method = $value; } /** * @return string|null */ public function getUtcTimestamp(): ?string { return $this->utcTimestamp; } /** * @param string|null $value */ public function setUtcTimestamp(?string $value): void { $this->utcTimestamp = $value; } /** * @return object */ public function toObject(): object { $object = parent::toObject(); if (!is_null($this->data)) { $object->data = $this->data; } if (!is_null($this->method)) { $object->method = $this->method; } if (!is_null($this->utcTimestamp)) { $object->utcTimestamp = $this->utcTimestamp; } return $object; } /** * @param object $object * @return $this * @throws UnexpectedValueException */ public function fromObject(object $object): CustomerAccountAuthentication { parent::fromObject($object); if (property_exists($object, 'data')) { $this->data = $object->data; } if (property_exists($object, 'method')) { $this->method = $object->method; } if (property_exists($object, 'utcTimestamp')) { $this->utcTimestamp = $object->utcTimestamp; } return $this; } }