This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ingenico ePayments
committed
Nov 8, 2018
1 parent
6a5b6b4
commit cb635b0
Showing
3 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/Ingenico/Connect/Sdk/Domain/Definitions/FraugsterResults.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
/* | ||
* This class was auto-generated from the API references found at | ||
* https://epayments-api.developer-ingenico.com/s2sapi/v1/ | ||
*/ | ||
namespace Ingenico\Connect\Sdk\Domain\Definitions; | ||
|
||
use Ingenico\Connect\Sdk\DataObject; | ||
use UnexpectedValueException; | ||
|
||
/** | ||
* @package Ingenico\Connect\Sdk\Domain\Definitions | ||
*/ | ||
class FraugsterResults extends DataObject | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $fraudInvestigationPoints = null; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $fraudScore = null; | ||
|
||
/** | ||
* @param object $object | ||
* @return $this | ||
* @throws UnexpectedValueException | ||
*/ | ||
public function fromObject($object) | ||
{ | ||
parent::fromObject($object); | ||
if (property_exists($object, 'fraudInvestigationPoints')) { | ||
$this->fraudInvestigationPoints = $object->fraudInvestigationPoints; | ||
} | ||
if (property_exists($object, 'fraudScore')) { | ||
$this->fraudScore = $object->fraudScore; | ||
} | ||
return $this; | ||
} | ||
} |