com.smarttransaction.network.SmartTransactionNetworkService Maven / Gradle / Ivy
package com.smarttransaction.network;
import com.smarttransaction.model.SmartTransactionGenericRequest;
import com.smarttransaction.model.SmartTransactionGenericResponse;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
/**
* user : Omm
* date : 8/29/2016.
* description : this interface used by Retrofit and used for HttpRequest and HttpResponse
* in SmartTransactionService class.
*/
interface SmartTransactionNetworkService {
@POST("gateway_no_lrc.php")
Call getGenericResponse(@Body SmartTransactionGenericRequest genericRequest);
}