public function setLanguage($languageCode = '001')
    {
        if ($this->isEmpty($languageCode)) {
            throw new TpvException('Add language code');
        }

        $this->_setParameters['DS_MERCHANT_CONSUMERLANGUAGE'] = trim($languageCode);

        return $this;
    }
public function setLanguage($languageCode = '001')
    {
        if ($this->isEmpty($languageCode)) {
            throw new TpvException('Add language code');
        }

        $this->_setParameters['DS_MERCHANT_CONSUMERLANGUAGE'] = trim($languageCode);

        return $this;
    }
public function setLanguage ( $ languageCode = '001' ) { if ( $ this -> isEmpty ( $ languageCode ) ) { throw new TpvException ( 'Add language code' ) ; } $ this -> _setParameters [ 'DS_MERCHANT_CONSUMERLANGUAGE' ] = trim ( $ languageCode ) ; return $ this ; }
Set language code by default 001 = Spanish

@param string $languageCode Language code [Castellano-001, Inglés-002, Catalán-003, Francés-004, Alemán-005,
Holandés-006, Italiano-007, Sueco-008, Portugués-009, Valenciano-010, Polaco-011,
Gallego-012 y Euskera-013.]

@return $this
@throws Exception
Set language code by default 001 = Spanish