Search in sources :

Example 1 with ApiClient

use of com.yandex.money.api.net.clients.ApiClient in project yandex-money-sdk-java by yandex-money.

the class ShowcaseProcessTest method initShowcaseProcess.

private static ShowcaseProcess initShowcaseProcess() throws Exception {
    final ApiRequest<ShowcaseContext> resReq = new Showcase.Request(5551);
    final ApiClient client = getClient();
    final ShowcaseContext showcaseContext = client.execute(resReq);
    return new ShowcaseProcess(client, showcaseContext);
}
Also used : ShowcaseContext(com.yandex.money.api.model.showcase.ShowcaseContext) ApiRequest(com.yandex.money.api.net.ApiRequest) ApiClient(com.yandex.money.api.net.clients.ApiClient)

Aggregations

ShowcaseContext (com.yandex.money.api.model.showcase.ShowcaseContext)1 ApiRequest (com.yandex.money.api.net.ApiRequest)1 ApiClient (com.yandex.money.api.net.clients.ApiClient)1