Esempio n. 1
0
 /** @return string */
 public function getShaSign()
 {
     return $this->shaComposer->compose($this->toArray());
 }
Esempio n. 2
0
 /**
  * Checks if the response is valid
  * @param ShaComposer $shaComposer
  * @return bool
  */
 public function isValid(ShaComposer $shaComposer)
 {
     return $shaComposer->compose($this->parameters) == $this->shaSign;
 }