public function update(array $pos)
    {
        if(!isset($pos['id'])) {
            throw new MonetivoException('$pos["id"] is required');
        }

        return $this->merchantApi->call('put', 'pos/' . $pos['id'], [
            'form_params' => $pos
        ])->toArray();
    }
public function update(array $pos)
    {
        if(!isset($pos['id'])) {
            throw new MonetivoException('$pos["id"] is required');
        }

        return $this->merchantApi->call('put', 'pos/' . $pos['id'], [
            'form_params' => $pos
        ])->toArray();
    }
public function update ( array $ pos ) { if ( ! isset ( $ pos [ 'id' ] ) ) { throw new MonetivoException ( '$pos["id"] is required' ) ; } return $ this -> merchantApi -> call ( 'put' , 'pos/' . $ pos [ 'id' ] , [ 'form_params' => $ pos ] ) -> toArray ( ) ; }
Updates as POS
@param array $pos
@return array
@throws MonetivoException
Updates as POS