package com.nashtech.order.v1.models; import io.reactivex.Single; import java.lang.String; import java.lang.Void; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; import retrofit2.http.POST; import retrofit2.http.PUT; import retrofit2.http.Path; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.0.1 * User agent: apibuilder app.apibuilder.io/nashtech/order/1.0.1/android_rx2_client * * WARNING: not all features (notably unions) and data types work with android generator yet. * Android generator is designed to be used in an android application, but should work in any java codebase as long as you import jackson, retrofit2 and RxJava2 libraries. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact android-feedback@gilt.com * */ public interface OrdersClient { @GET("{merchant_id}/orders/{number}") Single getMerchantIdOrdersNumber(@Path("merchant_id") String merchantId, @Path("number") String number); @POST("{merchant_id}/orders") Single postMerchantIdOrders(@Body OrderForm orderForm, @Path("merchant_id") String merchantId); @PUT("{merchant_id}/orders/{number}") Single putMerchantIdOrdersNumber(@Body OrderForm orderForm, @Path("merchant_id") String merchantId, @Path("number") String number); @DELETE("{merchant_id}/orders") Single deleteMerchantIdOrders(@Path("merchant_id") String merchantId); }