Package com.stripe.service
Class ExchangeRateService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.ExchangeRateService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlist()
Returns a list of objects that contain the rates at which foreign currencies are converted to one another.list
(RequestOptions options) Returns a list of objects that contain the rates at which foreign currencies are converted to one another.list
(ExchangeRateListParams params) Returns a list of objects that contain the rates at which foreign currencies are converted to one another.list
(ExchangeRateListParams params, RequestOptions options) Returns a list of objects that contain the rates at which foreign currencies are converted to one another.Retrieves the exchange rates from the given currency to every supported currency.retrieve
(String rateId, RequestOptions options) Retrieves the exchange rates from the given currency to every supported currency.retrieve
(String rateId, ExchangeRateRetrieveParams params) Retrieves the exchange rates from the given currency to every supported currency.retrieve
(String rateId, ExchangeRateRetrieveParams params, RequestOptions options) Retrieves the exchange rates from the given currency to every supported currency.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ExchangeRateService
-
-
Method Details
-
list
Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.- Throws:
StripeException
-
list
Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.- Throws:
StripeException
-
list
Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.- Throws:
StripeException
-
list
public StripeCollection<ExchangeRate> list(ExchangeRateListParams params, RequestOptions options) throws StripeException Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.- Throws:
StripeException
-
retrieve
public ExchangeRate retrieve(String rateId, ExchangeRateRetrieveParams params) throws StripeException Retrieves the exchange rates from the given currency to every supported currency.- Throws:
StripeException
-
retrieve
Retrieves the exchange rates from the given currency to every supported currency.- Throws:
StripeException
-
retrieve
Retrieves the exchange rates from the given currency to every supported currency.- Throws:
StripeException
-
retrieve
public ExchangeRate retrieve(String rateId, ExchangeRateRetrieveParams params, RequestOptions options) throws StripeException Retrieves the exchange rates from the given currency to every supported currency.- Throws:
StripeException
-