com.gocardless.resources.CurrencyExchangeRate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gocardless-pro Show documentation
Show all versions of gocardless-pro Show documentation
Client library for accessing the GoCardless Pro API
package com.gocardless.resources;
/**
* Represents a currency exchange rate resource returned from the API.
*
* Currency exchange rates from our foreign exchange provider.
*/
public class CurrencyExchangeRate {
private CurrencyExchangeRate() {
// blank to prevent instantiation
}
private String rate;
private String source;
private String target;
private String time;
/**
* The exchange rate from the source to target currencies provided with up to 10 decimal places.
*/
public String getRate() {
return rate;
}
/**
* Source currency
*/
public String getSource() {
return source;
}
/**
* Target currency
*/
public String getTarget() {
return target;
}
/**
* Time at which the rate was retrieved from the provider.
*/
public String getTime() {
return time;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy