using BPA.KitChen.GroupMealOrder.Core.CacheOption;
using BPA.KitChen.WeChat.WechatServer.Dtos;
using Essensoft.Paylink.WeChatPay;
using Essensoft.Paylink.WeChatPay.V2.Response;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BPA.KitChen.WeChat.WechatServer.Service
{
///
/// 微信支付服务
///
public interface IWechatPayService
{
///
/// 付款
///
///
///
///
Task PayLinkWechatPay(string openid, string ordernumber);
///
/// 充值
///
///
///
Task RechargePay(RechargeInput input);
///
/// Native付款,生成二维码
///
/// 付款金额(分)
/// 订单ID
///
string NativePay(decimal amount, string orderid);
///
/// 退款
///
///
///
///
Task Refund(WechatRefundInput input, ApolloApplicationConfig config);
///
/// 查询订单
///
///
///
///
///
Task PayOrderQuery(string appId,string transaction_id, string out_trade_no);
///
/// 付款码支付
///
///
///
Task MicropayPay(MicropayInput input);
}
}