src/Operation/SyncRates.php
public function update(ExchangeRateCollection $collection)
    {
        $request = $this->initApiRequest(
            $this->account->getApiToken(Token::API_EXCHANGE_RATES),
            $this->account->getName(),
            $this->activeDomain
        );
        $request->setPath(ApiRequest::PATH_CURRENCY_EXCHANGE_RATE);
        $response = $request->post($collection);
        return self::checkResponse($request, $response);
    }
public function update(ExchangeRateCollection $collection)
    {
        $request = $this->initApiRequest(
            $this->account->getApiToken(Token::API_EXCHANGE_RATES),
            $this->account->getName(),
            $this->activeDomain
        );
        $request->setPath(ApiRequest::PATH_CURRENCY_EXCHANGE_RATE);
        $response = $request->post($collection);
        return self::checkResponse($request, $response);
    }
public function update ( ExchangeRateCollection $ collection ) { $ request = $ this -> initApiRequest ( $ this -> account -> getApiToken ( Token :: API_EXCHANGE_RATES ) , $ this -> account -> getName ( ) , $ this -> activeDomain ) ; $ request -> setPath ( ApiRequest :: PATH_CURRENCY_EXCHANGE_RATE ) ; $ response = $ request -> post ( $ collection ) ; return self :: checkResponse ( $ request , $ response ) ; }
Updates exchange rates to Nosto

@param ExchangeRateCollection $collection the collection of exchange rates to update
@return bool returns true when the operation was a success
@throws NostoException
@throws AbstractHttpException
Updates exchange rates to Nosto