public function set($entityToCode , $entityId, array $factorValueIds)
    {
        $uriAppend = 'set';

        $params = array_merge($this->getQueryParams(), [
            'entityToCode'      => $entityToCode,
            'entityId'          => $entityId,
            'factorValueIds'    => implode(',', $factorValueIds)
        ]);

        $response = $this->handler->handle('POST', $params, $uriAppend);

        return $this->make($response);
    }
public function set($entityToCode , $entityId, array $factorValueIds)
    {
        $uriAppend = 'set';

        $params = array_merge($this->getQueryParams(), [
            'entityToCode'      => $entityToCode,
            'entityId'          => $entityId,
            'factorValueIds'    => implode(',', $factorValueIds)
        ]);

        $response = $this->handler->handle('POST', $params, $uriAppend);

        return $this->make($response);
    }
public function set ( $ entityToCode , $ entityId , array $ factorValueIds ) { $ uriAppend = 'set' ; $ params = array_merge ( $ this -> getQueryParams ( ) , [ 'entityToCode' => $ entityToCode , 'entityId' => $ entityId , 'factorValueIds' => implode ( ',' , $ factorValueIds ) ] ) ; $ response = $ this -> handler -> handle ( 'POST' , $ params , $ uriAppend ) ; return $ this -> make ( $ response ) ; }
Set factor value for current entity

@param string $entityToCode
@param int $entityId
@param int|array $factorValueIds

@return Entity|Entity[]
@throws \GuzzleHttp\Exception\GuzzleException
@throws \Exception
Set factor value for current entity