提交 d2a7f69e 编写于 作者: K kuiyu

add license

上级 2198f948
MIT License
Copyright (c) 2021-2021 RHQYZ
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
## 简介
软商网络第三方支付SDK
RsCode.Payment软商网络开发的第三方支付平台SDK,使用.net技术开发,帮助应用快速接入支付系统
使用asp.net core技术开发
支持多个商户号同时支付
[![Gitee Stars](https://gitee.com/kuiyu/RsCode.Payment/badge/star.svg?title=Stars)](https://gitee.com/kuiyu/RsCode.Payment)[![Gitee Forks](https://gitee.com/kuiyu/RsCode.Payment/badge/fork.svg?title=Forks)](https://gitee.com/kuiyu/RsCode.Payment)[![GitHub Stars](https://img.shields.io/github/stars/kuiyu/RsCode.Payment?logo=github&label=Stars)](https://github.com/kuiyu/RsCode.Payment)[![GitHub Forks](https://img.shields.io/github/forks/kuiyu/RsCode.Payment?logo=github&label=Forks)](https://github.com/kuiyu/RsCode.Payment)[![Vistors](https://visitor-badge.laobi.icu/badge?page_id=fudiwei.DotNetCore.SKIT.FlurlHttpClient.ByteDance&title=Visitors)](https://github.com/kuiyu/RsCode.Payment)[![License](https://img.shields.io/github/license/kuiyu/RsCode.Payment?label=License)](https://mit-license.org/)
## 快速入门
......
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace RsCode.Payment.Tenpay.V3.Merchant
{
/// <summary>
/// 结算信息
/// </summary>
public class SettleInfo
{
[JsonPropertyName("profit_sharing")]
public bool ProfitSharing { get; set; }
}
}
/*
* 项目:第三方支付工具 RsCode.Payment
* 作者:河南软商网络科技有限公司
* 协议:MIT License 2.0
* 项目己托管于
* github https://github.com/kuiyu/RsCode.Payment.git
*/
using System.Text.Json.Serialization;
namespace RsCode.Payment.Tenpay.V3.Merchant
{
public class TransactionH5Response:TenpayBaseResponse
{
/// <summary>
/// 支付跳转链接
/// </summary>
[JsonPropertyName("h5_url")]
public string H5Url { get; set; }
[JsonPropertyName("status_code")]
public int StatusCode { get; set; }
[JsonPropertyName("message")]
public string Message { get; set; }
[JsonPropertyName("detail")]
public object Detail { get; set; }
}
}
......@@ -61,12 +61,8 @@ namespace RsCode.Payment.Tenpay.V3.Merchant
/// 订单金额信息
/// </summary>
[JsonPropertyName("amount")]
public AmountInfo OrderAmountInfo { get; set; }
/// <summary>
/// 支付者信息
/// </summary>
[JsonPropertyName("payer")]
public PayerInfo PayerInfo { get; set; }
public PrepaidAmountInfo OrderAmountInfo { get; set; }
/// <summary>
/// 优惠功能
/// </summary>
......@@ -78,6 +74,11 @@ namespace RsCode.Payment.Tenpay.V3.Merchant
/// </summary>
[JsonPropertyName("scene_info")]
public SceneInfo SceneInfo { get; set; }
[JsonPropertyName("settle_info")]
public SettleInfo SettleInfo { get; set; }
#endregion
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册