예제 #1
0
 /**
  * Get a code describing the status of this response
  * 
  * @return string
  */
 public function getCode()
 {
     return $this->isSuccessful() ? $this->data["Transaction"]->Response->ReasonCode : parent::getCode();
     //$this->data["Transaction"]->AuthCode
 }
예제 #2
0
 /**
  * Get a code describing the status of this response.
  *
  * @return string|null code
  */
 public function getCode()
 {
     return $this->isSuccessful() ? $this->data["authCode"] : parent::getCode();
 }