Skip to content

Commit

Permalink
Merge pull request #1 from jurgisk/wz
Browse files Browse the repository at this point in the history
Wz
  • Loading branch information
samwaters committed Jun 7, 2016
2 parents ada9065 + 49a0b41 commit f9676e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/CybersourcePHP/Replies/AfsReply.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ public function __construct($afsReply, $delimiter)
}
}
}
$this->_afsResult = $afsReply->afsResult;
$this->_afsResult = isset($afsReply->afsResult) ? $afsReply->afsResult : "";
$this->_binCountry = isset($afsReply->binCountry) ? $afsReply->binCountry : "";
$this->_cardScheme = isset($afsReply->cardScheme) ? $afsReply->cardScheme : "";
$this->_cardIssuer = isset($afsReply->cardIssuer) ? $afsReply->cardIssuer : "";
$this->_consumerLocalTime = $afsReply->consumerLocalTime;
$this->_consumerLocalTime = isset($afsReply->consumerLocalTime) ? $afsReply->consumerLocalTime : "";
if(isset($afsReply->deviceFingerprint))
{
$this->_deviceFingerprint = new DeviceFingerprint($afsReply->deviceFingerprint);
}
$this->_hostSeverity = $afsReply->hostSeverity;
$this->_hostSeverity = isset($afsReply->hostSeverity) ? $afsReply->hostSeverity : "";
//Internet Information Codes
$this->_internetInfoCodes = array();
if(isset($afsReply->internetInfoCode))
Expand All @@ -71,7 +71,7 @@ public function __construct($afsReply, $delimiter)
}
}
}
$this->_scoreModelUsed = $afsReply->scoreModelUsed;
$this->_scoreModelUsed = isset($afsReply->scoreModelUsed) ? $afsReply->scoreModelUsed : "";
}

public function getAddressInfoCodes()
Expand Down Expand Up @@ -123,4 +123,4 @@ public function getScoreModelUsed()
{
return $this->_scoreModelUsed;
}
}
}

0 comments on commit f9676e3

Please sign in to comment.