All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.adorsys.ledgers.deposit.api.client.ExchangeRateClient Maven / Gradle / Ivy

package de.adorsys.ledgers.deposit.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "CurrencyExchangeRates", url = ExchangeRateClient.CURRENCY_URL)
public interface ExchangeRateClient {
    String CURRENCY_URL = "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml";

    @GetMapping
    ResponseEntity getRatesToEur();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy