src/icepay_api_base.php
public function setLanguage($lang)
    {
        if (!Icepay_Parameter_Validation::language($lang))
            throw new Exception('Language not valid');
        $this->data->ic_language = $lang;
        return $this;
    }
public function setLanguage($lang)
    {
        if (!Icepay_Parameter_Validation::language($lang))
            throw new Exception('Language not valid');
        $this->data->ic_language = $lang;
        return $this;
    }
public function setLanguage ( $ lang ) { if ( ! Icepay_Parameter_Validation :: language ( $ lang ) ) throw new Exception ( 'Language not valid' ) ; $ this -> data -> ic_language = $ lang ; return $ this ; }
Set the language field
@since version 1.0.0
@access public
@param string $lang Language ISO 639-1 code !Required
@example setLanguage("EN") // English
Set the language field