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

jp.gopay.sdk.resources.ExchangeRatesResource Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
package jp.gopay.sdk.resources;

import jp.gopay.sdk.constants.GopayConstants;
import jp.gopay.sdk.models.common.IdempotencyKey;
import jp.gopay.sdk.models.common.MoneyLike;
import jp.gopay.sdk.models.request.exchangerate.ExchangeRateConversionReq;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.POST;

public interface ExchangeRatesResource {

    @POST("/exchange_rates/calculate")
    Call convert(
            @Body ExchangeRateConversionReq dataToPost,
            @Header(GopayConstants.idempotencyKeyHeaderName) IdempotencyKey idempotencyKey
    );


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy