@@ -0,0 +1,1638 @@
+package com.hashnot.etsy.service;%0A%0Aimport com.hashnot.etsy.Shops;%0Aimport com.hashnot.etsy.dto.Listing;%0Aimport com.hashnot.etsy.dto.Receipt;%0Aimport com.hashnot.etsy.dto.Response;%0Aimport rx.Observable;%0A%0Aimport javax.ws.rs.PathParam;%0Aimport javax.ws.rs.QueryParam;%0Aimport java.io.IOException;%0Aimport java.util.Date;%0Aimport java.util.List;%0Aimport java.util.concurrent.Executor;%0A%0A/**%0A * @author Rafa%C5%82 Krupi%C5%84ski%0A */%0Apublic class ShopsService extends AbstractEtsyService %7B%0A    private Shops shops;%0A%0A    public ShopsService(String apiKey, Executor executor, Shops shops) %7B%0A        super(apiKey, executor);%0A        this.shops = shops;%0A    %7D%0A%0A    public Observable%3CResponse%3CListing%3E%3E findAllShopListings(String shopId) throws IOException %7B%0A        Observable%3CResponse%3CListing%3E%3E active = call(offset -%3E shops.findAllShopListings(apiKey, %22active%22, MAX_LIMIT, offset, null));%0A        Observable%3CResponse%3CListing%3E%3E expired = call(offset -%3E shops.findAllShopListings(apiKey, %22expired%22, MAX_LIMIT, offset, null));%0A        Observable%3CResponse%3CListing%3E%3E inactive = call(offset -%3E shops.findAllShopListings(apiKey, %22inactive%22, MAX_LIMIT, offset, null));%0A        return Observable.concat(active, expired, inactive);%0A    %7D%0A%0A    public Observable%3CResponse%3CReceipt%3E%3E findAllShopReceipts(%0A            String shopId,%0A            Date createdFrom,%0A            Date createdTo,%0A            Boolean paid,%0A            Boolean shipped,%0A            List%3CString%3E includes,%0A            Integer limit%0A    ) throws IOException %7B%0A        return call(offset -%3E shops.findAllShopReceipts(shopId, createdFrom, createdTo, paid, shipped, includes, limit, offset, null));%0A    %7D%0A%0A%7D%0A

Add ShopsService