コード例 #1
0
ファイル: TeleCash.php プロジェクト: checkdomain/telecash
 /**
  * Validate externally store data
  *
  * @param string $hostedDataId
  *
  * @return Response\Action\Validation|Response\Error
  * @throws \Exception
  */
 public function validateHostedData($hostedDataId)
 {
     $service = $this->getService();
     $payment = new Model\Payment($hostedDataId);
     $validateAction = new Request\Action\ValidateHostedData($service, $payment);
     return $validateAction->validate();
 }