'Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse', 'ValidatedNumber' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_ValidatedNumber', 'sendValidationKeywordResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_SendValidationKeywordResponse', 'validateResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse', 'invalidateResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse', ); /** * validate the given number with the keyword * * @param string $keyword * @param string $number * @return Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse */ public function validate($keyword = null, $number = null) { $request = new Zend_Service_DeveloperGarden_Request_SmsValidation_Validate( $this->getEnvironment(), $keyword, $number ); return $this->getSoapClient() ->validate($request) ->parse(); } /** * invalidate the given number * * @param string $number * @return Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse */ public function inValidate($number = null) { $request = new Zend_Service_DeveloperGarden_Request_SmsValidation_Invalidate( $this->getEnvironment(), $number ); return $this->getSoapClient() ->invalidate($request) ->parse(); } /** * this function sends the validation sms to the given number, * if message is provided it should have to placeholder: * #key# = the validation key * #validUntil# = the valid until date * * @param string $number * @param string $message * @param string $originator * @param integer $account * * @return Zend_Service_DeveloperGarden_Request_SmsValidation_SendValidationKeywordResponse */ public function sendValidationKeyword($number = null, $message = null, $originator = null, $account = null) { $request = new Zend_Service_DeveloperGarden_Request_SmsValidation_SendValidationKeyword( $this->getEnvironment() ); $request->setNumber($number) ->setMessage($message) ->setOriginator($originator) ->setAccount($account); return $this->getSoapClient() ->sendValidationKeyword($request) ->parse(); } /** * returns a list of validated numbers * * @return Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse */ public function getValidatedNumbers() { $request = new Zend_Service_DeveloperGarden_Request_SmsValidation_GetValidatedNumbers( $this->getEnvironment() ); return $this->getSoapClient() ->getValidatedNumbers($request) ->parse(); } // @codeCoverageIgnoreEnd }