Discuz.Plugin/Payment/TradeInfo/LogisticsInfo.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace Discuz.Plugin.Payment.Alipay
{
/// <summary>
/// 物流信息类
/// </summary>
public class LogisticsInfo
{
private string _logistics_type;
private decimal _logistics_fee;
private string _logistics_payment;
/// <summary>
/// 构造函数
/// </summary>
/// <param name="logistics_type">物流类型: VIRTUAL(虚拟物品),POST(平邮),EMS(EMS),EXPRESS(其他快递公司)</param>
/// <param name="logistics_fee">物流费用, 默认为0</param>
/// <param name="logistics_payment">物流支付类型: SELLER_PAY(卖家支付物流费用,费用不计到总价内),BUYER_PAY(买家支付物流费用,费用需要计到总价内),BUYER_PAY_AFTER_RECEIVE(买家收到货后直接支付给物流公司,费用不用计到总价中)</param>
public LogisticsInfo(string logistics_type, decimal logistics_fee, string logistics_payment)
{
this._logistics_type = logistics_type;
this._logistics_fee = logistics_fee;
this._logistics_payment = logistics_payment;
}
/// <summary>
/// 物流类型
/// Alipay文档类型:string
/// 说明: VIRTUAL:虚拟物品 POST:平邮 EMS:EMS EXPRESS:其他快递公司
/// </summary>
public string Logistics_Type
{
get { return _logistics_type; }
set
{
if (value != null && value.Length > 50)
{
throw new ArgumentOutOfRangeException("无效的 LogisticsType(物流类型)", value, value.ToString());
}
_logistics_type = value;
}
}
/// <summary>
/// 物流费用
/// Alipay文档类型:Number(8,2)
/// 0.00--10000000.00默认为0
/// </summary>
public decimal Logistics_Fee
{
后面还有 34 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
