Interface CurrencyApi
public interface CurrencyApi
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<GetCurrenciesResponse>Retrieve Currency Configuration Returns the list of currencies permitted for use AND the list of currencies not selected (but available for selection).retrofit2.Call<GetCurrenciesResponse>retrieveCurrencies(Map<String, String> headers) Retrieve Currency Configuration Returns the list of currencies permitted for use AND the list of currencies not selected (but available for selection).retrofit2.Call<PutCurrenciesResponse>updateCurrencies(PutCurrenciesRequest putCurrenciesRequest) Update Currency Configuration Updates the list of currencies permitted for use.retrofit2.Call<PutCurrenciesResponse>updateCurrencies(PutCurrenciesRequest putCurrenciesRequest, Map<String, String> headers) Update Currency Configuration Updates the list of currencies permitted for use.
-
Method Details
-
retrieveCurrencies
Retrieve Currency Configuration Returns the list of currencies permitted for use AND the list of currencies not selected (but available for selection). Example Requests: currencies currencies?fields=selectedCurrencyOptions- Returns:
- Call<GetCurrenciesResponse>
-
updateCurrencies
@Headers("Content-Type:application/json") @PUT("v1/currencies") retrofit2.Call<PutCurrenciesResponse> updateCurrencies(@Body PutCurrenciesRequest putCurrenciesRequest) Update Currency Configuration Updates the list of currencies permitted for use.- Parameters:
putCurrenciesRequest- (required)- Returns:
- Call<PutCurrenciesResponse>
-
retrieveCurrencies
@GET("v1/currencies") retrofit2.Call<GetCurrenciesResponse> retrieveCurrencies(@HeaderMap Map<String, String> headers) Retrieve Currency Configuration Returns the list of currencies permitted for use AND the list of currencies not selected (but available for selection). Example Requests: currencies currencies?fields=selectedCurrencyOptions- Returns:
- Call<GetCurrenciesResponse>
-
updateCurrencies
@Headers("Content-Type:application/json") @PUT("v1/currencies") retrofit2.Call<PutCurrenciesResponse> updateCurrencies(@Body PutCurrenciesRequest putCurrenciesRequest, @HeaderMap Map<String, String> headers) Update Currency Configuration Updates the list of currencies permitted for use.- Parameters:
putCurrenciesRequest- (required)- Returns:
- Call<PutCurrenciesResponse>
-