| | |
| | | using Alipay.EasySDK.Payment.FaceToFace.Models; |
| | | using LifePayment.Domain.Shared; |
| | | using Microsoft.Extensions.Options; |
| | | using Nest; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace LifePayment.Domain |
| | |
| | | AlipayTradeQueryResponse response = Factory.Payment.Common().Query(input.OutTradeNo); |
| | | return response; |
| | | } |
| | | |
| | | public async Task<AlipayTradeRefundResponse> TradeRefund(AlipayTradeRefundRequest input) |
| | | { |
| | | AlipayTradeRefundResponse response = Factory.Payment.Common().Refund(input.OutTradeNo,input.RefundAmount); |
| | | return response; |
| | | } |
| | | |
| | | } |
| | | } |