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

com.gyftedstore.currency.rates.cca.CurrencyConverterApiProperties Maven / Gradle / Ivy

There is a newer version: 1.0.12
Show newest version
package com.gyftedstore.currency.rates.cca;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@ConfigurationProperties(prefix = "exchanges.currency-converter-api")
@ConditionalOnProperty("exchanges.currency-converter-api.api-key")
public class CurrencyConverterApiProperties {
    private String url;

    private String apiKey;

    private Map params;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public Map getParams() {
        return params;
    }

    public void setParams(Map params) {
        this.params = params;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy