D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
app
/
Libs
/
OnlinePayments
/
Sdk
/
Domain
/
Filename :
ExternalCardholderAuthenticationData.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 ExternalCardholderAuthenticationData extends DataObject { /** * @var string|null */ public ?string $acsTransactionId = null; /** * @var string|null */ public ?string $appliedExemption = null; /** * @var string|null */ public ?string $cavv = null; /** * @var string|null */ public ?string $cavvAlgorithm = null; /** * @var string|null */ public ?string $directoryServerTransactionId = null; /** * @var int|null */ public ?int $eci = null; /** * @var string|null */ public ?string $flow = null; /** * @var int|null */ public ?int $schemeRiskScore = null; /** * @var string|null */ public ?string $threeDSecureVersion = null; /** * @var string|null */ public ?string $xid = null; /** * @return string|null */ public function getAcsTransactionId(): ?string { return $this->acsTransactionId; } /** * @param string|null $value */ public function setAcsTransactionId(?string $value): void { $this->acsTransactionId = $value; } /** * @return string|null */ public function getAppliedExemption(): ?string { return $this->appliedExemption; } /** * @param string|null $value */ public function setAppliedExemption(?string $value): void { $this->appliedExemption = $value; } /** * @return string|null */ public function getCavv(): ?string { return $this->cavv; } /** * @param string|null $value */ public function setCavv(?string $value): void { $this->cavv = $value; } /** * @return string|null */ public function getCavvAlgorithm(): ?string { return $this->cavvAlgorithm; } /** * @param string|null $value */ public function setCavvAlgorithm(?string $value): void { $this->cavvAlgorithm = $value; } /** * @return string|null */ public function getDirectoryServerTransactionId(): ?string { return $this->directoryServerTransactionId; } /** * @param string|null $value */ public function setDirectoryServerTransactionId(?string $value): void { $this->directoryServerTransactionId = $value; } /** * @return int|null */ public function getEci(): ?int { return $this->eci; } /** * @param int|null $value */ public function setEci(?int $value): void { $this->eci = $value; } /** * @return string|null */ public function getFlow(): ?string { return $this->flow; } /** * @param string|null $value */ public function setFlow(?string $value): void { $this->flow = $value; } /** * @return int|null */ public function getSchemeRiskScore(): ?int { return $this->schemeRiskScore; } /** * @param int|null $value */ public function setSchemeRiskScore(?int $value): void { $this->schemeRiskScore = $value; } /** * @return string|null */ public function getThreeDSecureVersion(): ?string { return $this->threeDSecureVersion; } /** * @param string|null $value */ public function setThreeDSecureVersion(?string $value): void { $this->threeDSecureVersion = $value; } /** * @return string|null */ public function getXid(): ?string { return $this->xid; } /** * @param string|null $value */ public function setXid(?string $value): void { $this->xid = $value; } /** * @return object */ public function toObject(): object { $object = parent::toObject(); if (!is_null($this->acsTransactionId)) { $object->acsTransactionId = $this->acsTransactionId; } if (!is_null($this->appliedExemption)) { $object->appliedExemption = $this->appliedExemption; } if (!is_null($this->cavv)) { $object->cavv = $this->cavv; } if (!is_null($this->cavvAlgorithm)) { $object->cavvAlgorithm = $this->cavvAlgorithm; } if (!is_null($this->directoryServerTransactionId)) { $object->directoryServerTransactionId = $this->directoryServerTransactionId; } if (!is_null($this->eci)) { $object->eci = $this->eci; } if (!is_null($this->flow)) { $object->flow = $this->flow; } if (!is_null($this->schemeRiskScore)) { $object->schemeRiskScore = $this->schemeRiskScore; } if (!is_null($this->threeDSecureVersion)) { $object->threeDSecureVersion = $this->threeDSecureVersion; } if (!is_null($this->xid)) { $object->xid = $this->xid; } return $object; } /** * @param object $object * @return $this * @throws UnexpectedValueException */ public function fromObject(object $object): ExternalCardholderAuthenticationData { parent::fromObject($object); if (property_exists($object, 'acsTransactionId')) { $this->acsTransactionId = $object->acsTransactionId; } if (property_exists($object, 'appliedExemption')) { $this->appliedExemption = $object->appliedExemption; } if (property_exists($object, 'cavv')) { $this->cavv = $object->cavv; } if (property_exists($object, 'cavvAlgorithm')) { $this->cavvAlgorithm = $object->cavvAlgorithm; } if (property_exists($object, 'directoryServerTransactionId')) { $this->directoryServerTransactionId = $object->directoryServerTransactionId; } if (property_exists($object, 'eci')) { $this->eci = $object->eci; } if (property_exists($object, 'flow')) { $this->flow = $object->flow; } if (property_exists($object, 'schemeRiskScore')) { $this->schemeRiskScore = $object->schemeRiskScore; } if (property_exists($object, 'threeDSecureVersion')) { $this->threeDSecureVersion = $object->threeDSecureVersion; } if (property_exists($object, 'xid')) { $this->xid = $object->xid; } return $this; } }