src/icepay_api_base.php
public function setSecretCode($secretCode)
    {
        if (!Icepay_Parameter_Validation::secretCode($secretCode))
            throw new Exception('Secretcode not valid');

        $this->_secretCode = (string) $secretCode;
        return $this;
    }
public function setSecretCode($secretCode)
    {
        if (!Icepay_Parameter_Validation::secretCode($secretCode))
            throw new Exception('Secretcode not valid');

        $this->_secretCode = (string) $secretCode;
        return $this;
    }
public function setSecretCode ( $ secretCode ) { if ( ! Icepay_Parameter_Validation :: secretCode ( $ secretCode ) ) throw new Exception ( 'Secretcode not valid' ) ; $ this -> _secretCode = ( string ) $ secretCode ; return $ this ; }
Set the Secret Code field
@since 1.0.0
@access public
@param (string) $secretCode
Set the Secret Code field