package com.gingersoft.gsa.cloud.pay.device.pos.base.lifecycle.service;

import com.gingersoft.gsa.cloud.common.bean.BaseResult;

import io.reactivex.Single;
import me.jessyan.retrofiturlmanager.RetrofitUrlManager;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * @作者: bin
 * @創建時間: 2021-04-30 16:27
 * @更新時間: 2021-04-30 16:27
 * @描述:
 */
public interface PosMatterService {

    @POST("posPay/updatePosMatter" + RetrofitUrlManager.IDENTIFICATION_PATH_SIZE + 2)
    Single<BaseResult> updatePosPay(@Body RequestBody requestBody);

    @POST("posPay/updatePosRefund" + RetrofitUrlManager.IDENTIFICATION_PATH_SIZE + 2)
    Single<BaseResult> updatePosRefund(@Body RequestBody requestBody);

    @POST("posPay/updatePosCancel" + RetrofitUrlManager.IDENTIFICATION_PATH_SIZE + 2)
    Single<BaseResult> updatePosCancel(@Body RequestBody requestBody);

    @POST("posPay/updatePosTip" + RetrofitUrlManager.IDENTIFICATION_PATH_SIZE + 2)
    Single<BaseResult> updatePosTip(@Body RequestBody requestBody);

}
