WebPayResponse.cs 460 B

1234567891011121314151617181920
  1. using PaySharp.Alipay.Request;
  2. using PaySharp.Core.Response;
  3. namespace PaySharp.Alipay.Response
  4. {
  5. public class WebPayResponse : IResponse
  6. {
  7. public WebPayResponse(WebPayRequest request)
  8. {
  9. Html = request.GatewayData.ToForm(request.RequestUrl);
  10. }
  11. /// <summary>
  12. /// 生成的Html网页
  13. /// </summary>
  14. public string Html { get; set; }
  15. public string Raw { get; set; }
  16. }
  17. }