package payp.mard2p.api.v0.models; import java.lang.Double; import java.lang.Long; import java.lang.String; import java.lang.Void; import retrofit2.Call; import retrofit2.http.DELETE; import retrofit2.http.GET; import retrofit2.http.POST; import retrofit2.http.PUT; import retrofit2.http.Path; import retrofit2.http.Query; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.2-dev * User agent: apibuilder app.apibuilder.io/mard/mard2p-api/0.0.2-dev/android_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 and retrofit2 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 TransfersClient { /** * Used to create a transfer resource. */ @POST("transfers/create") Call postTransfersCreate(@Query("transferid") Long transferid, @Query("senderid") String senderid, @Query("amount") Double amount, @Query("currency") String currency, @Query("ref_accountid_receiver") Long refAccountidReceiver, @Query("ref_accountid_sender") Long refAccountidSender); /** * Used to update a transfer resource. */ @PUT("transfers/update/{transferid}") Call putTransfersUpdateTransferid(@Path("transferid") Long transferid, @Query("senderid") String senderid, @Query("amount") Double amount, @Query("currency") String currency, @Query("ref_accountid_receiver") Long refAccountidReceiver, @Query("ref_accountid_sender") Long refAccountidSender); /** * Delete some transfer. */ @DELETE("transfers/delete/{transferid}") Call deleteTransfersDeleteTransferid(@Path("transferid") Long transferid); /** * Find transfer by its id */ @GET("transfers/{transferid}") Call getTransfersTransferid(@Path("transferid") Long transferid, @Query("senderid") String senderid, @Query("amount") Double amount, @Query("currency") String currency, @Query("ref_accountid_receiver") Long refAccountidReceiver, @Query("ref_accountid_sender") Long refAccountidSender); /** * Find all the transfers. */ @GET("transfers/list") Call getTransfersList(@Query("transferid") Long transferid, @Query("senderid") String senderid, @Query("amount") Double amount, @Query("currency") String currency, @Query("ref_accountid_receiver") Long refAccountidReceiver, @Query("ref_accountid_sender") Long refAccountidSender); }