Quellcode durchsuchen

第三方支付渠道代码迁移

DOVER-GLOBAL\11047086 vor 1 Jahr
Ursprung
Commit
5f82dad467
100 geänderte Dateien mit 7397 neuen und 0 gelöschten Zeilen
  1. 14 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AlipayConstants.cs
  2. 73 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopDictionary.cs
  3. 51 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopException.cs
  4. 12 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopObject.cs
  5. 79 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopResponse.cs
  6. 719 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopSdkOld.csproj
  7. 134 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/AlipayCore.cs
  8. 194 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/Alipaynotify.cs
  9. 220 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/CodePay.cs
  10. 181 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/Config.cs
  11. 59 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/F2FBiz.cs
  12. 86 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/LogHelper.cs
  13. 75 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/OrderQuery.cs
  14. 11 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/PayResultEnum.cs
  15. 89 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/Refund.cs
  16. 242 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/DefaultAopClient.cs
  17. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AccountFreeze.cs
  18. 78 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AccountRecord.cs
  19. 54 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrust.cs
  20. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustAlipayCert.cs
  21. 42 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustBasicInfo.cs
  22. 42 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustCert.cs
  23. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRealNameRegistration.cs
  24. 120 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRiskARUser.cs
  25. 32 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRiskIdentify.cs
  26. 36 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRiskUser.cs
  27. 18 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustScore.cs
  28. 36 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayAccount.cs
  29. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayContract.cs
  30. 54 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayUserDetail.cs
  31. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayUserLevelInfo.cs
  32. 24 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AreaInfo.cs
  33. 42 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AssetAccountResult.cs
  34. 114 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BankPayApplyResult.cs
  35. 62 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BatchFundItemAOPModel.cs
  36. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BeaconDeviceInfo.cs
  37. 24 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BeaconTemplate.cs
  38. 60 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BenefitInfo.cs
  39. 36 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ChargeInstMode.cs
  40. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ComplextMockModel.cs
  41. 320 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ConsumeRecordAOPModel.cs
  42. 102 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/Coupon.cs
  43. 78 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/CreditResult.cs
  44. 20 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/Data.cs
  45. 72 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DeliverAddress.cs
  46. 60 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DishonestyDetailInfo.cs
  47. 50 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DishonestyQueryResultInfo.cs
  48. 120 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DrawndnVo.cs
  49. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EduOneCardBalanceQueryResult.cs
  50. 54 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EduOneCardDepositCardQueryResult.cs
  51. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EvercallAlertResult.cs
  52. 42 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EvercallRechargeResult.cs
  53. 60 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ExproductconfResponse.cs
  54. 36 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/FeeRecords.cs
  55. 20 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/FundDetailItemAOPModel.cs
  56. 222 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/FundItemAOPModel.cs
  57. 42 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/GfResult.cs
  58. 56 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/InputFieldModel.cs
  59. 24 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/InstoreUser.cs
  60. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ItermInfo.cs
  61. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/LendingRecords.cs
  62. 20 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ListListComplexMockModel.cs
  63. 20 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ListListSmMockModel.cs
  64. 36 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/MerchantInstConfig.cs
  65. 126 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/MerchantTicketModel.cs
  66. 84 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/MicroPayOrderDetail.cs
  67. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/OldComplextMockModel.cs
  68. 20 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/OldListListComplexMockModel.cs
  69. 24 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PaymentAbilityPostbackResponse.cs
  70. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PaymentAbilityQueryResponse.cs
  71. 66 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PaymentSchedule.cs
  72. 54 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ProductProvider.cs
  73. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PublicBindAccount.cs
  74. 30 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/QueryInstBillDetail.cs
  75. 110 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/QueryInstBillInfo.cs
  76. 32 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/RechargeModel.cs
  77. 66 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/RepaymentRecords.cs
  78. 48 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SaleProduct.cs
  79. 42 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SimpleMockModel.cs
  80. 26 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SingleFundDetailItemAOPModel.cs
  81. 60 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SinglePayDetail.cs
  82. 36 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TaobaoAutoLoginUrl.cs
  83. 102 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/Ticket.cs
  84. 36 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TodoRemind.cs
  85. 24 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TradeFundBill.cs
  86. 120 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TradeRecord.cs
  87. 60 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/UnfreezeOrderDetail.cs
  88. 24 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ValidationRule.cs
  89. 42 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ZhimaRiskDetail.cs
  90. 28 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/IAopClient.cs
  91. 85 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/IAopRequest.cs
  92. 19 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/IAopUploadRequest.cs
  93. 52 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/BooleanObject.cs
  94. 129 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Collections/KeyedCollection.cs
  95. 45 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Compat.cs
  96. 137 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Configuration/DictionarySectionHandler.cs
  97. 98 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Configuration/ListSectionHandler.cs
  98. 92 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Configuration/TypeListSectionHandler.cs
  99. 77 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Diagnostics/DebugString.cs
  100. 290 0
      FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/IndentedTextWriter.cs

+ 14 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AlipayConstants.cs

@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Aop.Api
+{
+    public class AlipayConstants
+    {
+        public const string RESPONSE_SUFFIX = "_response";
+        public const string ERROR_RESPONSE = "error_response";
+        public const string SIGN = "sign";
+    }
+}

+ 73 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopDictionary.cs

@@ -0,0 +1,73 @@
+using System;
+using System.Collections.Generic;
+
+namespace Aop.Api
+{
+    /// <summary>
+    /// 符合AOP习惯的纯字符串字典结构。
+    /// </summary>
+    public class AopDictionary : Dictionary<string, string>
+    {
+        private const string DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
+
+        public AopDictionary() { }
+
+        public AopDictionary(IDictionary<string, string> dictionary)
+            : base(dictionary)
+        { }
+
+        /// <summary>
+        /// 添加一个新的键值对。空键或者空值的键值对将会被忽略。
+        /// </summary>
+        /// <param name="key">键名称</param>
+        /// <param name="value">键对应的值,目前支持:string, int, long, double, bool, DateTime类型</param>
+        public void Add(string key, object value)
+        {
+            string strValue;
+
+            if (value == null)
+            {
+                strValue = null;
+            }
+            else if (value is string)
+            {
+                strValue = (string)value;
+            }
+            else if (value is Nullable<DateTime>)
+            {
+                Nullable<DateTime> dateTime = value as Nullable<DateTime>;
+                strValue = dateTime.Value.ToString(DATE_TIME_FORMAT);
+            }
+            else if (value is Nullable<int>)
+            {
+                strValue = (value as Nullable<int>).Value.ToString();
+            }
+            else if (value is Nullable<long>)
+            {
+                strValue = (value as Nullable<long>).Value.ToString();
+            }
+            else if (value is Nullable<double>)
+            {
+                strValue = (value as Nullable<double>).Value.ToString();
+            }
+            else if (value is Nullable<bool>)
+            {
+                strValue = (value as Nullable<bool>).Value.ToString().ToLower();
+            }
+            else
+            {
+                strValue = value.ToString();
+            }
+
+            this.Add(key, strValue);
+        }
+
+        public new void Add(string key, string value)
+        {
+            if (!string.IsNullOrEmpty(key) && !string.IsNullOrEmpty(value))
+            {
+                base.Add(key, value);
+            }
+        }
+    }
+}

+ 51 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopException.cs

@@ -0,0 +1,51 @@
+using System;
+using System.Runtime.Serialization;
+
+namespace Aop.Api
+{
+    /// <summary>
+    /// AOP客户端异常。
+    /// </summary>
+    public class AopException : Exception
+    {
+        private string errorCode;
+        private string errorMsg;
+
+        public AopException()
+            : base()
+        {
+        }
+
+        public AopException(string message)
+            : base(message)
+        {
+        }
+
+        protected AopException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
+        {
+        }
+
+        public AopException(string message, Exception innerException)
+            : base(message, innerException)
+        {
+        }
+
+        public AopException(string errorCode, string errorMsg)
+            : base(errorCode + ":" + errorMsg)
+        {
+            this.errorCode = errorCode;
+            this.errorMsg = errorMsg;
+        }
+
+        public string ErrorCode
+        {
+            get { return this.errorCode; }
+        }
+
+        public string ErrorMsg
+        {
+            get { return this.errorMsg; }
+        }
+    }
+}

+ 12 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopObject.cs

@@ -0,0 +1,12 @@
+using System;
+
+namespace Aop.Api
+{
+    /// <summary>
+    /// 基础对象。
+    /// </summary>
+    [Serializable]
+    public abstract class AopObject
+    {
+    }
+}

+ 79 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopResponse.cs

@@ -0,0 +1,79 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api
+{
+    [Serializable]
+    public abstract class AopResponse
+    {
+        private string code;
+        private string msg;
+        private string subCode;
+        private string subMsg;
+        private string body;
+
+        /// <summary>
+        /// 错误码
+        /// 对应 ErrCode
+        /// </summary>
+        [XmlElement("code")]
+        public string Code
+        {
+            get { return code; }
+            set { code = value; }
+        }
+
+        /// <summary>
+        /// 错误信息
+        /// 对应 ErrMsg
+        /// </summary>
+        [XmlElement("msg")]
+        public string Msg
+        {
+            get { return msg; }
+            set { msg = value; }
+        }
+
+        /// <summary>
+        /// 子错误码
+        /// 对应 SubErrCode
+        /// </summary>
+        [XmlElement("sub_code")]
+        public string SubCode
+        {
+            get { return subCode; }
+            set { subCode = value; }
+        }
+
+        /// <summary>
+        /// 子错误信息
+        /// 对应 SubErrMsg
+        /// </summary>
+        [XmlElement("sub_msg")]
+        public string SubMsg
+        {
+            get { return subMsg; }
+            set { subMsg = value; }
+        }
+
+        /// <summary>
+        /// 响应原始内容
+        /// </summary>
+        public string Body
+        {
+            get { return body; }
+            set { body = value; }
+        }
+
+        /// <summary>
+        /// 响应结果是否错误
+        /// </summary>
+        public bool IsError
+        {
+            get
+            {
+                return !string.IsNullOrEmpty(this.SubCode);
+            }
+        }
+    }
+}

+ 719 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/AopSdkOld.csproj

@@ -0,0 +1,719 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.30703</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{9C11CAE5-5188-4E71-825B-68FC3135728A}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Aop.Api</RootNamespace>
+    <AssemblyName>AopSdk</AssemblyName>
+    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <SccProjectName>SAK</SccProjectName>
+    <SccLocalPath>SAK</SccLocalPath>
+    <SccAuxPath>SAK</SccAuxPath>
+    <SccProvider>SAK</SccProvider>
+    <TargetFrameworkProfile />
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <Prefer32Bit>false</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <Prefer32Bit>false</Prefer32Bit>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.configuration" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Web" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Business\CodePay.cs" />
+    <Compile Include="Business\OrderQuery.cs" />
+    <Compile Include="Business\Refund.cs" />
+    <Compile Include="DefaultAopClient.cs" />
+    <Compile Include="Domain\ZhimaRiskDetail.cs" />
+    <Compile Include="Domain\ValidationRule.cs" />
+    <Compile Include="Domain\UnfreezeOrderDetail.cs" />
+    <Compile Include="Domain\TradeRecord.cs" />
+    <Compile Include="Domain\TradeFundBill.cs" />
+    <Compile Include="Domain\TodoRemind.cs" />
+    <Compile Include="Domain\Ticket.cs" />
+    <Compile Include="Domain\TaobaoAutoLoginUrl.cs" />
+    <Compile Include="Domain\SinglePayDetail.cs" />
+    <Compile Include="Domain\SingleFundDetailItemAOPModel.cs" />
+    <Compile Include="Domain\SimpleMockModel.cs" />
+    <Compile Include="Domain\SaleProduct.cs" />
+    <Compile Include="Domain\RepaymentRecords.cs" />
+    <Compile Include="Domain\RechargeModel.cs" />
+    <Compile Include="Domain\QueryInstBillInfo.cs" />
+    <Compile Include="Domain\QueryInstBillDetail.cs" />
+    <Compile Include="Domain\PublicBindAccount.cs" />
+    <Compile Include="Domain\ProductProvider.cs" />
+    <Compile Include="Domain\PaymentSchedule.cs" />
+    <Compile Include="Domain\PaymentAbilityQueryResponse.cs" />
+    <Compile Include="Domain\PaymentAbilityPostbackResponse.cs" />
+    <Compile Include="Domain\OldListListComplexMockModel.cs" />
+    <Compile Include="Domain\OldComplextMockModel.cs" />
+    <Compile Include="Domain\MicroPayOrderDetail.cs" />
+    <Compile Include="Domain\MerchantTicketModel.cs" />
+    <Compile Include="Domain\MerchantInstConfig.cs" />
+    <Compile Include="Domain\ListListSmMockModel.cs" />
+    <Compile Include="Domain\ListListComplexMockModel.cs" />
+    <Compile Include="Domain\LendingRecords.cs" />
+    <Compile Include="Domain\ItermInfo.cs" />
+    <Compile Include="Domain\InstoreUser.cs" />
+    <Compile Include="Domain\InputFieldModel.cs" />
+    <Compile Include="Domain\GfResult.cs" />
+    <Compile Include="Domain\FundItemAOPModel.cs" />
+    <Compile Include="Domain\FundDetailItemAOPModel.cs" />
+    <Compile Include="Domain\FeeRecords.cs" />
+    <Compile Include="Domain\ExproductconfResponse.cs" />
+    <Compile Include="Domain\EvercallRechargeResult.cs" />
+    <Compile Include="Domain\EvercallAlertResult.cs" />
+    <Compile Include="Domain\EduOneCardDepositCardQueryResult.cs" />
+    <Compile Include="Domain\EduOneCardBalanceQueryResult.cs" />
+    <Compile Include="Domain\DrawndnVo.cs" />
+    <Compile Include="Domain\DishonestyQueryResultInfo.cs" />
+    <Compile Include="Domain\DishonestyDetailInfo.cs" />
+    <Compile Include="Domain\DeliverAddress.cs" />
+    <Compile Include="Domain\Data.cs" />
+    <Compile Include="Domain\CreditResult.cs" />
+    <Compile Include="Domain\Coupon.cs" />
+    <Compile Include="Domain\ConsumeRecordAOPModel.cs" />
+    <Compile Include="Domain\ComplextMockModel.cs" />
+    <Compile Include="Domain\ChargeInstMode.cs" />
+    <Compile Include="Domain\BenefitInfo.cs" />
+    <Compile Include="Domain\BeaconTemplate.cs" />
+    <Compile Include="Domain\BeaconDeviceInfo.cs" />
+    <Compile Include="Domain\BatchFundItemAOPModel.cs" />
+    <Compile Include="Domain\BankPayApplyResult.cs" />
+    <Compile Include="Domain\AssetAccountResult.cs" />
+    <Compile Include="Domain\AreaInfo.cs" />
+    <Compile Include="Domain\AliTrustScore.cs" />
+    <Compile Include="Domain\AliTrustRiskUser.cs" />
+    <Compile Include="Domain\AliTrustRiskIdentify.cs" />
+    <Compile Include="Domain\AliTrustRiskARUser.cs" />
+    <Compile Include="Domain\AliTrustRealNameRegistration.cs" />
+    <Compile Include="Domain\AliTrustCert.cs" />
+    <Compile Include="Domain\AliTrustBasicInfo.cs" />
+    <Compile Include="Domain\AliTrustAlipayCert.cs" />
+    <Compile Include="Domain\AliTrust.cs" />
+    <Compile Include="Domain\AlipayUserLevelInfo.cs" />
+    <Compile Include="Domain\AlipayUserDetail.cs" />
+    <Compile Include="Domain\AlipayContract.cs" />
+    <Compile Include="Domain\AlipayAccount.cs" />
+    <Compile Include="Domain\AccountRecord.cs" />
+    <Compile Include="Domain\AccountFreeze.cs" />
+    <Compile Include="Business\AlipayCore.cs" />
+    <Compile Include="Business\Alipaynotify.cs" />
+    <Compile Include="Business\Config.cs" />
+    <Compile Include="Business\F2FBiz.cs" />
+    <Compile Include="Business\LogHelper.cs" />
+    <Compile Include="Business\PayResultEnum.cs" />
+    <Compile Include="IAopClient.cs" />
+    <Compile Include="IAopRequest.cs" />
+    <Compile Include="IAopUploadRequest.cs" />
+    <Compile Include="Jayrock\Json\BooleanObject.cs" />
+    <Compile Include="Jayrock\Json\Collections\KeyedCollection.cs" />
+    <Compile Include="Jayrock\Json\Compat.cs" />
+    <Compile Include="Jayrock\Json\Configuration\DictionarySectionHandler.cs" />
+    <Compile Include="Jayrock\Json\Configuration\ListSectionHandler.cs" />
+    <Compile Include="Jayrock\Json\Configuration\TypeListSectionHandler.cs" />
+    <Compile Include="Jayrock\Json\Diagnostics\DebugString.cs" />
+    <Compile Include="Jayrock\Json\IndentedTextWriter.cs" />
+    <Compile Include="Jayrock\Json\InternetDate.cs" />
+    <Compile Include="Jayrock\Json\Json\BufferedCharReader.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\AnyType.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\AnyImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ArrayImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\BooleanExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\BooleanImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ByteArrayExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ByteArrayImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ComponentExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ComponentImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DataRowExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DataRowViewExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DataSetExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DataTableExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DataViewExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DateTimeExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DateTimeImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DictionaryExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\DictionaryImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\EnumerableExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\EnumImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ExportAwareExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ExporterBase.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\GuidImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ImportAwareImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ImporterBase.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\ListImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\NameValueCollectionExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\NameValueCollectionImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\NumberExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\NumberImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\StringExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\Converters\StringImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\CustomTypeDescriptor.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\ExportContext.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\ExporterCollection.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\ExporterListSectionHandler.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\IExporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\IImporter.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\IJsonExportable.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\IJsonImportable.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\ImportContext.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\ImporterCollection.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\ImporterListSectionHandler.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\JsonConvert.cs" />
+    <Compile Include="Jayrock\Json\Json\Conversion\JsonIgnoreAttribute.cs" />
+    <Compile Include="Jayrock\Json\Json\EmptyJsonWriter.cs" />
+    <Compile Include="Jayrock\Json\Json\InvalidMemberException.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonArray.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonBoolean.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonException.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonNull.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonNumber.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonObject.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonReader.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonReaderBase.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonRecorder.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonString.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonTextReader.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonTextWriter.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonToken.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonTokenClass.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonWriter.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonWriterBase.cs" />
+    <Compile Include="Jayrock\Json\Json\JsonWriterBracket.cs" />
+    <Compile Include="Jayrock\Json\UnixTime.cs" />
+    <Compile Include="Jayrock\Mask.cs" />
+    <Compile Include="Parser\IAopParser.cs" />
+    <Compile Include="Parser\IAopReader.cs" />
+    <Compile Include="Parser\AopAttribute.cs" />
+    <Compile Include="Parser\AopJsonParser.cs" />
+    <Compile Include="Parser\AopJsonReader.cs" />
+    <Compile Include="Parser\AopXmlParser.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Request\MonitorHeartbeatSynRequest.cs" />
+    <Compile Include="Request\AlipayZdatafrontDatatransferedSendRequest.cs" />
+    <Compile Include="Request\AlipayZdatafrontDatatransferedFileuploadRequest.cs" />
+    <Compile Include="Request\AlipayWeiboTokenGetRequest.cs" />
+    <Compile Include="Request\AlipayWeiboPucChargeRequest.cs" />
+    <Compile Include="Request\AlipayWeiboEbppRechargeRequest.cs" />
+    <Compile Include="Request\AlipayWapUserAlipayinsideAuthapiRequest.cs" />
+    <Compile Include="Request\AlipayUserValidateRequest.cs" />
+    <Compile Include="Request\AlipayUserUserinfoShareRequest.cs" />
+    <Compile Include="Request\AlipayUserTradeSearchRequest.cs" />
+    <Compile Include="Request\AlipayUserTestRequest.cs" />
+    <Compile Include="Request\AlipayUserPartnerMobilessoRequest.cs" />
+    <Compile Include="Request\AlipayUserMobilessoTokenGetRequest.cs" />
+    <Compile Include="Request\AlipayUserMemberCardUpdateRequest.cs" />
+    <Compile Include="Request\AlipayUserLoginInfoRequest.cs" />
+    <Compile Include="Request\AlipayUserGetRequest.cs" />
+    <Compile Include="Request\AlipayUserFunditemGetRequest.cs" />
+    <Compile Include="Request\AlipayUserContractGetRequest.cs" />
+    <Compile Include="Request\AlipayUserBindingGetRequest.cs" />
+    <Compile Include="Request\AlipayUserAccountSearchRequest.cs" />
+    <Compile Include="Request\AlipayUserAccountGetRequest.cs" />
+    <Compile Include="Request\AlipayUserAccountFreezeGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserZminfoPairGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserTokenUpdateRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserTokenGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserStatusGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserStandardVerifyGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserScoreGfGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserScoreGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserRiskidentifyGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserRiskSearchRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserReportGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserRealnameregisteredGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserNontokenRiskidentifyGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserNontokenAdmissionGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserFileUploadRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserDatareceivedSendRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserCertGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserBlacklistSearchRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserBasicinfoVerifyGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserBasicinfoGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserAuthSendRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserAlipaycertGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustUserAdmissionGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustLldataGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustGsdataGetRequest.cs" />
+    <Compile Include="Request\AlipayTrustAruserRiskSearchRequest.cs" />
+    <Compile Include="Request\AlipayTransferThirdpartyBillCreateRequest.cs" />
+    <Compile Include="Request\AlipayTransferBankPayApplyRequest.cs" />
+    <Compile Include="Request\AlipayTradeRefundRequest.cs" />
+    <Compile Include="Request\AlipayTradeQueryRequest.cs" />
+    <Compile Include="Request\AlipayTradePrecreateRequest.cs" />
+    <Compile Include="Request\AlipayTradePayRequest.cs" />
+    <Compile Include="Request\AlipayTradeCancelRequest.cs" />
+    <Compile Include="Request\AlipayToolsFileUploadRequest.cs" />
+    <Compile Include="Request\AlipaySystemOauthTokenRequest.cs" />
+    <Compile Include="Request\AlipayStockPortfolioSingleAddRequest.cs" />
+    <Compile Include="Request\AlipayStockPortfolioAllGetRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeWifiUnconnectRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeWifiConnectRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeUserInfoGetRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeShopPublicUnbindRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeShopPublicBindRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeShopInfoUpdateRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeShopInfoGetRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeShopInfoDeleteRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeShopInfoAddRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeInstoreUserRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeDeviceInfoUpdateRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeDeviceInfoSearchRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeDeviceInfoGetRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeDeviceInfoDeleteRequest.cs" />
+    <Compile Include="Request\AlipaySiteprobeDeviceInfoAddRequest.cs" />
+    <Compile Include="Request\AlipaySecurityRiskDetectRequest.cs" />
+    <Compile Include="Request\AlipaySecurityInfoAnalysisRequest.cs" />
+    <Compile Include="Request\AlipaySamsungPucChargeRequest.cs" />
+    <Compile Include="Request\AlipaySamsungEbppRechargeRequest.cs" />
+    <Compile Include="Request\AlipayPointOrderGetRequest.cs" />
+    <Compile Include="Request\AlipayPointOrderAddRequest.cs" />
+    <Compile Include="Request\AlipayPointBudgetGetRequest.cs" />
+    <Compile Include="Request\AlipayPointBalanceGetRequest.cs" />
+    <Compile Include="Request\AlipayPlatformOpenidGetRequest.cs" />
+    <Compile Include="Request\AlipayPlatformDeveloperGetRequest.cs" />
+    <Compile Include="Request\AlipayPlatformAppGetRequest.cs" />
+    <Compile Include="Request\AlipayPlatformAppAddRequest.cs" />
+    <Compile Include="Request\AlipayPassVerifyQueryRequest.cs" />
+    <Compile Include="Request\AlipayPassTplUpdateRequest.cs" />
+    <Compile Include="Request\AlipayPassTplContentUpdateRequest.cs" />
+    <Compile Include="Request\AlipayPassTplContentAddRequest.cs" />
+    <Compile Include="Request\AlipayPassTplAddRequest.cs" />
+    <Compile Include="Request\AlipayPassSyncUpdateRequest.cs" />
+    <Compile Include="Request\AlipayPassSyncAddRequest.cs" />
+    <Compile Include="Request\AlipayPassFileAddRequest.cs" />
+    <Compile Include="Request\AlipayPassCodeVerifyRequest.cs" />
+    <Compile Include="Request\AlipayPassCodeAddRequest.cs" />
+    <Compile Include="Request\AlipayPaiProxyRedirectRequest.cs" />
+    <Compile Include="Request\AlipayPaiPartnerResultGetRequest.cs" />
+    <Compile Include="Request\AlipayOperatorMobileBindRequest.cs" />
+    <Compile Include="Request\AlipayMpointprodBenefitDetailGetRequest.cs" />
+    <Compile Include="Request\AlipayMobileUrlDeviceverifyAddRequest.cs" />
+    <Compile Include="Request\AlipayMobileUrlAutologinGetRequest.cs" />
+    <Compile Include="Request\AlipayMobileStdPublicMessageCustomSendRequest.cs" />
+    <Compile Include="Request\AlipayMobileStdPublicFollowListRequest.cs" />
+    <Compile Include="Request\AlipayMobileShakeUserQueryRequest.cs" />
+    <Compile Include="Request\AlipayMobileSecuinfosInformationReceiveRequest.cs" />
+    <Compile Include="Request\AlipayMobileRecommendGetRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicShortlinkCreateRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicQrcodeCreateRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessagespecifyPushRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessagebatchPushRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessageTotalSendRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessageSingleSendRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessagePushRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessageMatcherSendRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessageLabelSendRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessageGroupRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMessageCustomSendRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMenuUserUpdateRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMenuUserQueryRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMenuUpdateRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMenuQueryRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMenuGetRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMenuDeleteRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicMenuAddRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicLabelUserQueryRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicLabelUserDeleteRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicLabelUserAddRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicLabelUpdateRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicLabelQueryRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicLabelDeleteRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicLabelAddRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicGisGetRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicFollowListRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicFollowAddRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicContactFollowListRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicAuthGettokenRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicAppinfoUpdateRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicAccountlistGetRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicAccountResetRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicAccountQueryRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicAccountDeleteRequest.cs" />
+    <Compile Include="Request\AlipayMobilePublicAccountAddRequest.cs" />
+    <Compile Include="Request\AlipayMobileMovieActivityNotifyRequest.cs" />
+    <Compile Include="Request\AlipayMobileBeaconMessageSendRequest.cs" />
+    <Compile Include="Request\AlipayMobileBeaconDeviceQueryRequest.cs" />
+    <Compile Include="Request\AlipayMobileBeaconDeviceModifyRequest.cs" />
+    <Compile Include="Request\AlipayMobileBeaconDeviceDeleteRequest.cs" />
+    <Compile Include="Request\AlipayMobileBeaconDeviceAddRequest.cs" />
+    <Compile Include="Request\AlipayMicropayOrderUnfreezeRequest.cs" />
+    <Compile Include="Request\AlipayMicropayOrderGetRequest.cs" />
+    <Compile Include="Request\AlipayMicropayOrderFreezepayurlGetRequest.cs" />
+    <Compile Include="Request\AlipayMicropayOrderFreezeRequest.cs" />
+    <Compile Include="Request\AlipayMicropayOrderDirectPayRequest.cs" />
+    <Compile Include="Request\AlipayMicropayOrderConfirmpayurlGetRequest.cs" />
+    <Compile Include="Request\AlipayMerchantTicketUseRequest.cs" />
+    <Compile Include="Request\AlipayMerchantTicketQueryRequest.cs" />
+    <Compile Include="Request\AlipayMerchantTicketApplyRequest.cs" />
+    <Compile Include="Request\AlipayMemberCouponQuerylistRequest.cs" />
+    <Compile Include="Request\AlipayMemberCouponQuerydetailRequest.cs" />
+    <Compile Include="Request\AlipayMemberConsumeNotifyRequest.cs" />
+    <Compile Include="Request\AlipayMemberCardQueryRequest.cs" />
+    <Compile Include="Request\AlipayMemberCardOpenRequest.cs" />
+    <Compile Include="Request\AlipayMemberCardDeletecardRequest.cs" />
+    <Compile Include="Request\AlipayMdataTagGetRequest.cs" />
+    <Compile Include="Request\AlipayMappprodAccountBindingSyncRequest.cs" />
+    <Compile Include="Request\AlipayLifeassistantProdBillGetRequest.cs" />
+    <Compile Include="Request\AlipayGotoneTodoSearchRequest.cs" />
+    <Compile Include="Request\AlipayGotoneMessageSmsSendRequest.cs" />
+    <Compile Include="Request\AlipayGotoneMessageMailSendRequest.cs" />
+    <Compile Include="Request\AlipayGotoneMessageCourierSendRequest.cs" />
+    <Compile Include="Request\AlipayGotoneAckcodeVerifyRequest.cs" />
+    <Compile Include="Request\AlipayGotoneAckcodeSendRequest.cs" />
+    <Compile Include="Request\AlipayFlashsalesStockSyncUpdateRequest.cs" />
+    <Compile Include="Request\AlipayExscUserFirstsignGetRequest.cs" />
+    <Compile Include="Request\AlipayExscUserFirstfundinpourGetRequest.cs" />
+    <Compile Include="Request\AlipayExscUserCurrentsignGetRequest.cs" />
+    <Compile Include="Request\AlipayEvercallRechargeResultUpdateRequest.cs" />
+    <Compile Include="Request\AlipayEvercallContractSignUpdateRequest.cs" />
+    <Compile Include="Request\AlipayEvercallContractSignRequest.cs" />
+    <Compile Include="Request\AlipayEvercallContractCancelRequest.cs" />
+    <Compile Include="Request\AlipayEvercallAlertAddRequest.cs" />
+    <Compile Include="Request\AlipayEcardEduPublicBindRequest.cs" />
+    <Compile Include="Request\AlipayEcardEduDepositOrderAddRequest.cs" />
+    <Compile Include="Request\AlipayEcardEduCardGetRequest.cs" />
+    <Compile Include="Request\AlipayEcardEduBalanceGetRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodDrawndnRepaymentrecordQueryRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodDrawndnPaymentscheduleGetRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodDrawndnLendingrecordQueryRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodDrawndnFeerecordQueryRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodDrawndnDrawndnlistQueryRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodDrawndnContractGetRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodDataPutRequest.cs" />
+    <Compile Include="Request\AlipayEcapiprodCreditGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppSubscribeUploadRequest.cs" />
+    <Compile Include="Request\AlipayEbppSubscribeCheckcodeImportRequest.cs" />
+    <Compile Include="Request\AlipayEbppRechargeSaleproductGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppRechargeItemUpdateRequest.cs" />
+    <Compile Include="Request\AlipayEbppRechargeItemGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppProductSearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppPdeductSignCancelRequest.cs" />
+    <Compile Include="Request\AlipayEbppPdeductSignAddRequest.cs" />
+    <Compile Include="Request\AlipayEbppPdeductPayRequest.cs" />
+    <Compile Include="Request\AlipayEbppPdeductBillPayStatusRequest.cs" />
+    <Compile Include="Request\AlipayEbppOweBillUploadRequest.cs" />
+    <Compile Include="Request\AlipayEbppOweBillGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppNbillKeySearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppMerchantConfigGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppConfigProvinceSearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppConfigProductSearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppConfigCitySearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppConfigChargeinstSearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppBillSearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppBillPayurlGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppBillPayRequest.cs" />
+    <Compile Include="Request\AlipayEbppBillKeySearchRequest.cs" />
+    <Compile Include="Request\AlipayEbppBillGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppBillBatchPayurlGetRequest.cs" />
+    <Compile Include="Request\AlipayEbppBillAddRequest.cs" />
+    <Compile Include="Request\AlipayEbppAgreementCancelRequest.cs" />
+    <Compile Include="Request\AlipayDonateitemsGetRequest.cs" />
+    <Compile Include="Request\AlipayDiscoveryTaxiOrderConfirmRequest.cs" />
+    <Compile Include="Request\AlipayDatabizCoreUserLevelGetRequest.cs" />
+    <Compile Include="Request\AlipayDatabizCorePaymentAbilityUpdateRequest.cs" />
+    <Compile Include="Request\AlipayDatabizCorePaymentAbilityGetRequest.cs" />
+    <Compile Include="Request\AlipayDataBillDownloadurlGetRequest.cs" />
+    <Compile Include="Request\AlipayAssetAccountUnbindRequest.cs" />
+    <Compile Include="Request\AlipayAssetAccountGetRequest.cs" />
+    <Compile Include="Request\AlipayAssetAccountBindRequest.cs" />
+    <Compile Include="Request\AlipayAppTokenGetRequest.cs" />
+    <Compile Include="Request\AlipayAcquireRefundRequest.cs" />
+    <Compile Include="Request\AlipayAcquireQueryRequest.cs" />
+    <Compile Include="Request\AlipayAcquirePrecreateRequest.cs" />
+    <Compile Include="Request\AlipayAcquireCreateandpayRequest.cs" />
+    <Compile Include="Request\AlipayAcquireCloseRequest.cs" />
+    <Compile Include="Request\AlipayAcquireCancelRequest.cs" />
+    <Compile Include="Response\MonitorHeartbeatSynResponse.cs" />
+    <Compile Include="Response\AlipayZdatafrontDatatransferedSendResponse.cs" />
+    <Compile Include="Response\AlipayZdatafrontDatatransferedFileuploadResponse.cs" />
+    <Compile Include="Response\AlipayWeiboTokenGetResponse.cs" />
+    <Compile Include="Response\AlipayWeiboPucChargeResponse.cs" />
+    <Compile Include="Response\AlipayWeiboEbppRechargeResponse.cs" />
+    <Compile Include="Response\AlipayWapUserAlipayinsideAuthapiResponse.cs" />
+    <Compile Include="Response\AlipayUserValidateResponse.cs" />
+    <Compile Include="Response\AlipayUserUserinfoShareResponse.cs" />
+    <Compile Include="Response\AlipayUserTradeSearchResponse.cs" />
+    <Compile Include="Response\AlipayUserTestResponse.cs" />
+    <Compile Include="Response\AlipayUserPartnerMobilessoResponse.cs" />
+    <Compile Include="Response\AlipayUserMobilessoTokenGetResponse.cs" />
+    <Compile Include="Response\AlipayUserMemberCardUpdateResponse.cs" />
+    <Compile Include="Response\AlipayUserLoginInfoResponse.cs" />
+    <Compile Include="Response\AlipayUserGetResponse.cs" />
+    <Compile Include="Response\AlipayUserFunditemGetResponse.cs" />
+    <Compile Include="Response\AlipayUserContractGetResponse.cs" />
+    <Compile Include="Response\AlipayUserBindingGetResponse.cs" />
+    <Compile Include="Response\AlipayUserAccountSearchResponse.cs" />
+    <Compile Include="Response\AlipayUserAccountGetResponse.cs" />
+    <Compile Include="Response\AlipayUserAccountFreezeGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserZminfoPairGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserTokenUpdateResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserTokenGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserStatusGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserStandardVerifyGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserScoreGfGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserScoreGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserRiskidentifyGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserRiskSearchResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserReportGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserRealnameregisteredGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserNontokenRiskidentifyGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserNontokenAdmissionGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserFileUploadResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserDatareceivedSendResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserCertGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserBlacklistSearchResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserBasicinfoVerifyGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserBasicinfoGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserAuthSendResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserAlipaycertGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustUserAdmissionGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustLldataGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustGsdataGetResponse.cs" />
+    <Compile Include="Response\AlipayTrustAruserRiskSearchResponse.cs" />
+    <Compile Include="Response\AlipayTransferThirdpartyBillCreateResponse.cs" />
+    <Compile Include="Response\AlipayTransferBankPayApplyResponse.cs" />
+    <Compile Include="Response\AlipayTradeRefundResponse.cs" />
+    <Compile Include="Response\AlipayTradeQueryResponse.cs" />
+    <Compile Include="Response\AlipayTradePrecreateResponse.cs" />
+    <Compile Include="Response\AlipayTradePayResponse.cs" />
+    <Compile Include="Response\AlipayTradeCancelResponse.cs" />
+    <Compile Include="Response\AlipayToolsFileUploadResponse.cs" />
+    <Compile Include="Response\AlipaySystemOauthTokenResponse.cs" />
+    <Compile Include="Response\AlipayStockPortfolioSingleAddResponse.cs" />
+    <Compile Include="Response\AlipayStockPortfolioAllGetResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeWifiUnconnectResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeWifiConnectResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeUserInfoGetResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeShopPublicUnbindResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeShopPublicBindResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeShopInfoUpdateResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeShopInfoGetResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeShopInfoDeleteResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeShopInfoAddResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeInstoreUserResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeDeviceInfoUpdateResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeDeviceInfoSearchResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeDeviceInfoGetResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeDeviceInfoDeleteResponse.cs" />
+    <Compile Include="Response\AlipaySiteprobeDeviceInfoAddResponse.cs" />
+    <Compile Include="Response\AlipaySecurityRiskDetectResponse.cs" />
+    <Compile Include="Response\AlipaySecurityInfoAnalysisResponse.cs" />
+    <Compile Include="Response\AlipaySamsungPucChargeResponse.cs" />
+    <Compile Include="Response\AlipaySamsungEbppRechargeResponse.cs" />
+    <Compile Include="Response\AlipayPointOrderGetResponse.cs" />
+    <Compile Include="Response\AlipayPointOrderAddResponse.cs" />
+    <Compile Include="Response\AlipayPointBudgetGetResponse.cs" />
+    <Compile Include="Response\AlipayPointBalanceGetResponse.cs" />
+    <Compile Include="Response\AlipayPlatformOpenidGetResponse.cs" />
+    <Compile Include="Response\AlipayPlatformDeveloperGetResponse.cs" />
+    <Compile Include="Response\AlipayPlatformAppGetResponse.cs" />
+    <Compile Include="Response\AlipayPlatformAppAddResponse.cs" />
+    <Compile Include="Response\AlipayPassVerifyQueryResponse.cs" />
+    <Compile Include="Response\AlipayPassTplUpdateResponse.cs" />
+    <Compile Include="Response\AlipayPassTplContentUpdateResponse.cs" />
+    <Compile Include="Response\AlipayPassTplContentAddResponse.cs" />
+    <Compile Include="Response\AlipayPassTplAddResponse.cs" />
+    <Compile Include="Response\AlipayPassSyncUpdateResponse.cs" />
+    <Compile Include="Response\AlipayPassSyncAddResponse.cs" />
+    <Compile Include="Response\AlipayPassFileAddResponse.cs" />
+    <Compile Include="Response\AlipayPassCodeVerifyResponse.cs" />
+    <Compile Include="Response\AlipayPassCodeAddResponse.cs" />
+    <Compile Include="Response\AlipayPaiProxyRedirectResponse.cs" />
+    <Compile Include="Response\AlipayPaiPartnerResultGetResponse.cs" />
+    <Compile Include="Response\AlipayOperatorMobileBindResponse.cs" />
+    <Compile Include="Response\AlipayMpointprodBenefitDetailGetResponse.cs" />
+    <Compile Include="Response\AlipayMobileUrlDeviceverifyAddResponse.cs" />
+    <Compile Include="Response\AlipayMobileUrlAutologinGetResponse.cs" />
+    <Compile Include="Response\AlipayMobileStdPublicMessageCustomSendResponse.cs" />
+    <Compile Include="Response\AlipayMobileStdPublicFollowListResponse.cs" />
+    <Compile Include="Response\AlipayMobileShakeUserQueryResponse.cs" />
+    <Compile Include="Response\AlipayMobileSecuinfosInformationReceiveResponse.cs" />
+    <Compile Include="Response\AlipayMobileRecommendGetResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicShortlinkCreateResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicQrcodeCreateResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessagespecifyPushResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessagebatchPushResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessageTotalSendResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessageSingleSendResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessagePushResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessageMatcherSendResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessageLabelSendResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessageGroupResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMessageCustomSendResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMenuUserUpdateResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMenuUserQueryResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMenuUpdateResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMenuQueryResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMenuGetResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMenuDeleteResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicMenuAddResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicLabelUserQueryResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicLabelUserDeleteResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicLabelUserAddResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicLabelUpdateResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicLabelQueryResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicLabelDeleteResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicLabelAddResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicGisGetResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicFollowListResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicFollowAddResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicContactFollowListResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicAuthGettokenResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicAppinfoUpdateResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicAccountlistGetResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicAccountResetResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicAccountQueryResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicAccountDeleteResponse.cs" />
+    <Compile Include="Response\AlipayMobilePublicAccountAddResponse.cs" />
+    <Compile Include="Response\AlipayMobileMovieActivityNotifyResponse.cs" />
+    <Compile Include="Response\AlipayMobileBeaconMessageSendResponse.cs" />
+    <Compile Include="Response\AlipayMobileBeaconDeviceQueryResponse.cs" />
+    <Compile Include="Response\AlipayMobileBeaconDeviceModifyResponse.cs" />
+    <Compile Include="Response\AlipayMobileBeaconDeviceDeleteResponse.cs" />
+    <Compile Include="Response\AlipayMobileBeaconDeviceAddResponse.cs" />
+    <Compile Include="Response\AlipayMicropayOrderUnfreezeResponse.cs" />
+    <Compile Include="Response\AlipayMicropayOrderGetResponse.cs" />
+    <Compile Include="Response\AlipayMicropayOrderFreezepayurlGetResponse.cs" />
+    <Compile Include="Response\AlipayMicropayOrderFreezeResponse.cs" />
+    <Compile Include="Response\AlipayMicropayOrderDirectPayResponse.cs" />
+    <Compile Include="Response\AlipayMicropayOrderConfirmpayurlGetResponse.cs" />
+    <Compile Include="Response\AlipayMerchantTicketUseResponse.cs" />
+    <Compile Include="Response\AlipayMerchantTicketQueryResponse.cs" />
+    <Compile Include="Response\AlipayMerchantTicketApplyResponse.cs" />
+    <Compile Include="Response\AlipayMemberCouponQuerylistResponse.cs" />
+    <Compile Include="Response\AlipayMemberCouponQuerydetailResponse.cs" />
+    <Compile Include="Response\AlipayMemberConsumeNotifyResponse.cs" />
+    <Compile Include="Response\AlipayMemberCardQueryResponse.cs" />
+    <Compile Include="Response\AlipayMemberCardOpenResponse.cs" />
+    <Compile Include="Response\AlipayMemberCardDeletecardResponse.cs" />
+    <Compile Include="Response\AlipayMdataTagGetResponse.cs" />
+    <Compile Include="Response\AlipayMappprodAccountBindingSyncResponse.cs" />
+    <Compile Include="Response\AlipayLifeassistantProdBillGetResponse.cs" />
+    <Compile Include="Response\AlipayGotoneTodoSearchResponse.cs" />
+    <Compile Include="Response\AlipayGotoneMessageSmsSendResponse.cs" />
+    <Compile Include="Response\AlipayGotoneMessageMailSendResponse.cs" />
+    <Compile Include="Response\AlipayGotoneMessageCourierSendResponse.cs" />
+    <Compile Include="Response\AlipayGotoneAckcodeVerifyResponse.cs" />
+    <Compile Include="Response\AlipayGotoneAckcodeSendResponse.cs" />
+    <Compile Include="Response\AlipayFlashsalesStockSyncUpdateResponse.cs" />
+    <Compile Include="Response\AlipayExscUserFirstsignGetResponse.cs" />
+    <Compile Include="Response\AlipayExscUserFirstfundinpourGetResponse.cs" />
+    <Compile Include="Response\AlipayExscUserCurrentsignGetResponse.cs" />
+    <Compile Include="Response\AlipayEvercallRechargeResultUpdateResponse.cs" />
+    <Compile Include="Response\AlipayEvercallContractSignUpdateResponse.cs" />
+    <Compile Include="Response\AlipayEvercallContractSignResponse.cs" />
+    <Compile Include="Response\AlipayEvercallContractCancelResponse.cs" />
+    <Compile Include="Response\AlipayEvercallAlertAddResponse.cs" />
+    <Compile Include="Response\AlipayEcardEduPublicBindResponse.cs" />
+    <Compile Include="Response\AlipayEcardEduDepositOrderAddResponse.cs" />
+    <Compile Include="Response\AlipayEcardEduCardGetResponse.cs" />
+    <Compile Include="Response\AlipayEcardEduBalanceGetResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodDrawndnRepaymentrecordQueryResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodDrawndnPaymentscheduleGetResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodDrawndnLendingrecordQueryResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodDrawndnFeerecordQueryResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodDrawndnDrawndnlistQueryResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodDrawndnContractGetResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodDataPutResponse.cs" />
+    <Compile Include="Response\AlipayEcapiprodCreditGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppSubscribeUploadResponse.cs" />
+    <Compile Include="Response\AlipayEbppSubscribeCheckcodeImportResponse.cs" />
+    <Compile Include="Response\AlipayEbppRechargeSaleproductGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppRechargeItemUpdateResponse.cs" />
+    <Compile Include="Response\AlipayEbppRechargeItemGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppProductSearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppPdeductSignCancelResponse.cs" />
+    <Compile Include="Response\AlipayEbppPdeductSignAddResponse.cs" />
+    <Compile Include="Response\AlipayEbppPdeductPayResponse.cs" />
+    <Compile Include="Response\AlipayEbppPdeductBillPayStatusResponse.cs" />
+    <Compile Include="Response\AlipayEbppOweBillUploadResponse.cs" />
+    <Compile Include="Response\AlipayEbppOweBillGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppNbillKeySearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppMerchantConfigGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppConfigProvinceSearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppConfigProductSearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppConfigCitySearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppConfigChargeinstSearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppBillSearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppBillPayurlGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppBillPayResponse.cs" />
+    <Compile Include="Response\AlipayEbppBillKeySearchResponse.cs" />
+    <Compile Include="Response\AlipayEbppBillGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppBillBatchPayurlGetResponse.cs" />
+    <Compile Include="Response\AlipayEbppBillAddResponse.cs" />
+    <Compile Include="Response\AlipayEbppAgreementCancelResponse.cs" />
+    <Compile Include="Response\AlipayDonateitemsGetResponse.cs" />
+    <Compile Include="Response\AlipayDiscoveryTaxiOrderConfirmResponse.cs" />
+    <Compile Include="Response\AlipayDatabizCoreUserLevelGetResponse.cs" />
+    <Compile Include="Response\AlipayDatabizCorePaymentAbilityUpdateResponse.cs" />
+    <Compile Include="Response\AlipayDatabizCorePaymentAbilityGetResponse.cs" />
+    <Compile Include="Response\AlipayDataBillDownloadurlGetResponse.cs" />
+    <Compile Include="Response\AlipayAssetAccountUnbindResponse.cs" />
+    <Compile Include="Response\AlipayAssetAccountGetResponse.cs" />
+    <Compile Include="Response\AlipayAssetAccountBindResponse.cs" />
+    <Compile Include="Response\AlipayAppTokenGetResponse.cs" />
+    <Compile Include="Response\AlipayAcquireRefundResponse.cs" />
+    <Compile Include="Response\AlipayAcquireQueryResponse.cs" />
+    <Compile Include="Response\AlipayAcquirePrecreateResponse.cs" />
+    <Compile Include="Response\AlipayAcquireCreateandpayResponse.cs" />
+    <Compile Include="Response\AlipayAcquireCloseResponse.cs" />
+    <Compile Include="Response\AlipayAcquireCancelResponse.cs" />
+    <Compile Include="AopDictionary.cs" />
+    <Compile Include="AopException.cs" />
+    <Compile Include="AopObject.cs" />
+    <Compile Include="AopResponse.cs" />
+    <Compile Include="Test\PublicTest.cs" />
+    <Compile Include="Util\FileItem.cs" />
+    <Compile Include="Util\RSAUtil.cs" />
+    <Compile Include="Util\AopUtils.cs" />
+    <Compile Include="Util\WebUtils.cs" />
+    <Compile Include="Util\AlipaySignature.cs" />
+    <Compile Include="Util\RSACryptoServiceProviderExtension.cs" />
+    <Compile Include="Util\StringUtil.cs" />
+    <Compile Include="SignItem.cs" />
+    <Compile Include="AlipayConstants.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <WCFMetadata Include="Connected Services\" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\Shared\BaseModel\BaseModel.csproj">
+      <Project>{863566fa-af30-41ba-a5e4-6cd08588c5c2}</Project>
+      <Name>BaseModel</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 134 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/AlipayCore.cs

@@ -0,0 +1,134 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Security.Cryptography;
+using System.Text;
+using System.Web;
+
+namespace WayneCloud.PaymentProcessors.Alipay.FromSDK
+{
+    /// <summary>
+    /// 类名:Core
+    /// 功能:支付宝接口公用函数类
+    /// 详细:该类是请求、通知返回两个文件所调用的公用函数核心处理文件,不需要修改
+    /// 版本:3.4
+    /// 修改日期:2015-06-05
+    /// 说明:
+    /// 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
+    /// 该代码仅供学习和研究支付宝接口使用,只是提供一个参考。
+    /// </summary>
+    public class Core
+    {
+
+        public Core()
+        {
+        }
+
+        /// <summary>
+        /// 除去数组中的空值和签名参数并以字母a到z的顺序排序
+        /// </summary>
+        /// <param name="dicArrayPre">过滤前的参数组</param>
+        /// <returns>过滤后的参数组</returns>
+        public static Dictionary<string, string> FilterPara(SortedDictionary<string, string> dicArrayPre)
+        {
+            Dictionary<string, string> dicArray = new Dictionary<string, string>();
+            foreach (KeyValuePair<string, string> temp in dicArrayPre)
+            {
+                if (temp.Key.ToLower() != "sign" && temp.Key.ToLower()!="sign_type"  && temp.Value != "" && temp.Value != null)
+                {
+                    dicArray.Add(temp.Key, temp.Value);
+                }
+            }
+
+            return dicArray;
+        }
+
+        /// <summary>
+        /// 把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串
+        /// </summary>
+        /// <param name="sArray">需要拼接的数组</param>
+        /// <returns>拼接完成以后的字符串</returns>
+        public static string CreateLinkString(Dictionary<string, string> dicArray)
+        {
+            StringBuilder prestr = new StringBuilder();
+            foreach (KeyValuePair<string, string> temp in dicArray)
+            {
+                prestr.Append(temp.Key + "=" + temp.Value + "&");
+            }
+
+            //去掉最後一個&字符
+            int nLen = prestr.Length;
+            prestr.Remove(nLen-1,1);
+
+            return prestr.ToString();
+        }
+
+        /// <summary>
+        /// 把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串,并对参数值做urlencode
+        /// </summary>
+        /// <param name="sArray">需要拼接的数组</param>
+        /// <param name="code">字符编码</param>
+        /// <returns>拼接完成以后的字符串</returns>
+        public static string CreateLinkStringUrlencode(Dictionary<string, string> dicArray, Encoding code)
+        {
+            StringBuilder prestr = new StringBuilder();
+            foreach (KeyValuePair<string, string> temp in dicArray)
+            {
+                prestr.Append(temp.Key + "=" + HttpUtility.UrlEncode(temp.Value, code) + "&");
+            }
+
+            //去掉最後一個&字符
+            int nLen = prestr.Length;
+            prestr.Remove(nLen - 1, 1);
+
+            return prestr.ToString();
+        }
+
+        /// <summary>
+        /// 写日志,方便测试(看网站需求,也可以改成把记录存入数据库)
+        /// </summary>
+        /// <param name="sWord">要写入日志里的文本内容</param>
+        public static void LogResult(string sWord)
+        {
+            string strPath = HttpContext.Current.Server.MapPath("log");
+            strPath = strPath + "\\" + DateTime.Now.ToString().Replace(":", "") + ".txt";
+            StreamWriter fs = new StreamWriter(strPath, false, System.Text.Encoding.Default);
+            fs.Write(sWord);
+            fs.Close();
+        }
+
+        /// <summary>
+        /// 获取文件的md5摘要
+        /// </summary>
+        /// <param name="sFile">文件流</param>
+        /// <returns>MD5摘要结果</returns>
+        public static string GetAbstractToMD5(Stream sFile)
+        {
+            MD5 md5 = new MD5CryptoServiceProvider();
+            byte[] result = md5.ComputeHash(sFile);
+            StringBuilder sb = new StringBuilder(32);
+            for (int i = 0; i < result.Length; i++)
+            {
+                sb.Append(result[i].ToString("x").PadLeft(2, '0'));
+            }
+            return sb.ToString();
+        }
+
+        /// <summary>
+        /// 获取文件的md5摘要
+        /// </summary>
+        /// <param name="dataFile">文件流</param>
+        /// <returns>MD5摘要结果</returns>
+        public static string GetAbstractToMD5(byte[] dataFile)
+        {
+            MD5 md5 = new MD5CryptoServiceProvider();
+            byte[] result = md5.ComputeHash(dataFile);
+            StringBuilder sb = new StringBuilder(32);
+            for (int i = 0; i < result.Length; i++)
+            {
+                sb.Append(result[i].ToString("x").PadLeft(2, '0'));
+            }
+            return sb.ToString();
+        }
+    }
+}

+ 194 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/Alipaynotify.cs

@@ -0,0 +1,194 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Net;
+using System.Text;
+using Aop.Api.Util;
+using BaseModel.Models;
+
+namespace WayneCloud.PaymentProcessors.Alipay.FromSDK
+{
+    /// <summary>
+    /// 类名:Notify
+    /// 功能:支付宝通知处理类
+    /// 详细:处理支付宝各接口通知返回
+    /// 版本:3.3
+    /// 修改日期:2011-07-05
+    /// '说明:
+    /// 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
+    /// 该代码仅供学习和研究支付宝接口使用,只是提供一个参考。
+    /// 
+    /// //////////////////////注意/////////////////////////////
+    /// 调试通知返回时,可查看或改写log日志的写入TXT里的数据,来检查通知返回是否正常 
+    /// </summary>
+    public class Notify
+    {
+        #region 字段
+        private string _partner = "";               //合作身份者ID
+        private string _key = "";                   //商户的私钥
+        private string _charset = "";         //编码格式
+        private string _sign_type = "";             //签名方式
+
+        //支付宝消息验证地址
+        private string Https_veryfy_url = "";
+        #endregion
+
+
+        /// <summary>
+        /// 构造函数
+        /// 从配置文件中初始化变量
+        /// </summary>
+        /// <param name="inputPara">通知返回参数数组</param>
+        /// <param name="notify_id">通知验证ID</param>
+        public Notify()
+        {
+            //Abby
+            //初始化基础配置信息
+            //_charset = AliPayConfig.Instances("").charset.Trim().ToLower();
+            //_sign_type = AliPayConfig.Instances("").sign_type.Trim().ToUpper();
+            //_partner = AliPayConfig.Instances("").pid;
+            //Https_veryfy_url = AliPayConfig.Instances("").mapiUrl + "?service=notify_verify&";
+        }
+
+        /// <summary>
+        ///  验证消息是否是支付宝发出的合法消息
+        /// </summary>
+        /// <param name="inputPara">通知返回参数数组</param>
+        /// <param name="notify_id">通知验证ID</param>
+        /// <param name="sign">支付宝生成的签名结果</param>
+        /// <returns>验证结果</returns>
+        public bool Verify(SortedDictionary<string, string> inputPara, string notify_id, string sign, AliPayConfig config)
+        {
+            //获取返回时的签名验证结果
+            bool isSign = GetSignVeryfy(inputPara, sign, config);
+            //获取是否是支付宝服务器发来的请求的验证结果
+            string responseTxt = "true";
+            if (notify_id != null && notify_id != "") { responseTxt = GetResponseTxt(notify_id); }
+
+            //写日志记录(若要调试,请取消下面两行注释)
+            //string sWord = "responseTxt=" + responseTxt + "\n isSign=" + isSign.ToString() + "\n 返回回来的参数:" + GetPreSignStr(inputPara) + "\n ";
+            //Core.LogResult(sWord);
+
+            //判断responsetTxt是否为true,isSign是否为true
+            //responsetTxt的结果不是true,与服务器设置问题、合作身份者ID、notify_id一分钟失效有关
+            //isSign不是true,与安全校验码、请求时的参数格式(如:带自定义参数等)、编码格式有关
+            if (responseTxt == "true" && isSign)//验证成功
+            {
+                return true;
+            }
+            else//验证失败
+            {
+                return false;
+            }
+        }
+
+        /// <summary>
+        /// 获取待签名字符串(调试用)
+        /// </summary>
+        /// <param name="inputPara">通知返回参数数组</param>
+        /// <returns>待签名字符串</returns>
+        private string GetPreSignStr(SortedDictionary<string, string> inputPara)
+        {
+            Dictionary<string, string> sPara = new Dictionary<string, string>();
+
+            //过滤空值、sign与sign_type参数
+            sPara = Core.FilterPara(inputPara);
+
+            //获取待签名字符串
+            string preSignStr = Core.CreateLinkString(sPara);
+
+            return preSignStr;
+        }
+
+        /// <summary>
+        /// 获取返回时的签名验证结果
+        /// </summary>
+        /// <param name="inputPara">通知返回参数数组</param>
+        /// <param name="sign">对比的签名结果</param>
+        /// <returns>签名验证结果</returns>
+        private bool GetSignVeryfy(SortedDictionary<string, string> inputPara, string sign, AliPayConfig config)
+        {
+            Dictionary<string, string> sPara = new Dictionary<string, string>();
+
+            //过滤空值、sign与sign_type参数
+            sPara = Core.FilterPara(inputPara);
+            
+            //获取待签名字符串
+            string preSignStr = Core.CreateLinkString(sPara);
+
+            //获得签名验证结果
+            bool isSign = false;
+            if (sign != null && sign != "")
+            {
+                switch (_sign_type)
+                {
+                         //isSgin = AlipayMD5.Verify(preSignStr, sign, _key, charset);
+
+                    case "RSA":
+                         isSign = AlipaySignature.RSACheckContent(preSignStr, sign, config.alipay_public_key, _charset);
+                        break;
+
+                    default:
+                        break;
+                }
+            }
+
+            return isSign;
+        }
+
+
+
+
+
+        /// <summary>
+        /// 获取是否是支付宝服务器发来的请求的验证结果
+        /// </summary>
+        /// <param name="notify_id">通知验证ID</param>
+        /// <returns>验证结果</returns>
+        private string GetResponseTxt(string notify_id)
+        {
+            string veryfy_url = Https_veryfy_url + "partner=" + _partner + "&notify_id=" + notify_id;
+
+            //获取远程服务器ATN结果,验证是否是支付宝服务器发来的请求
+            string responseTxt = Get_Http(veryfy_url, 120000);
+
+            return responseTxt;
+        }
+
+        /// <summary>
+        /// 获取远程服务器ATN结果
+        /// </summary>
+        /// <param name="strUrl">指定URL路径地址</param>
+        /// <param name="timeout">超时时间设置</param>
+        /// <returns>服务器ATN结果</returns>
+        private string Get_Http(string strUrl, int timeout)
+        {
+            string strResult;
+            try
+            {
+                HttpWebRequest myReq = (HttpWebRequest)HttpWebRequest.Create(strUrl);
+                myReq.Timeout = timeout;
+                HttpWebResponse HttpWResp = (HttpWebResponse)myReq.GetResponse();
+                Stream myStream = HttpWResp.GetResponseStream();
+                StreamReader sr = new StreamReader(myStream, Encoding.Default);
+                StringBuilder strBuilder = new StringBuilder();
+                while (-1 != sr.Peek())
+                {
+                    strBuilder.Append(sr.ReadLine());
+                }
+
+                strResult = strBuilder.ToString();
+            }
+            catch (Exception exp)
+            {
+                strResult = "错误:" + exp.Message;
+            }
+
+            return strResult;
+        }
+
+
+
+
+    }
+}

+ 220 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/CodePay.cs

@@ -0,0 +1,220 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using Aop.Api.Request;
+using Aop.Api.Response;
+using BaseModel.Models;
+using WayneCloud.PaymentProcessors.Alipay.FromSDK;
+
+namespace Aop.Api.Business
+{
+    public class CodePay
+    {
+        private static volatile IAopClient client;
+
+        private static volatile Dictionary<AliPayConfig, IAopClient> clients = new Dictionary<AliPayConfig, IAopClient>();
+        public static IAopClient Clients(AliPayConfig config)
+        {
+            //if (config != null)
+            //{
+                //if (client == null)
+                //{
+                //    client = new DefaultAopClient(config.serverUrl,
+                //                                         config.appId,
+                //                                         config.merchant_private_key,
+                //                                         "json",
+                //                                         config.version,
+                //                                         config.sign_type,
+                //                                         config.alipay_public_key,
+                //                                         config.charset);
+                //}
+                //return client;
+
+                if (!clients.ContainsKey(config))
+                {
+                    var newClient = new DefaultAopClient(config.serverUrl,
+                                                                     config.appId,
+                                                                     config.merchant_private_key,
+                                                                     "json",
+                                                                     config.version,
+                                                                     config.sign_type,
+                                                                     config.alipay_public_key,
+                                                                     config.charset);
+                    clients.Add(config, newClient);
+                    return newClient;
+                }
+                else
+                {
+                    return clients[config];
+                }
+        }
+
+        public static async Task<AopResponse> Run(ElectronicOrderModel order)
+        {
+            //set the default trade_status to PAYERROR
+            order.TradeStatus = TradeStatus.PAYERROR;
+
+            //线上联调时,请输入真实的外部订单号。
+            string out_trade_no = order.BillNumber;
+
+            //线上联调时,请输入真实的条码。
+            string auth_code = order.AuthCode; //扫码枪扫描到的用户手机钱包中的付款条码
+            string total_amount = order.NetAmount.ToString();
+
+            StringBuilder sb = new StringBuilder();
+
+            sb.Append("{\"out_trade_no\":\"" + out_trade_no + "\",");
+            sb.Append("\"scene\":\"bar_code\",");
+            sb.Append("\"auth_code\":\"" + auth_code + "\",");
+            sb.Append("\"total_amount\":\"" + total_amount + "\",\"discountable_amount\":\"0.00\",");
+            sb.Append("\"subject\":\"" + order.Title + "\",\"body\":\"empty_body\",");
+            sb.Append("\"goods_detail\":[");
+            var goodsString = (order.FuelOrderDetails.Count == 0) ? "" : 
+                (order.FuelOrderDetails.Select(s => "{\"goods_id\":\"" + s.FuelProductId
+                + "\",\"goods_name\":\"" + s.FuelProductName
+                + "\",\"goods_category\":\"" + s.Category
+                + "\",\"price\":\"" + s.Price
+                + "\",\"quantity\":\"" + s.Qualtity + "\"}").Aggregate((acc, n) => acc + "," + n));
+            sb.Append(goodsString);
+            sb.Append("],");
+            sb.Append("\"operator_id\":\"" + (order.OperatorId ?? "") + "\",\"store_id\":\"" + order.SiteId + "\",\"terminal_id\":\"" + (order.TerminalId ?? "") + "\",");
+
+            string expire_time = System.DateTime.Now.AddHours(1).ToString("yyyy-MM-dd HH:mm:ss");
+            sb.Append("\"time_expire\":\"" + expire_time + "\"}");
+
+            var payResponse = await Pay(sb.ToString(), (AliPayConfig)order.Config);
+
+            //支付成功的情形
+            if (payResponse != null && payResponse.Code == ResultCode.SUCCESS)
+            {
+                order.TradeStatus = TradeStatus.SUCCESS;
+                return payResponse;
+            }
+            
+            //如果返回结果是操作失败,或者返回结果不是操作处理中,就直接返回支付失败
+            if (payResponse == null || payResponse.Code == ResultCode.FAIL || payResponse.Code != ResultCode.INRROCESS)
+            {
+                return payResponse;
+            }
+
+            StringBuilder sb1 = new StringBuilder();
+            sb1.Append("{\"out_trade_no\":\"" + order.BillNumber + "\"}");
+
+            //以下是返回操作处理中的情形, 需要进行轮询
+            AlipayTradeQueryResponse queryResponse = await LoopQuery(sb1.ToString(), (AliPayConfig)order.Config);   //用订单号trade_no进行轮询也是可以的。
+            if (queryResponse !=null)
+            {
+                if (string.Compare(queryResponse.Code, ResultCode.SUCCESS, false) == 0)
+                {
+                    if (queryResponse.TradeStatus == "TRADE_FINISHED"
+                        || queryResponse.TradeStatus == "TRADE_SUCCESS")
+                    {
+                        order.TradeStatus = TradeStatus.SUCCESS;
+                    }
+                    else if (queryResponse.TradeStatus == "TRADE_CLOSED")
+                    {
+                        order.TradeStatus = TradeStatus.CLOSED;
+                    }
+                    return queryResponse;
+                }
+            }
+
+            return payResponse;
+        }
+
+        private static async Task<AlipayTradePayResponse> Pay(string biz_content, AliPayConfig config)
+        {
+            AlipayTradePayRequest payRequst = new AlipayTradePayRequest();
+            payRequst.BizContent = biz_content;
+            //payRequst
+            Dictionary<string, string> paramsDict = (Dictionary<string, string>)payRequst.GetParameters();
+            //new DefaultAopClient(Config.serverUrl, Config.appId, Config.merchant_private_key);
+
+            AlipayTradePayResponse payResponse = await Clients(config).Execute(payRequst);
+            return payResponse;
+        }
+
+        public static async Task<AlipayTradeCancelResponse> Cancel(string billNumber, AliPayConfig config)
+        {
+            StringBuilder sb = new StringBuilder();
+            sb.Append("{\"out_trade_no\":\"" + billNumber + "\"}");
+
+            string biz_content = sb.ToString();
+            AlipayTradeCancelRequest cancelRequest = new AlipayTradeCancelRequest();
+            cancelRequest.BizContent = biz_content;
+            AlipayTradeCancelResponse cancelResponse = await Clients(config).Execute(cancelRequest);
+
+            if (null != cancelResponse)
+            {
+                if (cancelResponse.Code == ResultCode.FAIL && cancelResponse.RetryFlag == "Y")
+                {
+                   cancelResponse = await CancelOrderRetry(biz_content, config);
+                }
+            }
+            return cancelResponse;
+        }
+
+        private static async Task<AlipayTradeCancelResponse> CancelOrderRetry(object o, AliPayConfig config)
+        {
+            int retryCount = 10;
+
+            AlipayTradeCancelResponse cancelResponse = null;
+            for (int i = 0; i < retryCount; ++i)
+            {
+
+                Thread.Sleep(5000);
+                AlipayTradeCancelRequest cancelRequest = new AlipayTradeCancelRequest();
+                cancelRequest.BizContent = o.ToString();
+                // Dictionary<string, string> paramsDict = (Dictionary<string, string>)cancelRequest.GetParameters();
+                cancelResponse = await Clients(config).Execute(cancelRequest);
+
+                if (null != cancelResponse)
+                {
+                    if (cancelResponse.Code == ResultCode.FAIL)
+                    {
+                        //if (cancelResponse.Body.Contains("\"retry_flag\":\"N\""))		
+                        if (cancelResponse.RetryFlag == "N")
+                        {
+                            break;
+                        }
+                    }
+                }
+
+                if (i == retryCount - 1)
+                {
+                    // 处理到最后一次,还是未撤销成功,需要在商户数据库中对此单最标记,人工介入处理
+                }
+
+            }
+            return cancelResponse;
+        }
+
+        private static async Task<AlipayTradeQueryResponse> LoopQuery(string biz_content, AliPayConfig config)
+        {
+
+            AlipayTradeQueryRequest payRequst = new AlipayTradeQueryRequest();
+            payRequst.BizContent = biz_content;
+
+            Dictionary<string, string> paramsDict = (Dictionary<string, string>)payRequst.GetParameters();
+            AlipayTradeQueryResponse payResponse = null;
+
+            for (int i = 1; i <= 6; i++)
+            {
+                Thread.Sleep(5000);
+                payResponse = await Clients(config).Execute(payRequst);
+                if (string.Compare(payResponse.Code, ResultCode.SUCCESS, false) == 0)
+                {
+                    if (payResponse.TradeStatus == "TRADE_FINISHED"
+                        || payResponse.TradeStatus == "TRADE_SUCCESS"
+                        || payResponse.TradeStatus == "TRADE_CLOSED")
+                        return payResponse;
+                }
+
+            }
+            return payResponse;
+        }
+    }
+}

+ 181 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/Config.cs

@@ -0,0 +1,181 @@
+//using System.Linq;
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Reflection;
+using System.Web;
+using System.Xml.Serialization;
+
+/// <summary>
+/// Summary description for Config
+/// </summary>
+namespace WayneCloud.PaymentProcessors.Alipay.FromSDK
+{
+    //public sealed class AliPayConfig
+    //{
+    //    public string alipay_public_key { get; set; }
+    //    //这里要配置没有经过PKCS8转换的原始私钥
+    //    public string merchant_private_key { get; set; }
+    //    public string merchant_public_key { get; set; }
+    //    public string appId { get; set; }
+    //    public string serverUrl { get; set; }
+    //    public string mapiUrl { get; set; }
+    //    public string pid { get; set; }
+    //    public string charset { get; set; }
+    //    public string sign_type { get; set; }
+    //    public string version { get; set; }
+
+
+    //    private const string CONFIG_PATH = @"\AliPaymentProcessor\Alipay\Config\";
+    //    private const string CONFIG_FILE = @"\AliPayConfig.xml";
+    //    private const string CERT_PATH = @"\AliPaymentProcessor\Alipay\Pems\";
+    //    private static volatile AliPayConfig instance = null;
+    //    private static volatile Dictionary<string, AliPayConfig> instances = new Dictionary<string, AliPayConfig>();
+    //    private static object syncRoot = new Object();
+
+    //    //public static AliPayConfig Instance
+    //    //{
+    //    //    get
+    //    //    {
+    //    //        if (instance == null)
+    //    //        {
+    //    //            lock (syncRoot)
+    //    //            {
+    //    //                if (instance == null)
+    //    //                    instance = new AliPayConfig(0);
+    //    //            }
+    //    //        }
+
+    //    //        return instance;
+    //    //    }
+    //    //}
+    //    public static AliPayConfig Instances(string buId)
+    //    {
+    //        if (string.IsNullOrEmpty(buId))
+    //        {
+    //            if (instance == null)
+    //            {
+    //                lock (syncRoot)
+    //                {
+    //                    if (instance == null)
+    //                        instance = new AliPayConfig(0);
+    //                }
+    //            }
+    //            return instance;
+    //        }
+    //        if (!instances.ContainsKey(buId))
+    //        {
+    //            var newConfig = new AliPayConfig(buId);
+    //            instances.Add(buId, newConfig);
+    //            return newConfig;
+    //        }
+    //        else
+    //        {
+    //            return instances[buId];
+    //        }
+    //    }
+    //    // used for serilization and deserilization
+    //    private AliPayConfig()
+    //    { }
+
+    //    // used for singleton instance
+    //    private AliPayConfig(int dummy)
+    //    {
+    //        var executionFolder = AppDomain.CurrentDomain.BaseDirectory;
+    //        var cfgFilePath = executionFolder + CONFIG_PATH + CONFIG_FILE;
+
+    //        XmlSerializer deserializer = new XmlSerializer(typeof(AliPayConfig));
+    //        TextReader reader = new StreamReader(cfgFilePath);
+    //        object obj = deserializer.Deserialize(reader);
+    //        AliPayConfig XmlData = (AliPayConfig)obj;
+    //        reader.Close();
+
+    //        alipay_public_key = executionFolder + CERT_PATH + XmlData.alipay_public_key;
+    //        merchant_private_key = executionFolder + CERT_PATH + XmlData.merchant_private_key;
+    //        merchant_public_key = executionFolder + CERT_PATH + XmlData.merchant_public_key;
+    //        appId = XmlData.appId;
+    //        serverUrl = XmlData.serverUrl;
+    //        mapiUrl = XmlData.mapiUrl;
+    //        pid = XmlData.pid;
+    //        charset = XmlData.charset;
+    //        sign_type = XmlData.sign_type;
+    //        version = XmlData.version;
+    //    }
+
+    //    private AliPayConfig(string currentBuId)
+    //    {
+    //        var executionFolder = AppDomain.CurrentDomain.BaseDirectory + currentBuId;
+    //        DirectoryInfo directory = new DirectoryInfo(executionFolder);
+    //        if (!directory.Exists)
+    //        {
+    //            directory.Create();
+    //        }
+    //        var cfgFilePath = executionFolder + CONFIG_PATH + CONFIG_FILE;
+
+    //        XmlSerializer deserializer = new XmlSerializer(typeof(AliPayConfig));
+    //        TextReader reader = new StreamReader(cfgFilePath);
+    //        object obj = deserializer.Deserialize(reader);
+    //        AliPayConfig XmlData = (AliPayConfig)obj;
+    //        reader.Close();
+
+    //        alipay_public_key = executionFolder + CERT_PATH + XmlData.alipay_public_key;
+    //        merchant_private_key = executionFolder + CERT_PATH + XmlData.merchant_private_key;
+    //        merchant_public_key = executionFolder + CERT_PATH + XmlData.merchant_public_key;
+    //        appId = XmlData.appId;
+    //        serverUrl = XmlData.serverUrl;
+    //        mapiUrl = XmlData.mapiUrl;
+    //        pid = XmlData.pid;
+    //        charset = XmlData.charset;
+    //        sign_type = XmlData.sign_type;
+    //        version = XmlData.version;
+    //    }
+
+    //    //// this method is only for test
+    //    //public AliPayConfig(string dummy)
+    //    //{ }
+    //    //// this method is only for test
+    //    //public void SerializeMyself(string targetFolder)
+    //    //{
+    //    //    var filePath = targetFolder + CONFIG_FILE;
+
+    //    //    XmlSerializer serializer = new XmlSerializer(typeof(AliPayConfig));
+    //    //    using (TextWriter writer = new StreamWriter(filePath))
+    //    //    {
+    //    //        serializer.Serialize(writer, this);
+    //    //    }
+    //    //}
+
+
+    //    //public static string getMerchantPublicKeyStr()
+    //    //{
+    //    //    StreamReader sr = new StreamReader(merchant_public_key);
+    //    //    string pubkey = sr.ReadToEnd();
+    //    //    sr.Close();
+    //    //    if (pubkey != null)
+    //    //    {
+    //    //        pubkey = pubkey.Replace("-----BEGIN PUBLIC KEY-----", "");
+    //    //        pubkey = pubkey.Replace("-----END PUBLIC KEY-----", "");
+    //    //        pubkey = pubkey.Replace("\r", "");
+    //    //        pubkey = pubkey.Replace("\n", "");
+    //    //    }
+    //    //    return pubkey;
+    //    //}
+
+    //    //public static string getMerchantPriveteKeyStr()
+    //    //{
+    //    //    StreamReader sr = new StreamReader(merchant_private_key);
+    //    //    string pubkey = sr.ReadToEnd();
+    //    //    sr.Close();
+    //    //    if (pubkey != null)
+    //    //    {
+    //    //        pubkey = pubkey.Replace("-----BEGIN PUBLIC KEY-----", "");
+    //    //        pubkey = pubkey.Replace("-----END PUBLIC KEY-----", "");
+    //    //        pubkey = pubkey.Replace("\r", "");
+    //    //        pubkey = pubkey.Replace("\n", "");
+    //    //    }
+    //    //    return pubkey;
+    //    //}
+
+    //}
+}

+ 59 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/F2FBiz.cs

@@ -0,0 +1,59 @@
+using Aop.Api;
+using BaseModel.Models;
+using System.Collections.Generic;
+
+namespace WayneCloud.PaymentProcessors.Alipay.FromSDK
+{
+    /// <summary>
+    /// F2FBiz 的摘要说明
+    /// </summary>
+    public class F2FBiz
+    {
+        private F2FBiz() { }
+
+        private static volatile IAopClient client;
+
+        private static volatile Dictionary<AliPayConfig, IAopClient> clients = new Dictionary<AliPayConfig, IAopClient>();
+        public static IAopClient Clients(AliPayConfig config)
+        {
+            if (config != null)
+            {
+                if (client == null)
+                {
+                    client = new DefaultAopClient(config.serverUrl,
+                                                         config.appId,
+                                                         config.merchant_private_key,
+                                                         "json",
+                                                         config.version,
+                                                         config.sign_type,
+                                                         config.alipay_public_key,
+                                                         config.charset);
+                }
+                return client;
+            }
+            if (config != null)
+            {
+                var newClient = new DefaultAopClient(config.serverUrl,
+                                                                 config.appId,
+                                                                 config.merchant_private_key,
+                                                                 "json",
+                                                                 config.version,
+                                                                 config.sign_type,
+                                                                 config.alipay_public_key,
+                                                                 config.charset);
+                clients.Add(config, newClient);
+                return newClient;
+            }
+            else
+            {
+                return clients[config];
+            }
+        }
+
+        public static IAopClient GetAopClient(AliPayConfig config)
+        {
+            return Clients(config);
+        }
+
+    }
+}

+ 86 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/LogHelper.cs

@@ -0,0 +1,86 @@
+//using System.Linq;
+using System;
+using System.IO;
+using System.Text;
+
+
+namespace WayneCloud.PaymentProcessors.Alipay.FromSDK
+{
+    /// <summary>
+    /// LogHelper 的摘要说明
+    /// </summary>
+    public class LogHelper
+    {
+
+
+        string logFile = "";
+        /// <summary>
+        /// 不带参数的构造函数
+        /// </summary>
+        public LogHelper()
+        {
+        }
+        /// <summary>
+        /// 带参数的构造函数
+        /// </summary>
+        /// <param name="logFile"></param>
+        public LogHelper(string logFile)
+        {
+            this.logFile = logFile;
+            if (!File.Exists(logFile))
+            {
+                FileStream fs = File.Create(logFile);
+                fs.Close();
+            }
+        }
+        /// <summary>
+        /// 追加一条信息
+        /// </summary>
+        /// <param name="text"></param>
+        public void Write(string text)
+        {
+            using (StreamWriter sw = new StreamWriter(logFile, true, Encoding.UTF8))
+            {
+                sw.Write(DateTime.Now.ToString("[yyyy-MM-dd HH:mm:ss] ") + text);
+            }
+        }
+        /// <summary>
+        /// 追加一条信息
+        /// </summary>
+        /// <param name="logFile"></param>
+        /// <param name="text"></param>
+        public void Write(string logFile, string text)
+        {
+            using (StreamWriter sw = new StreamWriter(logFile, true, Encoding.UTF8))
+            {
+                sw.Write(DateTime.Now.ToString("[yyyy-MM-dd HH:mm:ss] ") + text);
+            }
+        }
+        /// <summary>
+        /// 追加一行信息
+        /// </summary>
+        /// <param name="text"></param>
+        public void WriteLine(string text)
+        {
+            text += "\r\n";
+            using (StreamWriter sw = new StreamWriter(logFile, true, Encoding.UTF8))
+            {
+                sw.Write(DateTime.Now.ToString("[yyyy-MM-dd HH:mm:ss] ") + text);
+            }
+        }
+        /// <summary>
+        /// 追加一行信息
+        /// </summary>
+        /// <param name="logFile"></param>
+        /// <param name="text"></param>
+        public void WriteLine(string logFile, string text)
+        {
+            text += "\r\n";
+            using (StreamWriter sw = new StreamWriter(logFile, true, Encoding.UTF8))
+            {
+                sw.Write(DateTime.Now.ToString("[yyyy-MM-dd HH:mm:ss] ") + text);
+            }
+        }
+
+    }
+}

+ 75 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/OrderQuery.cs

@@ -0,0 +1,75 @@
+using System.Collections.Generic;
+using System.Text;
+using System.Threading.Tasks;
+using Aop.Api.Request;
+using Aop.Api.Response;
+using BaseModel.Models;
+using WayneCloud.PaymentProcessors.Alipay.FromSDK;
+
+namespace Aop.Api.Business
+{
+    public class OrderQuery
+    {
+        private static volatile IAopClient client;
+
+        private static volatile Dictionary<AliPayConfig, IAopClient> clients = new Dictionary<AliPayConfig, IAopClient>();
+        public static IAopClient Clients(AliPayConfig config)
+        {
+            if (config != null)
+            {
+                if (client == null)
+                {
+                    client = new DefaultAopClient(config.serverUrl,
+                                                         config.appId,
+                                                         config.merchant_private_key,
+                                                         "json",
+                                                         config.version,
+                                                         config.sign_type,
+                                                         config.alipay_public_key,
+                                                         config.charset);
+                }
+                return client;
+            }
+            if (clients.ContainsKey(config) != null)
+            {
+                var newClient = new DefaultAopClient(config.serverUrl,
+                                                                 config.appId,
+                                                                 config.merchant_private_key,
+                                                                 "json",
+                                                                 config.version,
+                                                                 config.sign_type,
+                                                                 config.alipay_public_key,
+                                                                 config.charset);
+                clients.Add(config, newClient);
+                return newClient;
+            }
+            else
+            {
+                return clients[config];
+            }
+        }
+
+        public static async Task<AopResponse> Run(ElectronicOrderModel order)
+        {
+            StringBuilder sb = new StringBuilder();
+            sb.Append("{\"out_trade_no\":\"" + order.BillNumber + "\"}");
+
+            var payRequst = new AlipayTradeQueryRequest {BizContent = sb.ToString()};
+            AlipayTradeQueryResponse queryResponse = await Clients((AliPayConfig)order.Config).Execute(payRequst);
+
+            if (string.Compare(queryResponse.Code, ResultCode.SUCCESS, false) == 0)
+            {
+                if (queryResponse.TradeStatus == "TRADE_FINISHED"
+                    || queryResponse.TradeStatus == "TRADE_SUCCESS")
+                {
+                    order.TradeStatus = TradeStatus.SUCCESS;
+                }
+                else if (queryResponse.TradeStatus == "TRADE_CLOSED")
+                {
+                    order.TradeStatus = TradeStatus.CLOSED;
+                }
+            }
+            return queryResponse;
+        }
+    }
+}

+ 11 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/PayResultEnum.cs

@@ -0,0 +1,11 @@
+//using System.Linq;
+
+namespace WayneCloud.PaymentProcessors.Alipay.FromSDK
+{
+    public class ResultCode
+    {
+        public const string SUCCESS = "10000";
+        public const string INRROCESS = "10003";
+        public const string FAIL = "40004";
+    }
+}

+ 89 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Business/Refund.cs

@@ -0,0 +1,89 @@
+using Aop.Api.Request;
+using Aop.Api.Response;
+using BaseModel.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using WayneCloud.PaymentProcessors.Alipay.FromSDK;
+
+namespace Aop.Api.Business
+{
+    public class Refund
+    {
+        private static volatile IAopClient client;
+
+        private static volatile Dictionary<AliPayConfig, IAopClient> clients = new Dictionary<AliPayConfig, IAopClient>();
+        public static IAopClient Clients(AliPayConfig config)
+        {
+            if (config != null)
+            {
+                if (client == null)
+                {
+                    client = new DefaultAopClient(config.serverUrl,
+                                                         config.appId,
+                                                         config.merchant_private_key,
+                                                         "json",
+                                                         config.version,
+                                                         config.sign_type,
+                                                         config.alipay_public_key,
+                                                         config.charset);
+                }
+                return client;
+            }
+            if (clients.ContainsKey(config) != null)
+            {
+                var newClient = new DefaultAopClient(config.serverUrl,
+                                                                 config.appId,
+                                                                 config.merchant_private_key,
+                                                                 "json",
+                                                                 config.version,
+                                                                 config.sign_type,
+                                                                 config.alipay_public_key,
+                                                                 config.charset);
+                clients.Add(config, newClient);
+                return newClient;
+            }
+            else
+            {
+                return clients[config];
+            }
+        }
+
+        public static async Task<AopResponse> Run(ElectronicOrderModel order)
+        {
+            //set the default trade_status to PAYERROR
+            order.TradeStatus = TradeStatus.PAYERROR;
+
+            string out_trade_no = order.BillNumber;
+            string refund_amount = order.NetAmount.ToString();
+            string out_request_no = out_trade_no + DateTime.Now.ToString();
+
+            StringBuilder sb = new StringBuilder();
+            sb.Append("{\"out_trade_no\":\"" + out_trade_no + "\",");
+            sb.Append("\"refund_amount\":\"" + refund_amount + "\",");
+            sb.Append("\"out_request_no\":\"" + out_request_no + "\",");
+            sb.Append("\"operator_id\":\"" + (order.OperatorId ?? "") + "\",\"store_id\":\"" + order.SiteId + "\",\"terminal_id\":\"" + (order.TerminalId ?? "") + "\"}");
+            
+            var refundResponse = await RequestRefund(sb.ToString(), (AliPayConfig)order.Config);
+
+            //支付成功的情形
+            if (refundResponse != null && refundResponse.Code == ResultCode.SUCCESS)
+            {
+                order.TradeStatus = TradeStatus.SUCCESS;
+            }
+            
+            return refundResponse;
+        }
+
+        private static async Task<AlipayTradeRefundResponse> RequestRefund(string biz_content, AliPayConfig config)
+        {
+            AlipayTradeRefundRequest refundRequst = new AlipayTradeRefundRequest();
+            refundRequst.BizContent = biz_content;
+
+            AlipayTradeRefundResponse refundResponse = await Clients(config).Execute(refundRequst);
+            return refundResponse;
+        }
+    }
+}

+ 242 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/DefaultAopClient.cs

@@ -0,0 +1,242 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Aop.Api.Parser;
+using Aop.Api.Request;
+using Aop.Api.Util;
+
+namespace Aop.Api
+{
+    /// <summary>
+    /// AOP客户端。
+    /// </summary>
+    public class DefaultAopClient : IAopClient
+    {
+        public const string APP_ID = "app_id";
+        public const string FORMAT = "format";
+        public const string METHOD = "method";
+        public const string TIMESTAMP = "timestamp";
+        public const string VERSION = "version";
+        public const string SIGN_TYPE = "sign_type";
+        public const string ACCESS_TOKEN = "auth_token";
+        public const string SIGN = "sign";
+        public const string TERMINAL_TYPE = "terminal_type";
+        public const string TERMINAL_INFO = "terminal_info";
+        public const string PROD_CODE = "prod_code";
+        public const string NOTIFY_URL = "notify_url";
+        public const string CHARSET = "charset";
+
+        private string version;
+        private string format;
+        private string serverUrl;
+        private string appId;
+        private string privateKeyPem;
+        private string signType = "RSA";
+        private string charset;
+        private string alipayPublicKey;
+
+        private WebUtils webUtils;
+
+        //public string PrivateKeyPem
+        //{
+        //    get { return privateKeyPem; }
+        //    set { privateKeyPem = value; }
+        //}
+
+        //public string AlipayPublicKey
+        //{
+        //    get { return alipayPublicKey; }
+        //    set { alipayPublicKey = value; }
+        //}
+
+        public string Version
+        {
+            get { return version != null ? version : "1.0"; }
+            set { version = value; }
+        }
+
+        public string Format
+        {
+            get { return format != null ? format : "json"; }
+            set { format = value; }
+        }
+
+        public string AppId
+        {
+            get { return appId; }
+            set { appId = value; }
+        }
+
+        #region DefaultAopClient Constructors
+
+        public DefaultAopClient(string serverUrl, string appId, string privateKeyPem)
+        {
+            this.appId = appId;
+            this.privateKeyPem = privateKeyPem;
+            this.serverUrl = serverUrl;
+            this.webUtils = new WebUtils();
+        }
+
+        public DefaultAopClient(string serverUrl, string appId, string privateKeyPem, string format)
+        {
+            this.appId = appId;
+            this.privateKeyPem = privateKeyPem;
+            this.serverUrl = serverUrl;
+            this.format = format;
+            this.webUtils = new WebUtils();
+        }
+
+        public DefaultAopClient(string serverUrl, string appId, string privateKeyPem, string format, string charset)
+            : this(serverUrl, appId, privateKeyPem, format)
+        {
+            this.charset = charset;
+        }
+
+        public DefaultAopClient(string serverUrl, string appId, string privateKeyPem, string format, string version, string signType)
+            : this(serverUrl, appId, privateKeyPem)
+        {
+            this.format = format;
+            this.version = version;
+            this.signType = signType;
+        }
+
+        public DefaultAopClient(string serverUrl, string appId, string privateKeyPem, string format, string version, string signType, string alipayPulicKey)
+            : this(serverUrl, appId, privateKeyPem, format, version, signType)
+        {
+            this.alipayPublicKey = alipayPulicKey;
+        }
+
+        public DefaultAopClient(string serverUrl, string appId, string privateKeyPem, string format, string version, string signType, string alipayPulicKey, string charset)
+            : this(serverUrl, appId, privateKeyPem, format, version, signType, alipayPulicKey)
+        {
+            this.charset = charset;
+        }
+
+        public void SetTimeout(int timeout)
+        {
+            webUtils.Timeout = timeout;
+        }
+
+        #endregion
+
+        #region IAopClient Members
+
+        public async Task<T> Execute<T>(IAopRequest<T> request) where T : AopResponse
+        {
+            return await Execute<T>(request, null);
+        }
+
+        public async Task<T> Execute<T>(IAopRequest<T> request, string accessToken) where T : AopResponse
+        {
+            if (string.IsNullOrEmpty(this.charset))
+            {
+                this.charset = "utf-8";
+            }
+
+            string apiVersion = null;
+
+            if (!string.IsNullOrEmpty(request.GetApiVersion()))
+            {
+                apiVersion = request.GetApiVersion();
+            }
+            else
+            {
+                apiVersion = Version;
+            }
+
+            // 添加协议级请求参数
+            AopDictionary txtParams = new AopDictionary(request.GetParameters());
+            txtParams.Add(METHOD, request.GetApiName());
+            txtParams.Add(VERSION, apiVersion);
+            txtParams.Add(APP_ID, appId);
+            txtParams.Add(FORMAT, format);
+            txtParams.Add(TIMESTAMP, DateTime.Now);
+            txtParams.Add(ACCESS_TOKEN, accessToken);
+            txtParams.Add(SIGN_TYPE, signType);
+            txtParams.Add(TERMINAL_TYPE, request.GetTerminalType());
+            txtParams.Add(TERMINAL_INFO, request.GetTerminalInfo());
+            txtParams.Add(PROD_CODE, request.GetProdCode());
+            txtParams.Add(NOTIFY_URL, request.GetNotifyUrl());
+            txtParams.Add(CHARSET, charset);
+
+            // 添加签名参数
+            txtParams.Add(SIGN, AopUtils.SignAopRequest(txtParams, privateKeyPem, charset));
+
+
+
+            // 是否需要上传文件
+            string body;
+
+
+            if (request is IAopUploadRequest<T>)
+            {
+                IAopUploadRequest<T> uRequest = (IAopUploadRequest<T>)request;
+                IDictionary<string, FileItem> fileParams = AopUtils.CleanupDictionary(uRequest.GetFileParameters());
+                body = await webUtils.DoPost(this.serverUrl + "?" + CHARSET + "=" + this.charset, txtParams, fileParams, this.charset);
+            }
+            else
+            {
+                body = await webUtils.DoPost(this.serverUrl + "?" + CHARSET + "=" + this.charset, txtParams, this.charset);
+            }
+
+            T rsp = null;
+            IAopParser<T> parser = null;
+            if ("xml".Equals(format))
+            {
+                parser = new AopXmlParser<T>();
+                rsp = parser.Parse(body, charset);
+            }
+            else
+            {
+                parser = new AopJsonParser<T>();
+                rsp = parser.Parse(body, charset);
+            }
+
+            CheckResponseSign(request, rsp, parser, alipayPublicKey, this.charset);
+
+            return rsp;
+        }
+
+        public static void CheckResponseSign<T>(IAopRequest<T> request, T tRsp, IAopParser<T> parser, string alipayPublicKey, string charset) where T : AopResponse
+        {
+            if (string.IsNullOrEmpty(alipayPublicKey) || string.IsNullOrEmpty(charset))
+            {
+                return;
+            }
+
+            SignItem signItem = parser.GetSignItem(request, tRsp);
+            if (signItem == null)
+            {
+                throw new AopException("sign check fail: Body is Empty!");
+            }
+
+            if (!tRsp.IsError ||
+                (tRsp.IsError && !string.IsNullOrEmpty(signItem.Sign)))
+            {
+                bool rsaCheckContent = AlipaySignature.RSACheckContent(signItem.SignSourceDate, signItem.Sign, alipayPublicKey, charset);
+                if (!rsaCheckContent)
+                {
+                    if (!string.IsNullOrEmpty(signItem.SignSourceDate) && signItem.SignSourceDate.Contains("\\/"))
+                    {
+                        string srouceData = signItem.SignSourceDate.Replace("\\/", "/");
+                        bool jsonCheck = AlipaySignature.RSACheckContent(srouceData, signItem.Sign, alipayPublicKey, charset);
+                        if (!jsonCheck)
+                        {
+                            throw new AopException(
+                                "sign check fail: check Sign and Data Fail JSON also");
+                        }
+                    }
+                    else
+                    {
+                        throw new AopException(
+                                    "sign check fail: check Sign and Data Fail!");
+                    }
+                }
+
+            }
+        }
+
+        #endregion
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AccountFreeze.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AccountFreeze Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AccountFreeze : AopObject
+    {
+        /// <summary>
+        /// 冻结金额
+        /// </summary>
+        [XmlElement("freeze_amount")]
+        public string FreezeAmount { get; set; }
+
+        /// <summary>
+        /// 冻结类型名称
+        /// </summary>
+        [XmlElement("freeze_name")]
+        public string FreezeName { get; set; }
+
+        /// <summary>
+        /// 冻结类型值
+        /// </summary>
+        [XmlElement("freeze_type")]
+        public string FreezeType { get; set; }
+    }
+}

+ 78 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AccountRecord.cs

@@ -0,0 +1,78 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AccountRecord Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AccountRecord : AopObject
+    {
+        /// <summary>
+        /// 支付宝订单号
+        /// </summary>
+        [XmlElement("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 当时账户的余额
+        /// </summary>
+        [XmlElement("balance")]
+        public string Balance { get; set; }
+
+        /// <summary>
+        /// 业务类型
+        /// </summary>
+        [XmlElement("business_type")]
+        public string BusinessType { get; set; }
+
+        /// <summary>
+        /// 创建时间
+        /// </summary>
+        [XmlElement("create_time")]
+        public string CreateTime { get; set; }
+
+        /// <summary>
+        /// 收入金额
+        /// </summary>
+        [XmlElement("in_amount")]
+        public string InAmount { get; set; }
+
+        /// <summary>
+        /// 账务备注说明
+        /// </summary>
+        [XmlElement("memo")]
+        public string Memo { get; set; }
+
+        /// <summary>
+        /// 商户订单号
+        /// </summary>
+        [XmlElement("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 对方支付宝账户ID
+        /// </summary>
+        [XmlElement("opt_user_id")]
+        public string OptUserId { get; set; }
+
+        /// <summary>
+        /// 支出金额
+        /// </summary>
+        [XmlElement("out_amount")]
+        public string OutAmount { get; set; }
+
+        /// <summary>
+        /// 本方支付宝账户ID
+        /// </summary>
+        [XmlElement("self_user_id")]
+        public string SelfUserId { get; set; }
+
+        /// <summary>
+        /// 账务类型
+        /// </summary>
+        [XmlElement("type")]
+        public string Type { get; set; }
+    }
+}

+ 54 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrust.cs

@@ -0,0 +1,54 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrust Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrust : AopObject
+    {
+        /// <summary>
+        /// 是否存在于阿里信用黑名单中
+        /// </summary>
+        [XmlElement("black")]
+        public bool Black { get; set; }
+
+        /// <summary>
+        /// 如果在黑名单中, 记录被列入黑名单的日期
+        /// </summary>
+        [XmlElement("date")]
+        public string Date { get; set; }
+
+        /// <summary>
+        /// 被查用户的身份证号
+        /// </summary>
+        [XmlElement("id_card")]
+        public string IdCard { get; set; }
+
+        /// <summary>
+        /// 被查用户的姓名
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 是否需要再次发起查询
+        /// </summary>
+        [XmlElement("re_query")]
+        public bool ReQuery { get; set; }
+
+        /// <summary>
+        /// 如果在黑名单中, 记录被列入黑名单的原因
+        /// </summary>
+        [XmlElement("reason")]
+        public string Reason { get; set; }
+
+        /// <summary>
+        /// 黑名单来自于哪家机构
+        /// </summary>
+        [XmlElement("source")]
+        public string Source { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustAlipayCert.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustAlipayCert Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustAlipayCert : AopObject
+    {
+        /// <summary>
+        /// 用户出生日期
+        /// </summary>
+        [XmlElement("birthday")]
+        public string Birthday { get; set; }
+
+        /// <summary>
+        /// 点击支付宝实名认证图标之后的跳转链接
+        /// </summary>
+        [XmlElement("forward_url")]
+        public string ForwardUrl { get; set; }
+
+        /// <summary>
+        /// 用户性别(M/F)
+        /// </summary>
+        [XmlElement("gender")]
+        public string Gender { get; set; }
+
+        /// <summary>
+        /// 支付宝实名认证图标的链接地址
+        /// </summary>
+        [XmlElement("icon_url")]
+        public string IconUrl { get; set; }
+
+        /// <summary>
+        /// 当账户为支付宝实名认证时,取值为"T";否则为"F".
+        /// </summary>
+        [XmlElement("is_certified")]
+        public string IsCertified { get; set; }
+
+        /// <summary>
+        /// 用户姓名
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+    }
+}

+ 42 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustBasicInfo.cs

@@ -0,0 +1,42 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustBasicInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustBasicInfo : AopObject
+    {
+        /// <summary>
+        /// 用户出生日期
+        /// </summary>
+        [XmlElement("birthday")]
+        public string Birthday { get; set; }
+
+        /// <summary>
+        /// 用户性别(M/F)
+        /// </summary>
+        [XmlElement("gender")]
+        public string Gender { get; set; }
+
+        /// <summary>
+        /// 是否通过芝麻认证:T是  F否
+        /// </summary>
+        [XmlElement("is_certified")]
+        public string IsCertified { get; set; }
+
+        /// <summary>
+        /// 当用户未通过芝麻认证时给出的原因提示
+        /// </summary>
+        [XmlElement("message")]
+        public string Message { get; set; }
+
+        /// <summary>
+        /// 用户姓名
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+    }
+}

+ 42 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustCert.cs

@@ -0,0 +1,42 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustCert Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustCert : AopObject
+    {
+        /// <summary>
+        /// 点击信用认证图标之后的跳转链接
+        /// </summary>
+        [XmlElement("forward_url")]
+        public string ForwardUrl { get; set; }
+
+        /// <summary>
+        /// 通过信用认证的图标链接
+        /// </summary>
+        [XmlElement("icon_url")]
+        public string IconUrl { get; set; }
+
+        /// <summary>
+        /// 当通过信用认证时,取值为"T";否则为"F".
+        /// </summary>
+        [XmlElement("is_certified")]
+        public string IsCertified { get; set; }
+
+        /// <summary>
+        /// 芝麻认证等级,取值为1,2,3
+        /// </summary>
+        [XmlElement("level")]
+        public string Level { get; set; }
+
+        /// <summary>
+        /// 当用户未通过芝麻认证时给出的原因提示
+        /// </summary>
+        [XmlElement("message")]
+        public string Message { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRealNameRegistration.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustRealNameRegistration Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustRealNameRegistration : AopObject
+    {
+        /// <summary>
+        /// 用户出生日期
+        /// </summary>
+        [XmlElement("birthday")]
+        public string Birthday { get; set; }
+
+        /// <summary>
+        /// 点击实名制logo跳转链接
+        /// </summary>
+        [XmlElement("forward_url")]
+        public string ForwardUrl { get; set; }
+
+        /// <summary>
+        /// 用户性别(M:男性/F:女性)
+        /// </summary>
+        [XmlElement("gender")]
+        public string Gender { get; set; }
+
+        /// <summary>
+        /// 实名制logo
+        /// </summary>
+        [XmlElement("icon_url")]
+        public string IconUrl { get; set; }
+
+        /// <summary>
+        /// 用户姓名
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 当账户为实名制注册时,取值为"T";否则为"F".
+        /// </summary>
+        [XmlElement("real_name_registered")]
+        public string RealNameRegistered { get; set; }
+    }
+}

+ 120 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRiskARUser.cs

@@ -0,0 +1,120 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustRiskARUser Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustRiskARUser : AopObject
+    {
+        /// <summary>
+        /// 担保方式
+        /// </summary>
+        [XmlElement("assure_type")]
+        public string AssureType { get; set; }
+
+        /// <summary>
+        /// 加入黑名单原因
+        /// </summary>
+        [XmlElement("black_reason")]
+        public string BlackReason { get; set; }
+
+        /// <summary>
+        /// 加入黑名单时间
+        /// </summary>
+        [XmlElement("create_time_string")]
+        public string CreateTimeString { get; set; }
+
+        /// <summary>
+        /// 现住址
+        /// </summary>
+        [XmlElement("current_place")]
+        public string CurrentPlace { get; set; }
+
+        /// <summary>
+        /// 借款人姓名
+        /// </summary>
+        [XmlElement("customer_name")]
+        public string CustomerName { get; set; }
+
+        /// <summary>
+        /// 电子邮件
+        /// </summary>
+        [XmlElement("email")]
+        public string Email { get; set; }
+
+        /// <summary>
+        /// 是否在安融风险名单
+        /// </summary>
+        [XmlElement("is_black")]
+        public bool IsBlack { get; set; }
+
+        /// <summary>
+        /// 最后一次逾期日期
+        /// </summary>
+        [XmlElement("lastoverdate")]
+        public string Lastoverdate { get; set; }
+
+        /// <summary>
+        /// 借款地点
+        /// </summary>
+        [XmlElement("loan_address")]
+        public string LoanAddress { get; set; }
+
+        /// <summary>
+        /// 借款开始日期
+        /// </summary>
+        [XmlElement("loan_start_date")]
+        public string LoanStartDate { get; set; }
+
+        /// <summary>
+        /// 借款类型
+        /// </summary>
+        [XmlElement("loan_type")]
+        public string LoanType { get; set; }
+
+        /// <summary>
+        /// 最长逾期天数
+        /// </summary>
+        [XmlElement("max_days")]
+        public string MaxDays { get; set; }
+
+        /// <summary>
+        /// 户籍地址
+        /// </summary>
+        [XmlElement("native_place")]
+        public string NativePlace { get; set; }
+
+        /// <summary>
+        /// 逾期期数
+        /// </summary>
+        [XmlElement("over_count")]
+        public string OverCount { get; set; }
+
+        /// <summary>
+        /// 借款人身份证号
+        /// </summary>
+        [XmlElement("paper_number")]
+        public string PaperNumber { get; set; }
+
+        /// <summary>
+        /// 黑名单来源
+        /// </summary>
+        [XmlElement("source_organ")]
+        public string SourceOrgan { get; set; }
+
+        /// <summary>
+        /// 欠款总额
+        /// </summary>
+        [XmlElement("sum_money")]
+        public string SumMoney { get; set; }
+
+        /// <summary>
+        /// 电话
+        /// </summary>
+        [XmlElement("telephone")]
+        public string Telephone { get; set; }
+    }
+}

+ 32 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRiskIdentify.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustRiskIdentify Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustRiskIdentify : AopObject
+    {
+        /// <summary>
+        /// 芝麻信用风险名单详情列表
+        /// </summary>
+        [XmlArray("details")]
+        [XmlArrayItem("zhima_risk_detail")]
+        public List<ZhimaRiskDetail> Details { get; set; }
+
+        /// <summary>
+        /// 当有风险时,为"T";无风险识别是为"F"
+        /// </summary>
+        [XmlElement("is_risk")]
+        public string IsRisk { get; set; }
+
+        /// <summary>
+        /// 已废弃
+        /// </summary>
+        [XmlElement("risk_tag")]
+        public string RiskTag { get; set; }
+    }
+}

+ 36 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustRiskUser.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustRiskUser Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustRiskUser : AopObject
+    {
+        /// <summary>
+        /// 如果在风险名单中,记录被列入风险名单的日期;否则为空
+        /// </summary>
+        [XmlElement("date")]
+        public string Date { get; set; }
+
+        /// <summary>
+        /// 如果在风险名单中,记录被列入风险名单的原因;否则为空
+        /// </summary>
+        [XmlElement("reason")]
+        public string Reason { get; set; }
+
+        /// <summary>
+        /// 是否在风险名单库中的标识
+        /// </summary>
+        [XmlElement("risk")]
+        public bool Risk { get; set; }
+
+        /// <summary>
+        /// 值始终为"阿里小贷"
+        /// </summary>
+        [XmlElement("source")]
+        public string Source { get; set; }
+    }
+}

+ 18 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AliTrustScore.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AliTrustScore Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliTrustScore : AopObject
+    {
+        /// <summary>
+        /// 芝麻分
+        /// </summary>
+        [XmlElement("score")]
+        public long Score { get; set; }
+    }
+}

+ 36 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayAccount.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AlipayAccount Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayAccount : AopObject
+    {
+        /// <summary>
+        /// 支付宝用户ID
+        /// </summary>
+        [XmlElement("alipay_user_id")]
+        public string AlipayUserId { get; set; }
+
+        /// <summary>
+        /// 可用余额
+        /// </summary>
+        [XmlElement("available_amount")]
+        public string AvailableAmount { get; set; }
+
+        /// <summary>
+        /// 不可用余额
+        /// </summary>
+        [XmlElement("freeze_amount")]
+        public string FreezeAmount { get; set; }
+
+        /// <summary>
+        /// 余额总额
+        /// </summary>
+        [XmlElement("total_amount")]
+        public string TotalAmount { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayContract.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AlipayContract Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayContract : AopObject
+    {
+        /// <summary>
+        /// 支付宝用户ID
+        /// </summary>
+        [XmlElement("alipay_user_id")]
+        public string AlipayUserId { get; set; }
+
+        /// <summary>
+        /// 订购的应用名称,有效时间。
+        /// </summary>
+        [XmlElement("contract_content")]
+        public string ContractContent { get; set; }
+
+        /// <summary>
+        /// 订购的失效时间
+        /// </summary>
+        [XmlElement("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 订购URL。在sign返回false时返回应用的订购地址,可以引导用户订购。
+        /// </summary>
+        [XmlElement("page_url")]
+        public string PageUrl { get; set; }
+
+        /// <summary>
+        /// 订购的生效时间
+        /// </summary>
+        [XmlElement("start_time")]
+        public string StartTime { get; set; }
+
+        /// <summary>
+        /// 是否订购的标识。true:代表已订购。
+        /// </summary>
+        [XmlElement("subscribe")]
+        public bool Subscribe { get; set; }
+    }
+}

+ 54 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayUserDetail.cs

@@ -0,0 +1,54 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AlipayUserDetail Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayUserDetail : AopObject
+    {
+        /// <summary>
+        /// 支付宝用户userId
+        /// </summary>
+        [XmlElement("alipay_user_id")]
+        public string AlipayUserId { get; set; }
+
+        /// <summary>
+        /// 是否通过实名认证
+        /// </summary>
+        [XmlElement("certified")]
+        public bool Certified { get; set; }
+
+        /// <summary>
+        /// 支付宝登录号
+        /// </summary>
+        [XmlElement("logon_id")]
+        public string LogonId { get; set; }
+
+        /// <summary>
+        /// 真实姓名
+        /// </summary>
+        [XmlElement("real_name")]
+        public string RealName { get; set; }
+
+        /// <summary>
+        /// 性别。可选值:m(男),f(女)
+        /// </summary>
+        [XmlElement("sex")]
+        public string Sex { get; set; }
+
+        /// <summary>
+        /// 用户状态。可选:normal(正常), supervise (监管),delete(注销)
+        /// </summary>
+        [XmlElement("user_status")]
+        public string UserStatus { get; set; }
+
+        /// <summary>
+        /// 用户类型。可选:personal(个人),company(公司)
+        /// </summary>
+        [XmlElement("user_type")]
+        public string UserType { get; set; }
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AlipayUserLevelInfo.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AlipayUserLevelInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayUserLevelInfo : AopObject
+    {
+        /// <summary>
+        /// 支付宝用户登陆账号;邮箱优先,手机号次之
+        /// </summary>
+        [XmlElement("login_id")]
+        public string LoginId { get; set; }
+
+        /// <summary>
+        /// 支付宝用户ID
+        /// </summary>
+        [XmlElement("user_id")]
+        public string UserId { get; set; }
+
+        /// <summary>
+        /// 用户等级:可选5、4、3、2、1、0;等级5最高,1最低,0标示无法判断
+        /// </summary>
+        [XmlElement("user_level")]
+        public string UserLevel { get; set; }
+    }
+}

+ 24 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AreaInfo.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AreaInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AreaInfo : AopObject
+    {
+        /// <summary>
+        /// 城市
+        /// </summary>
+        [XmlElement("city")]
+        public string City { get; set; }
+
+        /// <summary>
+        /// 省份
+        /// </summary>
+        [XmlElement("province")]
+        public string Province { get; set; }
+    }
+}

+ 42 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/AssetAccountResult.cs

@@ -0,0 +1,42 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// AssetAccountResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AssetAccountResult : AopObject
+    {
+        /// <summary>
+        /// 用户的支付宝账号对应的支付宝唯一用户标识,不可变更。
+        /// </summary>
+        [XmlElement("alipay_user_id")]
+        public string AlipayUserId { get; set; }
+
+        /// <summary>
+        /// 账户绑定关系唯一标识
+        /// </summary>
+        [XmlElement("consumer_id")]
+        public string ConsumerId { get; set; }
+
+        /// <summary>
+        /// 使用该app提供用户信息的商户,可以和app相同。
+        /// </summary>
+        [XmlElement("provider_id")]
+        public string ProviderId { get; set; }
+
+        /// <summary>
+        /// 用户在商户网站的会员标识。商户需确保其唯一性,不可变更。
+        /// </summary>
+        [XmlElement("provider_user_id")]
+        public string ProviderUserId { get; set; }
+
+        /// <summary>
+        /// 用户在商户网站的会员名(登录号或昵称)。
+        /// </summary>
+        [XmlElement("provider_user_name")]
+        public string ProviderUserName { get; set; }
+    }
+}

+ 114 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BankPayApplyResult.cs

@@ -0,0 +1,114 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// BankPayApplyResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class BankPayApplyResult : AopObject
+    {
+        /// <summary>
+        /// 支付宝账户类型对应的id。如email、手机等
+        /// </summary>
+        [XmlElement("alipay_account_id")]
+        public string AlipayAccountId { get; set; }
+
+        /// <summary>
+        /// 支付宝账户类型  ALIPAY_LOGON_ID:支付宝账户登录名  ALIPAY_USER_ID:支付宝账户userId
+        /// </summary>
+        [XmlElement("alipay_account_type")]
+        public string AlipayAccountType { get; set; }
+
+        /// <summary>
+        /// 支付宝转账订单号
+        /// </summary>
+        [XmlElement("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 转账金额,单位为分
+        /// </summary>
+        [XmlElement("amount")]
+        public long Amount { get; set; }
+
+        /// <summary>
+        /// 收到转账申请时间。精确到秒,格式为:yyyy-MM-dd HH:mm:ss。
+        /// </summary>
+        [XmlElement("apply_time")]
+        public string ApplyTime { get; set; }
+
+        /// <summary>
+        /// 银行订单号
+        /// </summary>
+        [XmlElement("bank_order_no")]
+        public string BankOrderNo { get; set; }
+
+        /// <summary>
+        /// 业务订单号
+        /// </summary>
+        [XmlElement("biz_order_no")]
+        public string BizOrderNo { get; set; }
+
+        /// <summary>
+        /// 业务类型
+        /// </summary>
+        [XmlElement("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 转账渠道请求参数描述。如网银包括网银提交地址、网银提交方式、网银提交具体参数。参数以&分隔。
+        /// </summary>
+        [XmlElement("channel_desc")]
+        public string ChannelDesc { get; set; }
+
+        /// <summary>
+        /// 转账备注信息。
+        /// </summary>
+        [XmlElement("memo")]
+        public string Memo { get; set; }
+
+        /// <summary>
+        /// 订单状态描述  P:处理中  S:成功  F:失败
+        /// </summary>
+        [XmlElement("order_status")]
+        public string OrderStatus { get; set; }
+
+        /// <summary>
+        /// 付款方卡账户类型  CP:对公  PI:对私
+        /// </summary>
+        [XmlElement("payer_card_account_type")]
+        public string PayerCardAccountType { get; set; }
+
+        /// <summary>
+        /// 机构用户卡id标示,填写卡id类型对应的值。如email、手机等
+        /// </summary>
+        [XmlElement("payer_card_id")]
+        public string PayerCardId { get; set; }
+
+        /// <summary>
+        /// 付款方卡id标示类型  BANK_ID:银行用户uid  BANK_CARD_NO:银行卡号
+        /// </summary>
+        [XmlElement("payer_card_id_type")]
+        public string PayerCardIdType { get; set; }
+
+        /// <summary>
+        /// 付款方卡账户类型  DC:借记卡  CC:贷记卡
+        /// </summary>
+        [XmlElement("payer_card_type")]
+        public string PayerCardType { get; set; }
+
+        /// <summary>
+        /// 机构简称,由支付宝定义  CMBC:民生银行
+        /// </summary>
+        [XmlElement("payer_inst_id")]
+        public string PayerInstId { get; set; }
+
+        /// <summary>
+        /// 转账完成时间。精确到秒,格式为:yyyy-MM-dd HH:mm:ss。转账处理中该字段为空
+        /// </summary>
+        [XmlElement("success_time")]
+        public string SuccessTime { get; set; }
+    }
+}

+ 62 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BatchFundItemAOPModel.cs

@@ -0,0 +1,62 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// BatchFundItemAOPModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class BatchFundItemAOPModel : AopObject
+    {
+        /// <summary>
+        /// 批次号
+        /// </summary>
+        [XmlElement("batch_no")]
+        public long BatchNo { get; set; }
+
+        /// <summary>
+        /// 退款到银行卡处理中的总金额
+        /// </summary>
+        [XmlElement("dback_refundtobank_processing_batch_amount")]
+        public string DbackRefundtobankProcessingBatchAmount { get; set; }
+
+        /// <summary>
+        /// 退款到银行卡成功的总金额
+        /// </summary>
+        [XmlElement("dback_refundtobank_success_batch_amount")]
+        public string DbackRefundtobankSuccessBatchAmount { get; set; }
+
+        /// <summary>
+        /// 资金明细列表
+        /// </summary>
+        [XmlArray("fund_item_list")]
+        [XmlArrayItem("fund_item_a_o_p_model")]
+        public List<FundItemAOPModel> FundItemList { get; set; }
+
+        /// <summary>
+        /// 批次创建时间
+        /// </summary>
+        [XmlElement("gmt_biz_create_date")]
+        public string GmtBizCreateDate { get; set; }
+
+        /// <summary>
+        /// 资金单ID
+        /// </summary>
+        [XmlElement("order_id")]
+        public string OrderId { get; set; }
+
+        /// <summary>
+        /// 总金额
+        /// </summary>
+        [XmlElement("total_amount")]
+        public string TotalAmount { get; set; }
+
+        /// <summary>
+        /// 包含服务费的总金额
+        /// </summary>
+        [XmlElement("total_amount_with_service_fee")]
+        public string TotalAmountWithServiceFee { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BeaconDeviceInfo.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// BeaconDeviceInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class BeaconDeviceInfo : AopObject
+    {
+        /// <summary>
+        /// 设备类型
+        /// </summary>
+        [XmlElement("actiontype")]
+        public string Actiontype { get; set; }
+
+        /// <summary>
+        /// 设备是否可用
+        /// </summary>
+        [XmlElement("inuse")]
+        public bool Inuse { get; set; }
+
+        /// <summary>
+        /// 设备说明
+        /// </summary>
+        [XmlElement("remark")]
+        public string Remark { get; set; }
+
+        /// <summary>
+        /// 设备序列号
+        /// </summary>
+        [XmlElement("sn")]
+        public string Sn { get; set; }
+
+        /// <summary>
+        /// 蓝牙设备关联的模板信息
+        /// </summary>
+        [XmlElement("template")]
+        public BeaconTemplate Template { get; set; }
+
+        /// <summary>
+        /// 设备ID
+        /// </summary>
+        [XmlElement("uuid")]
+        public string Uuid { get; set; }
+    }
+}

+ 24 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BeaconTemplate.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// BeaconTemplate Data Structure.
+    /// </summary>
+    [Serializable]
+    public class BeaconTemplate : AopObject
+    {
+        /// <summary>
+        /// 模板参数信息
+        /// </summary>
+        [XmlElement("context")]
+        public string Context { get; set; }
+
+        /// <summary>
+        /// 模板ID
+        /// </summary>
+        [XmlElement("templateid")]
+        public string Templateid { get; set; }
+    }
+}

+ 60 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/BenefitInfo.cs

@@ -0,0 +1,60 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// BenefitInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class BenefitInfo : AopObject
+    {
+        /// <summary>
+        /// 权益信息id
+        /// </summary>
+        [XmlElement("benefit_info_id")]
+        public string BenefitInfoId { get; set; }
+
+        /// <summary>
+        /// 权益名称
+        /// </summary>
+        [XmlElement("benefit_name")]
+        public string BenefitName { get; set; }
+
+        /// <summary>
+        /// 权益中文名称
+        /// </summary>
+        [XmlElement("benefit_name_cn")]
+        public string BenefitNameCn { get; set; }
+
+        /// <summary>
+        /// 权益类型(会员等级: MemberGrade)
+        /// </summary>
+        [XmlElement("benefit_type")]
+        public string BenefitType { get; set; }
+
+        /// <summary>
+        /// 权益发放时间
+        /// </summary>
+        [XmlElement("dispatch_dt")]
+        public string DispatchDt { get; set; }
+
+        /// <summary>
+        /// 权益失效时间
+        /// </summary>
+        [XmlElement("end_dt")]
+        public string EndDt { get; set; }
+
+        /// <summary>
+        /// 权益生效时间
+        /// </summary>
+        [XmlElement("start_dt")]
+        public string StartDt { get; set; }
+
+        /// <summary>
+        /// 权益当前状态       * 待生效:WAIT  * 生效:VALID  * 失效:INVALID
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+    }
+}

+ 36 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ChargeInstMode.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ChargeInstMode Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ChargeInstMode : AopObject
+    {
+        /// <summary>
+        /// 机构简称(英文名称)
+        /// </summary>
+        [XmlElement("charge_inst")]
+        public string ChargeInst { get; set; }
+
+        /// <summary>
+        /// 机构中文名称
+        /// </summary>
+        [XmlElement("charge_inst_name")]
+        public string ChargeInstName { get; set; }
+
+        /// <summary>
+        /// 城市
+        /// </summary>
+        [XmlElement("city")]
+        public string City { get; set; }
+
+        /// <summary>
+        /// 省份
+        /// </summary>
+        [XmlElement("province")]
+        public string Province { get; set; }
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ComplextMockModel.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ComplextMockModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ComplextMockModel : AopObject
+    {
+        /// <summary>
+        /// biz_model
+        /// </summary>
+        [XmlElement("biz_model")]
+        public SimpleMockModel BizModel { get; set; }
+
+        /// <summary>
+        /// 11
+        /// </summary>
+        [XmlElement("biz_num")]
+        public long BizNum { get; set; }
+
+        /// <summary>
+        /// 208xxx
+        /// </summary>
+        [XmlElement("biz_type")]
+        public string BizType { get; set; }
+    }
+}

+ 320 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ConsumeRecordAOPModel.cs

@@ -0,0 +1,320 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ConsumeRecordAOPModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ConsumeRecordAOPModel : AopObject
+    {
+        /// <summary>
+        /// 接入渠道
+        /// </summary>
+        [XmlElement("access_channel")]
+        public string AccessChannel { get; set; }
+
+        /// <summary>
+        /// 扩展状态
+        /// </summary>
+        [XmlElement("additional_status")]
+        public string AdditionalStatus { get; set; }
+
+        /// <summary>
+        /// 用户下一步动作
+        /// </summary>
+        [XmlArray("biz_actions")]
+        [XmlArrayItem("string")]
+        public List<string> BizActions { get; set; }
+
+        /// <summary>
+        /// 业务扩展流水号
+        /// </summary>
+        [XmlElement("biz_extra_no")]
+        public string BizExtraNo { get; set; }
+
+        /// <summary>
+        /// 业务流水号
+        /// </summary>
+        [XmlElement("biz_in_no")]
+        public string BizInNo { get; set; }
+
+        /// <summary>
+        /// 业务备注
+        /// </summary>
+        [XmlElement("biz_memo")]
+        public string BizMemo { get; set; }
+
+        /// <summary>
+        /// 业务发起方
+        /// </summary>
+        [XmlElement("biz_orig")]
+        public string BizOrig { get; set; }
+
+        /// <summary>
+        /// 业务外部流水号
+        /// </summary>
+        [XmlElement("biz_out_no")]
+        public string BizOutNo { get; set; }
+
+        /// <summary>
+        /// 业务状态
+        /// </summary>
+        [XmlElement("biz_state")]
+        public string BizState { get; set; }
+
+        /// <summary>
+        /// 业务子类型
+        /// </summary>
+        [XmlElement("biz_sub_type")]
+        public string BizSubType { get; set; }
+
+        /// <summary>
+        /// 业务类型
+        /// </summary>
+        [XmlElement("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 自定义分类Id
+        /// </summary>
+        [XmlElement("category_id")]
+        public string CategoryId { get; set; }
+
+        /// <summary>
+        /// 总费用
+        /// </summary>
+        [XmlElement("consume_fee")]
+        public string ConsumeFee { get; set; }
+
+        /// <summary>
+        /// 消费记录退款状态
+        /// </summary>
+        [XmlElement("consume_refund_status")]
+        public string ConsumeRefundStatus { get; set; }
+
+        /// <summary>
+        /// 来源
+        /// </summary>
+        [XmlElement("consume_site")]
+        public string ConsumeSite { get; set; }
+
+        /// <summary>
+        /// 消费记录状态
+        /// </summary>
+        [XmlElement("consume_status")]
+        public string ConsumeStatus { get; set; }
+
+        /// <summary>
+        /// 标题
+        /// </summary>
+        [XmlElement("consume_title")]
+        public string ConsumeTitle { get; set; }
+
+        /// <summary>
+        /// 消费记录类型
+        /// </summary>
+        [XmlElement("consume_type")]
+        public string ConsumeType { get; set; }
+
+        /// <summary>
+        /// 货币币种
+        /// </summary>
+        [XmlElement("currency")]
+        public string Currency { get; set; }
+
+        /// <summary>
+        /// 消费记录永久删除时间
+        /// </summary>
+        [XmlElement("delete_over_time")]
+        public string DeleteOverTime { get; set; }
+
+        /// <summary>
+        /// 消费记录删除时间
+        /// </summary>
+        [XmlElement("delete_time")]
+        public string DeleteTime { get; set; }
+
+        /// <summary>
+        /// 消费记录删除标记
+        /// </summary>
+        [XmlElement("delete_type")]
+        public string DeleteType { get; set; }
+
+        /// <summary>
+        /// 充退状态,可能为空,目前只针对交易业务有效
+        /// </summary>
+        [XmlElement("depositback_status")]
+        public string DepositbackStatus { get; set; }
+
+        /// <summary>
+        /// 是否锁定标记
+        /// </summary>
+        [XmlElement("flag_locked")]
+        public string FlagLocked { get; set; }
+
+        /// <summary>
+        /// 退款标记
+        /// </summary>
+        [XmlElement("flag_refund")]
+        public string FlagRefund { get; set; }
+
+        /// <summary>
+        /// 业务数据创建时间
+        /// </summary>
+        [XmlElement("gmt_biz_create")]
+        public string GmtBizCreate { get; set; }
+
+        /// <summary>
+        /// 业务数据最后更新时间
+        /// </summary>
+        [XmlElement("gmt_biz_modified")]
+        public string GmtBizModified { get; set; }
+
+        /// <summary>
+        /// 消费记录创建时间
+        /// </summary>
+        [XmlElement("gmt_create")]
+        public string GmtCreate { get; set; }
+
+        /// <summary>
+        /// 消费记录最后更新时间
+        /// </summary>
+        [XmlElement("gmt_modified")]
+        public string GmtModified { get; set; }
+
+        /// <summary>
+        /// 收到付款时间(买家付款时间)
+        /// </summary>
+        [XmlElement("gmt_receive_pay")]
+        public string GmtReceivePay { get; set; }
+
+        /// <summary>
+        /// 打款给卖家时间(卖家收款时间)
+        /// </summary>
+        [XmlElement("gmt_send_pay")]
+        public string GmtSendPay { get; set; }
+
+        /// <summary>
+        /// 是否有资金明细
+        /// </summary>
+        [XmlElement("has_fund_item")]
+        public bool HasFundItem { get; set; }
+
+        /// <summary>
+        /// 是否有新资金明细(落地新流程交易的消费记录)
+        /// </summary>
+        [XmlElement("has_new_fund_item")]
+        public bool HasNewFundItem { get; set; }
+
+        /// <summary>
+        /// 收入/支出
+        /// </summary>
+        [XmlElement("in_out")]
+        public string InOut { get; set; }
+
+        /// <summary>
+        /// 对方卡号
+        /// </summary>
+        [XmlElement("opposite_card_no")]
+        public string OppositeCardNo { get; set; }
+
+        /// <summary>
+        /// 对方登录ID
+        /// </summary>
+        [XmlElement("opposite_login_id")]
+        public string OppositeLoginId { get; set; }
+
+        /// <summary>
+        /// 对方名称
+        /// </summary>
+        [XmlElement("opposite_name")]
+        public string OppositeName { get; set; }
+
+        /// <summary>
+        /// 对方昵称
+        /// </summary>
+        [XmlElement("opposite_nick_name")]
+        public string OppositeNickName { get; set; }
+
+        /// <summary>
+        /// 消费记录原标题
+        /// </summary>
+        [XmlElement("orig_consume_title")]
+        public string OrigConsumeTitle { get; set; }
+
+        /// <summary>
+        /// 本方卡号
+        /// </summary>
+        [XmlElement("owner_card_no")]
+        public string OwnerCardNo { get; set; }
+
+        /// <summary>
+        /// 本方客户ID
+        /// </summary>
+        [XmlElement("owner_customer_id")]
+        public string OwnerCustomerId { get; set; }
+
+        /// <summary>
+        /// 本方登录ID
+        /// </summary>
+        [XmlElement("owner_login_id")]
+        public string OwnerLoginId { get; set; }
+
+        /// <summary>
+        /// 本方名称
+        /// </summary>
+        [XmlElement("owner_name")]
+        public string OwnerName { get; set; }
+
+        /// <summary>
+        /// 本方昵称
+        /// </summary>
+        [XmlElement("owner_nick")]
+        public string OwnerNick { get; set; }
+
+        /// <summary>
+        /// 合作伙伴ID
+        /// </summary>
+        [XmlElement("partner_id")]
+        public string PartnerId { get; set; }
+
+        /// <summary>
+        /// 创建渠道
+        /// </summary>
+        [XmlElement("pay_channel")]
+        public string PayChannel { get; set; }
+
+        /// <summary>
+        /// 产品码
+        /// </summary>
+        [XmlElement("product")]
+        public string Product { get; set; }
+
+        /// <summary>
+        /// 最后一次退款金额
+        /// </summary>
+        [XmlElement("refund_fee")]
+        public string RefundFee { get; set; }
+
+        /// <summary>
+        /// 服务费
+        /// </summary>
+        [XmlElement("service_fee")]
+        public string ServiceFee { get; set; }
+
+        /// <summary>
+        /// 多次成功退款总金额
+        /// </summary>
+        [XmlElement("total_refund_fee")]
+        public string TotalRefundFee { get; set; }
+
+        /// <summary>
+        /// 交易来源
+        /// </summary>
+        [XmlElement("trade_from")]
+        public string TradeFrom { get; set; }
+    }
+}

+ 102 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/Coupon.cs

@@ -0,0 +1,102 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// Coupon Data Structure.
+    /// </summary>
+    [Serializable]
+    public class Coupon : AopObject
+    {
+        /// <summary>
+        /// 当前可用面额
+        /// </summary>
+        [XmlElement("available_amount")]
+        public string AvailableAmount { get; set; }
+
+        /// <summary>
+        /// 红包编号
+        /// </summary>
+        [XmlElement("coupon_no")]
+        public string CouponNo { get; set; }
+
+        /// <summary>
+        /// 可优惠面额
+        /// </summary>
+        [XmlElement("deduct_amount")]
+        public string DeductAmount { get; set; }
+
+        /// <summary>
+        /// 有效期开始时间
+        /// </summary>
+        [XmlElement("gmt_active")]
+        public string GmtActive { get; set; }
+
+        /// <summary>
+        /// 创建时间
+        /// </summary>
+        [XmlElement("gmt_create")]
+        public string GmtCreate { get; set; }
+
+        /// <summary>
+        /// 有效期结束时间
+        /// </summary>
+        [XmlElement("gmt_expired")]
+        public string GmtExpired { get; set; }
+
+        /// <summary>
+        /// 红包使用说明
+        /// </summary>
+        [XmlElement("instructions")]
+        public string Instructions { get; set; }
+
+        /// <summary>
+        /// 红包详情说明
+        /// </summary>
+        [XmlElement("memo")]
+        public string Memo { get; set; }
+
+        /// <summary>
+        /// 商户id
+        /// </summary>
+        [XmlElement("merchant_uniq_id")]
+        public string MerchantUniqId { get; set; }
+
+        /// <summary>
+        /// 是否可叠加
+        /// </summary>
+        [XmlElement("multi_use_flag")]
+        public string MultiUseFlag { get; set; }
+
+        /// <summary>
+        /// 红包名称
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 是否可退款标识
+        /// </summary>
+        [XmlElement("refund_flag")]
+        public string RefundFlag { get; set; }
+
+        /// <summary>
+        /// 红包状态信息
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+
+        /// <summary>
+        /// 红包模板编号
+        /// </summary>
+        [XmlElement("template_no")]
+        public string TemplateNo { get; set; }
+
+        /// <summary>
+        /// 用户openid
+        /// </summary>
+        [XmlElement("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 78 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/CreditResult.cs

@@ -0,0 +1,78 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// CreditResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class CreditResult : AopObject
+    {
+        /// <summary>
+        /// 授信金额
+        /// </summary>
+        [XmlElement("credit_line")]
+        public string CreditLine { get; set; }
+
+        /// <summary>
+        /// 授信编号
+        /// </summary>
+        [XmlElement("credit_no")]
+        public string CreditNo { get; set; }
+
+        /// <summary>
+        /// 一笔授信规定的从开始到结束的周期,例如12个月,30天等。
+        /// </summary>
+        [XmlElement("credit_term")]
+        public long CreditTerm { get; set; }
+
+        /// <summary>
+        /// 年、月、日
+        /// </summary>
+        [XmlElement("credit_term_unit")]
+        public string CreditTermUnit { get; set; }
+
+        /// <summary>
+        /// 当贷款机构给客户一个可使用的授信时,只有在某一个日期之后客户才能使用,这个日期就是授信使用生效日期。
+        /// </summary>
+        [XmlElement("effective_date")]
+        public string EffectiveDate { get; set; }
+
+        /// <summary>
+        /// 当贷款机构给客户一个可使用的授信时,客户必须要在某一个日期之前必须支用,否则此笔授信就会失效。
+        /// </summary>
+        [XmlElement("expire_date")]
+        public string ExpireDate { get; set; }
+
+        /// <summary>
+        /// 技术服务费
+        /// </summary>
+        [XmlElement("fee_rate")]
+        public string FeeRate { get; set; }
+
+        /// <summary>
+        /// 贷款利率
+        /// </summary>
+        [XmlElement("interest_rate")]
+        public string InterestRate { get; set; }
+
+        /// <summary>
+        /// 一笔授信支用规定的从开始到结束的周期,例如12个月,30天等。
+        /// </summary>
+        [XmlElement("loan_term")]
+        public long LoanTerm { get; set; }
+
+        /// <summary>
+        /// 年、月、日
+        /// </summary>
+        [XmlElement("loan_term_unit")]
+        public string LoanTermUnit { get; set; }
+
+        /// <summary>
+        /// 还款方式,例如等额本息
+        /// </summary>
+        [XmlElement("repayment_mode")]
+        public string RepaymentMode { get; set; }
+    }
+}

+ 20 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/Data.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// Data Data Structure.
+    /// </summary>
+    [Serializable]
+    public class Data : AopObject
+    {
+        /// <summary>
+        /// 用户id列表
+        /// </summary>
+        [XmlArray("user_id_list")]
+        [XmlArrayItem("string")]
+        public List<string> UserIdList { get; set; }
+    }
+}

+ 72 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DeliverAddress.cs

@@ -0,0 +1,72 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// DeliverAddress Data Structure.
+    /// </summary>
+    [Serializable]
+    public class DeliverAddress : AopObject
+    {
+        /// <summary>
+        /// 地址
+        /// </summary>
+        [XmlElement("address")]
+        public string Address { get; set; }
+
+        /// <summary>
+        /// 区域编码
+        /// </summary>
+        [XmlElement("address_code")]
+        public string AddressCode { get; set; }
+
+        /// <summary>
+        /// 是否默认收货地址
+        /// </summary>
+        [XmlElement("default_deliver_address")]
+        public string DefaultDeliverAddress { get; set; }
+
+        /// <summary>
+        /// 收货人所在区县
+        /// </summary>
+        [XmlElement("deliver_area")]
+        public string DeliverArea { get; set; }
+
+        /// <summary>
+        /// 收货人所在城市
+        /// </summary>
+        [XmlElement("deliver_city")]
+        public string DeliverCity { get; set; }
+
+        /// <summary>
+        /// 收货人全名
+        /// </summary>
+        [XmlElement("deliver_fullname")]
+        public string DeliverFullname { get; set; }
+
+        /// <summary>
+        /// 收货地址的联系人移动电话
+        /// </summary>
+        [XmlElement("deliver_mobile")]
+        public string DeliverMobile { get; set; }
+
+        /// <summary>
+        /// 收货地址的联系人固定电话
+        /// </summary>
+        [XmlElement("deliver_phone")]
+        public string DeliverPhone { get; set; }
+
+        /// <summary>
+        /// 收货人所在省份
+        /// </summary>
+        [XmlElement("deliver_province")]
+        public string DeliverProvince { get; set; }
+
+        /// <summary>
+        /// 邮政编码
+        /// </summary>
+        [XmlElement("zip")]
+        public string Zip { get; set; }
+    }
+}

+ 60 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DishonestyDetailInfo.cs

@@ -0,0 +1,60 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// DishonestyDetailInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class DishonestyDetailInfo : AopObject
+    {
+        /// <summary>
+        /// 被执行人行为具体情况
+        /// </summary>
+        [XmlElement("behavior")]
+        public string Behavior { get; set; }
+
+        /// <summary>
+        /// 案号
+        /// </summary>
+        [XmlElement("case_code")]
+        public string CaseCode { get; set; }
+
+        /// <summary>
+        /// 执行法院
+        /// </summary>
+        [XmlElement("enforce_court")]
+        public string EnforceCourt { get; set; }
+
+        /// <summary>
+        /// 身份证号
+        /// </summary>
+        [XmlElement("id_number")]
+        public string IdNumber { get; set; }
+
+        /// <summary>
+        /// 用户姓名
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 被执行人履行情况
+        /// </summary>
+        [XmlElement("performance")]
+        public string Performance { get; set; }
+
+        /// <summary>
+        /// 发布日期
+        /// </summary>
+        [XmlElement("publish_date")]
+        public string PublishDate { get; set; }
+
+        /// <summary>
+        /// 所在区域
+        /// </summary>
+        [XmlElement("region")]
+        public string Region { get; set; }
+    }
+}

+ 50 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DishonestyQueryResultInfo.cs

@@ -0,0 +1,50 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// DishonestyQueryResultInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class DishonestyQueryResultInfo : AopObject
+    {
+        /// <summary>
+        /// 住址
+        /// </summary>
+        [XmlElement("address")]
+        public string Address { get; set; }
+
+        /// <summary>
+        /// 失信记录详情
+        /// </summary>
+        [XmlArray("detail")]
+        [XmlArrayItem("dishonesty_detail_info")]
+        public List<DishonestyDetailInfo> Detail { get; set; }
+
+        /// <summary>
+        /// 是否有失信数据
+        /// </summary>
+        [XmlElement("has_dishonesty_record")]
+        public bool HasDishonestyRecord { get; set; }
+
+        /// <summary>
+        /// 身份证号码
+        /// </summary>
+        [XmlElement("id_number")]
+        public string IdNumber { get; set; }
+
+        /// <summary>
+        /// 姓名
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 性别
+        /// </summary>
+        [XmlElement("sex")]
+        public string Sex { get; set; }
+    }
+}

+ 120 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/DrawndnVo.cs

@@ -0,0 +1,120 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// DrawndnVo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class DrawndnVo : AopObject
+    {
+        /// <summary>
+        /// 实收利息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("actual_collected_interest")]
+        public string ActualCollectedInterest { get; set; }
+
+        /// <summary>
+        /// 贷款余额(本金余额)
+        /// </summary>
+        [XmlElement("balance")]
+        public string Balance { get; set; }
+
+        /// <summary>
+        /// 已收本息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("collected_principal_and_interest")]
+        public string CollectedPrincipalAndInterest { get; set; }
+
+        /// <summary>
+        /// 授信编号
+        /// </summary>
+        [XmlElement("credit_no")]
+        public string CreditNo { get; set; }
+
+        /// <summary>
+        /// 支用日,这里代表的是客户这笔支用放款成功日期,如果支用还在放款中或者支用放款失败等,则该值为空
+        /// </summary>
+        [XmlElement("drawndn_date")]
+        public string DrawndnDate { get; set; }
+
+        /// <summary>
+        /// 支用编号,代表一笔支用的唯一编号
+        /// </summary>
+        [XmlElement("drawndn_no")]
+        public string DrawndnNo { get; set; }
+
+        /// <summary>
+        /// 到期日
+        /// </summary>
+        [XmlElement("due_date")]
+        public string DueDate { get; set; }
+
+        /// <summary>
+        /// 五级分类,值类型:NORMAL(正常)、ATTENTION(关注)、SUBPRIME(次级)、DOUBTFUL(可疑)、LOSSES(损失)
+        /// </summary>
+        [XmlElement("five_tier_classification")]
+        public string FiveTierClassification { get; set; }
+
+        /// <summary>
+        /// 正常利息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("interest")]
+        public string Interest { get; set; }
+
+        /// <summary>
+        /// 年利率,小数点保留2位
+        /// </summary>
+        [XmlElement("interest_rate")]
+        public string InterestRate { get; set; }
+
+        /// <summary>
+        /// 贷款发放额,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("lending_amount")]
+        public string LendingAmount { get; set; }
+
+        /// <summary>
+        /// 当前逾期期次
+        /// </summary>
+        [XmlElement("overduce_terms")]
+        public long OverduceTerms { get; set; }
+
+        /// <summary>
+        /// 当前逾期天数
+        /// </summary>
+        [XmlElement("overdue_days")]
+        public long OverdueDays { get; set; }
+
+        /// <summary>
+        /// 逾期利息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_interest")]
+        public string OverdueInterest { get; set; }
+
+        /// <summary>
+        /// 逾期利息罚息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_interest_penalty")]
+        public string OverdueInterestPenalty { get; set; }
+
+        /// <summary>
+        /// 逾期本金,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_principal")]
+        public string OverduePrincipal { get; set; }
+
+        /// <summary>
+        /// 逾期本金罚息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_principal_penalty")]
+        public string OverduePrincipalPenalty { get; set; }
+
+        /// <summary>
+        /// 支用状态 ,值类型:INIT(初始),LENDING(发放中),NORMAL(正常),OVD(逾期), CLEAR(结清),OFF(核销), LENDFAIL(发放失败)
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EduOneCardBalanceQueryResult.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// EduOneCardBalanceQueryResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class EduOneCardBalanceQueryResult : AopObject
+    {
+        /// <summary>
+        /// 校园一卡通机构
+        /// </summary>
+        [XmlElement("agent_code")]
+        public string AgentCode { get; set; }
+
+        /// <summary>
+        /// 校园一卡通可用余额
+        /// </summary>
+        [XmlElement("balance")]
+        public string Balance { get; set; }
+
+        /// <summary>
+        /// 校园一卡通姓名
+        /// </summary>
+        [XmlElement("card_name")]
+        public string CardName { get; set; }
+
+        /// <summary>
+        /// 校园一卡通卡号
+        /// </summary>
+        [XmlElement("card_no")]
+        public string CardNo { get; set; }
+
+        /// <summary>
+        /// 余额最后更新时间
+        /// </summary>
+        [XmlElement("last_update_time")]
+        public string LastUpdateTime { get; set; }
+
+        /// <summary>
+        /// 校园一卡通待领金额
+        /// </summary>
+        [XmlElement("pound_amount")]
+        public string PoundAmount { get; set; }
+    }
+}

+ 54 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EduOneCardDepositCardQueryResult.cs

@@ -0,0 +1,54 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// EduOneCardDepositCardQueryResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class EduOneCardDepositCardQueryResult : AopObject
+    {
+        /// <summary>
+        /// 校园一卡通机构代码
+        /// </summary>
+        [XmlElement("agent_code")]
+        public string AgentCode { get; set; }
+
+        /// <summary>
+        /// 校园一卡通机构姓名
+        /// </summary>
+        [XmlElement("agent_name")]
+        public string AgentName { get; set; }
+
+        /// <summary>
+        /// 校园一卡通余额
+        /// </summary>
+        [XmlElement("balance")]
+        public string Balance { get; set; }
+
+        /// <summary>
+        /// 校园一卡通姓名
+        /// </summary>
+        [XmlElement("card_name")]
+        public string CardName { get; set; }
+
+        /// <summary>
+        /// 校园一卡通卡号
+        /// </summary>
+        [XmlElement("card_no")]
+        public string CardNo { get; set; }
+
+        /// <summary>
+        /// 余额最后更新时间
+        /// </summary>
+        [XmlElement("last_update_time")]
+        public string LastUpdateTime { get; set; }
+
+        /// <summary>
+        /// 校园一卡通待领金额
+        /// </summary>
+        [XmlElement("pound_amount")]
+        public string PoundAmount { get; set; }
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EvercallAlertResult.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// EvercallAlertResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class EvercallAlertResult : AopObject
+    {
+        /// <summary>
+        /// 签约手机号
+        /// </summary>
+        [XmlElement("mobile_no")]
+        public string MobileNo { get; set; }
+
+        /// <summary>
+        /// 预警接收结果
+        /// </summary>
+        [XmlElement("return_code")]
+        public string ReturnCode { get; set; }
+
+        /// <summary>
+        /// 支付宝账户号
+        /// </summary>
+        [XmlElement("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 42 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/EvercallRechargeResult.cs

@@ -0,0 +1,42 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// EvercallRechargeResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class EvercallRechargeResult : AopObject
+    {
+        /// <summary>
+        /// 外部商户订单号
+        /// </summary>
+        [XmlElement("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 签约手机号
+        /// </summary>
+        [XmlElement("mobile_no")]
+        public string MobileNo { get; set; }
+
+        /// <summary>
+        /// 支付宝单据号
+        /// </summary>
+        [XmlElement("recharge_order_no")]
+        public string RechargeOrderNo { get; set; }
+
+        /// <summary>
+        /// 充值处理结果
+        /// </summary>
+        [XmlElement("return_code")]
+        public string ReturnCode { get; set; }
+
+        /// <summary>
+        /// 支付宝账户号
+        /// </summary>
+        [XmlElement("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 60 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ExproductconfResponse.cs

@@ -0,0 +1,60 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ExproductconfResponse Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ExproductconfResponse : AopObject
+    {
+        /// <summary>
+        /// 出账机构
+        /// </summary>
+        [XmlElement("charge_inst")]
+        public string ChargeInst { get; set; }
+
+        /// <summary>
+        /// 出账机构中文名称
+        /// </summary>
+        [XmlElement("chargeinst_name")]
+        public string ChargeinstName { get; set; }
+
+        /// <summary>
+        /// 销账机构
+        /// </summary>
+        [XmlElement("chargeoff_inst")]
+        public string ChargeoffInst { get; set; }
+
+        /// <summary>
+        /// 销账机构中文名称
+        /// </summary>
+        [XmlElement("chargeoffinst_name")]
+        public string ChargeoffinstName { get; set; }
+
+        /// <summary>
+        /// 城市
+        /// </summary>
+        [XmlElement("city")]
+        public string City { get; set; }
+
+        /// <summary>
+        /// 扩展字段
+        /// </summary>
+        [XmlElement("extend")]
+        public string Extend { get; set; }
+
+        /// <summary>
+        /// 省份
+        /// </summary>
+        [XmlElement("province")]
+        public string Province { get; set; }
+
+        /// <summary>
+        /// 产品状态
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+    }
+}

+ 36 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/FeeRecords.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// FeeRecords Data Structure.
+    /// </summary>
+    [Serializable]
+    public class FeeRecords : AopObject
+    {
+        /// <summary>
+        /// 费用余额,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("balance")]
+        public string Balance { get; set; }
+
+        /// <summary>
+        /// 交易时间
+        /// </summary>
+        [XmlElement("date")]
+        public string Date { get; set; }
+
+        /// <summary>
+        /// 费用交易流水备注
+        /// </summary>
+        [XmlElement("remark")]
+        public string Remark { get; set; }
+
+        /// <summary>
+        /// 费用交易额度
+        /// </summary>
+        [XmlElement("total_amount")]
+        public string TotalAmount { get; set; }
+    }
+}

+ 20 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/FundDetailItemAOPModel.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// FundDetailItemAOPModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class FundDetailItemAOPModel : AopObject
+    {
+        /// <summary>
+        /// 主记录+对应资金明细信息模型列表
+        /// </summary>
+        [XmlArray("single_fund_detail_item_aopmodel_list")]
+        [XmlArrayItem("single_fund_detail_item_a_o_p_model")]
+        public List<SingleFundDetailItemAOPModel> SingleFundDetailItemAopmodelList { get; set; }
+    }
+}

+ 222 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/FundItemAOPModel.cs

@@ -0,0 +1,222 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// FundItemAOPModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class FundItemAOPModel : AopObject
+    {
+        /// <summary>
+        /// 财务外部单据号
+        /// </summary>
+        [XmlElement("acctrans_out_biz_no")]
+        public string AcctransOutBizNo { get; set; }
+
+        /// <summary>
+        /// 资金变动金额
+        /// </summary>
+        [XmlElement("amount")]
+        public string Amount { get; set; }
+
+        /// <summary>
+        /// 业务ID
+        /// </summary>
+        [XmlElement("biz_id")]
+        public string BizId { get; set; }
+
+        /// <summary>
+        /// 业务号
+        /// </summary>
+        [XmlElement("biz_in_no")]
+        public string BizInNo { get; set; }
+
+        /// <summary>
+        /// 业务外部流水号
+        /// </summary>
+        [XmlElement("biz_out_no")]
+        public string BizOutNo { get; set; }
+
+        /// <summary>
+        /// 业务类型(枚举值对应的code)
+        /// </summary>
+        [XmlElement("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 充退金额
+        /// </summary>
+        [XmlElement("dback_amount")]
+        public string DbackAmount { get; set; }
+
+        /// <summary>
+        /// 退款申请时间
+        /// </summary>
+        [XmlElement("dback_gmt_create")]
+        public string DbackGmtCreate { get; set; }
+
+        /// <summary>
+        /// 实际/预估银行响应时间
+        /// </summary>
+        [XmlElement("dback_gmt_est_bk_ack")]
+        public string DbackGmtEstBkAck { get; set; }
+
+        /// <summary>
+        /// 预估银行入账时间
+        /// </summary>
+        [XmlElement("dback_gmt_est_bk_into")]
+        public string DbackGmtEstBkInto { get; set; }
+
+        /// <summary>
+        /// 充值账户名
+        /// </summary>
+        [XmlElement("dback_inst_account_name")]
+        public string DbackInstAccountName { get; set; }
+
+        /// <summary>
+        /// 充值卡号(后四位)
+        /// </summary>
+        [XmlElement("dback_inst_account_no")]
+        public string DbackInstAccountNo { get; set; }
+
+        /// <summary>
+        /// 机构ID
+        /// </summary>
+        [XmlElement("dback_inst_id")]
+        public string DbackInstId { get; set; }
+
+        /// <summary>
+        /// 机构名称
+        /// </summary>
+        [XmlElement("dback_inst_name")]
+        public string DbackInstName { get; set; }
+
+        /// <summary>
+        /// 统一支付资金条目ID
+        /// </summary>
+        [XmlElement("fid")]
+        public string Fid { get; set; }
+
+        /// <summary>
+        /// 面向系统的资金工具接入类型
+        /// </summary>
+        [XmlElement("fund_access_type")]
+        public long FundAccessType { get; set; }
+
+        /// <summary>
+        /// 资金账号。可以是支付宝主卡账号,子卡账号,银行卡号等等。
+        /// </summary>
+        [XmlElement("fund_account_no")]
+        public string FundAccountNo { get; set; }
+
+        /// <summary>
+        /// 资金业务类型枚举
+        /// </summary>
+        [XmlElement("fund_biz_type")]
+        public long FundBizType { get; set; }
+
+        /// <summary>
+        /// 资金明细创建时间
+        /// </summary>
+        [XmlElement("fund_create_time")]
+        public string FundCreateTime { get; set; }
+
+        /// <summary>
+        /// 资金变动完成时间
+        /// </summary>
+        [XmlElement("fund_finish_time")]
+        public string FundFinishTime { get; set; }
+
+        /// <summary>
+        /// 资金流向枚举
+        /// </summary>
+        [XmlElement("fund_in_out")]
+        public long FundInOut { get; set; }
+
+        /// <summary>
+        /// 资金工具机构
+        /// </summary>
+        [XmlElement("fund_inst_id")]
+        public string FundInstId { get; set; }
+
+        /// <summary>
+        /// 资金明细最后修改时间
+        /// </summary>
+        [XmlElement("fund_modify_time")]
+        public string FundModifyTime { get; set; }
+
+        /// <summary>
+        /// 资金状态
+        /// </summary>
+        [XmlElement("fund_status")]
+        public string FundStatus { get; set; }
+
+        /// <summary>
+        /// 该资金变动的资金工具是否为ownerCardNo所拥有
+        /// </summary>
+        [XmlElement("fund_tool_belong_to_crowner")]
+        public bool FundToolBelongToCrowner { get; set; }
+
+        /// <summary>
+        /// fundToolBelongToCROwner为false时,该字段记录资金工具的实际拥有者
+        /// </summary>
+        [XmlElement("fund_tool_owner_card_no")]
+        public string FundToolOwnerCardNo { get; set; }
+
+        /// <summary>
+        /// 面向用户的资金工具类型
+        /// </summary>
+        [XmlElement("fund_tool_type_for_crowner")]
+        public string FundToolTypeForCrowner { get; set; }
+
+        /// <summary>
+        /// 面向系统的资金工具类型
+        /// </summary>
+        [XmlElement("fund_tool_type_for_system")]
+        public string FundToolTypeForSystem { get; set; }
+
+        /// <summary>
+        /// 业务创建时间
+        /// </summary>
+        [XmlElement("gmt_biz_create")]
+        public string GmtBizCreate { get; set; }
+
+        /// <summary>
+        /// 导致该资金变动在业务上的另一方的卡别名
+        /// </summary>
+        [XmlElement("opposite_biz_card_alias")]
+        public string OppositeBizCardAlias { get; set; }
+
+        /// <summary>
+        /// 导致该资金变动在业务上的另一方的卡别名。
+        /// </summary>
+        [XmlElement("opposite_biz_card_no")]
+        public string OppositeBizCardNo { get; set; }
+
+        /// <summary>
+        /// 导致该资金变动在资金上的另一方的卡别名。
+        /// </summary>
+        [XmlElement("opposite_fund_card_no")]
+        public string OppositeFundCardNo { get; set; }
+
+        /// <summary>
+        /// 本方卡号
+        /// </summary>
+        [XmlElement("owner_card_no")]
+        public string OwnerCardNo { get; set; }
+
+        /// <summary>
+        /// 银行卡退款进度状态
+        /// </summary>
+        [XmlElement("refund_bank_status")]
+        public string RefundBankStatus { get; set; }
+
+        /// <summary>
+        /// 统一支付ID
+        /// </summary>
+        [XmlElement("uid")]
+        public string Uid { get; set; }
+    }
+}

+ 42 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/GfResult.cs

@@ -0,0 +1,42 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// GfResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class GfResult : AopObject
+    {
+        /// <summary>
+        /// 身份证号
+        /// </summary>
+        [XmlElement("cert_no")]
+        public string CertNo { get; set; }
+
+        /// <summary>
+        /// 相同身份证号个数
+        /// </summary>
+        [XmlElement("count")]
+        public long Count { get; set; }
+
+        /// <summary>
+        /// 用户是否存在
+        /// </summary>
+        [XmlElement("exist")]
+        public string Exist { get; set; }
+
+        /// <summary>
+        /// 最高分
+        /// </summary>
+        [XmlElement("max_score")]
+        public long MaxScore { get; set; }
+
+        /// <summary>
+        /// 最低分
+        /// </summary>
+        [XmlElement("min_score")]
+        public long MinScore { get; set; }
+    }
+}

+ 56 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/InputFieldModel.cs

@@ -0,0 +1,56 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// InputFieldModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class InputFieldModel : AopObject
+    {
+        /// <summary>
+        /// 默认提示值,例如歌华宽带的金额为100的倍数
+        /// </summary>
+        [XmlElement("default_value")]
+        public string DefaultValue { get; set; }
+
+        /// <summary>
+        /// 域英文名称 例如:billkey
+        /// </summary>
+        [XmlElement("field_name")]
+        public string FieldName { get; set; }
+
+        /// <summary>
+        /// 输入框下方文字提示,例如: 户号为10位数字
+        /// </summary>
+        [XmlElement("field_tips")]
+        public string FieldTips { get; set; }
+
+        /// <summary>
+        /// 页面显示提示 例如:手机号码
+        /// </summary>
+        [XmlElement("field_title")]
+        public string FieldTitle { get; set; }
+
+        /// <summary>
+        /// 控件类型 输入框类型 例如:inputText (文本输入框)
+        /// </summary>
+        [XmlElement("field_type")]
+        public string FieldType { get; set; }
+
+        /// <summary>
+        /// 控件展示顺序 例如:优选级 1
+        /// </summary>
+        [XmlElement("priority")]
+        public string Priority { get; set; }
+
+        /// <summary>
+        /// 输入域的校验规则模型
+        /// </summary>
+        [XmlArray("regexp_rule_list")]
+        [XmlArrayItem("validation_rule")]
+        public List<ValidationRule> RegexpRuleList { get; set; }
+    }
+}

+ 24 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/InstoreUser.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// InstoreUser Data Structure.
+    /// </summary>
+    [Serializable]
+    public class InstoreUser : AopObject
+    {
+        /// <summary>
+        /// 是否当天生日
+        /// </summary>
+        [XmlElement("is_birthday")]
+        public bool IsBirthday { get; set; }
+
+        /// <summary>
+        /// 支付宝用户ID
+        /// </summary>
+        [XmlElement("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ItermInfo.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ItermInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ItermInfo : AopObject
+    {
+        /// <summary>
+        /// 更新时系统异常,返回错误详细信息
+        /// </summary>
+        [XmlElement("error_message")]
+        public string ErrorMessage { get; set; }
+
+        /// <summary>
+        /// 充值面额的状态Y/N
+        /// </summary>
+        [XmlElement("is_for_sale")]
+        public string IsForSale { get; set; }
+
+        /// <summary>
+        /// 面额的code,唯一标示码
+        /// </summary>
+        [XmlElement("item_code")]
+        public string ItemCode { get; set; }
+
+        /// <summary>
+        /// 售价,比如100的面额,卖99元
+        /// </summary>
+        [XmlElement("mark_price")]
+        public string MarkPrice { get; set; }
+
+        /// <summary>
+        /// 针对更新时,是否更新成功
+        /// </summary>
+        [XmlElement("success")]
+        public bool Success { get; set; }
+
+        /// <summary>
+        /// 手机充值的面额价格
+        /// </summary>
+        [XmlElement("supplier_price")]
+        public string SupplierPrice { get; set; }
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/LendingRecords.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// LendingRecords Data Structure.
+    /// </summary>
+    [Serializable]
+    public class LendingRecords : AopObject
+    {
+        /// <summary>
+        /// 放款时间,精确到天
+        /// </summary>
+        [XmlElement("date")]
+        public string Date { get; set; }
+
+        /// <summary>
+        /// 放款流水描述
+        /// </summary>
+        [XmlElement("remark")]
+        public string Remark { get; set; }
+
+        /// <summary>
+        /// 放款额度,精确到小数点2位,单位(元)
+        /// </summary>
+        [XmlElement("total_amount")]
+        public string TotalAmount { get; set; }
+    }
+}

+ 20 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ListListComplexMockModel.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ListListComplexMockModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ListListComplexMockModel : AopObject
+    {
+        /// <summary>
+        /// 复杂对象list
+        /// </summary>
+        [XmlArray("cm_list")]
+        [XmlArrayItem("complext_mock_model")]
+        public List<ComplextMockModel> CmList { get; set; }
+    }
+}

+ 20 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ListListSmMockModel.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ListListSmMockModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ListListSmMockModel : AopObject
+    {
+        /// <summary>
+        /// 简单模型列表
+        /// </summary>
+        [XmlArray("list_simple_model_list")]
+        [XmlArrayItem("simple_mock_model")]
+        public List<SimpleMockModel> ListSimpleModelList { get; set; }
+    }
+}

+ 36 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/MerchantInstConfig.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// MerchantInstConfig Data Structure.
+    /// </summary>
+    [Serializable]
+    public class MerchantInstConfig : AopObject
+    {
+        /// <summary>
+        /// 机构短名称,既是合作机构的英文简称,用来标识该机构的唯一性;
+        /// </summary>
+        [XmlElement("en_name")]
+        public string EnName { get; set; }
+
+        /// <summary>
+        /// 支付宝定义的业务类型,JF表示公共事业缴费,HK表示信用卡还款具体见附录描述
+        /// </summary>
+        [XmlElement("order_type")]
+        public string OrderType { get; set; }
+
+        /// <summary>
+        /// 业务场景;分为销帐(chargeoff)和输出(EXTERNAL)
+        /// </summary>
+        [XmlElement("scene")]
+        public string Scene { get; set; }
+
+        /// <summary>
+        /// 合作机构中文名称,如HZCB,中文名称:杭州银行
+        /// </summary>
+        [XmlElement("zh_name")]
+        public string ZhName { get; set; }
+    }
+}

+ 126 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/MerchantTicketModel.cs

@@ -0,0 +1,126 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// MerchantTicketModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class MerchantTicketModel : AopObject
+    {
+        /// <summary>
+        /// 券当前可用面额
+        /// </summary>
+        [XmlElement("available_amt")]
+        public string AvailableAmt { get; set; }
+
+        /// <summary>
+        /// 查询优惠劵类型,取值:  0:商户优惠券  1:商户红包  2:商户兑换券
+        /// </summary>
+        [XmlElement("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 抵扣金额,券初始面额  券优惠金额,可能为空               格式:浮点类型数字   精度:精确到小数点后2位
+        /// </summary>
+        [XmlElement("discount_amt")]
+        public string DiscountAmt { get; set; }
+
+        /// <summary>
+        /// 是否可转赠表示  0:不可转赠  1:可转赠
+        /// </summary>
+        [XmlElement("donate_flag")]
+        public string DonateFlag { get; set; }
+
+        /// <summary>
+        /// 扩展信息,json格式
+        /// </summary>
+        [XmlElement("ext_info")]
+        public string ExtInfo { get; set; }
+
+        /// <summary>
+        /// 券有效开始时间
+        /// </summary>
+        [XmlElement("gmt_active")]
+        public string GmtActive { get; set; }
+
+        /// <summary>
+        /// 券创建时间
+        /// </summary>
+        [XmlElement("gmt_create")]
+        public string GmtCreate { get; set; }
+
+        /// <summary>
+        /// 券有效结束时间
+        /// </summary>
+        [XmlElement("gmt_expired")]
+        public string GmtExpired { get; set; }
+
+        /// <summary>
+        /// 券使用说明
+        /// </summary>
+        [XmlElement("instructions")]
+        public string Instructions { get; set; }
+
+        /// <summary>
+        /// 券详情说明
+        /// </summary>
+        [XmlElement("memo")]
+        public string Memo { get; set; }
+
+        /// <summary>
+        /// 商户pid
+        /// </summary>
+        [XmlElement("merchant_id")]
+        public string MerchantId { get; set; }
+
+        /// <summary>
+        /// 券名称
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 是否可退款标识,取值:  REFUND_VALID:支持退款  REFUND_INVALID:不支持退款
+        /// </summary>
+        [XmlElement("refund_flag")]
+        public string RefundFlag { get; set; }
+
+        /// <summary>
+        /// 券状态,取值:  VALID:可使用  WRITED_OFF:已核销  EXPIRED:已过期  CLOSED:已关闭  WAIT_APPLY:待领取
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+
+        /// <summary>
+        /// 券模板编号
+        /// </summary>
+        [XmlElement("template_no")]
+        public string TemplateNo { get; set; }
+
+        /// <summary>
+        /// 券id
+        /// </summary>
+        [XmlElement("ticket_id")]
+        public string TicketId { get; set; }
+
+        /// <summary>
+        /// 券编号
+        /// </summary>
+        [XmlElement("ticket_no")]
+        public string TicketNo { get; set; }
+
+        /// <summary>
+        /// 券类型,现在支持两种类型,代金券MONEY和礼品券GIFT
+        /// </summary>
+        [XmlElement("type")]
+        public string Type { get; set; }
+
+        /// <summary>
+        /// 个人用户id
+        /// </summary>
+        [XmlElement("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 84 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/MicroPayOrderDetail.cs

@@ -0,0 +1,84 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// MicroPayOrderDetail Data Structure.
+    /// </summary>
+    [Serializable]
+    public class MicroPayOrderDetail : AopObject
+    {
+        /// <summary>
+        /// 支付宝订单号,此订单号作为后续支付冻结金以及转账的订单标识
+        /// </summary>
+        [XmlElement("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 支付方的支付宝userId
+        /// </summary>
+        [XmlElement("alipay_user_id")]
+        public string AlipayUserId { get; set; }
+
+        /// <summary>
+        /// 可用于支付的金额(除去服务费)
+        /// </summary>
+        [XmlElement("available_amount")]
+        public string AvailableAmount { get; set; }
+
+        /// <summary>
+        /// 订单创建时间
+        /// </summary>
+        [XmlElement("create_time")]
+        public string CreateTime { get; set; }
+
+        /// <summary>
+        /// 冻结资金的到期自动解冻时间
+        /// </summary>
+        [XmlElement("expire_time")]
+        public string ExpireTime { get; set; }
+
+        /// <summary>
+        /// 冻结金额(不包含服务费)
+        /// </summary>
+        [XmlElement("freeze_amount")]
+        public string FreezeAmount { get; set; }
+
+        /// <summary>
+        /// 备注
+        /// </summary>
+        [XmlElement("memo")]
+        public string Memo { get; set; }
+
+        /// <summary>
+        /// 商户订单号,这个是调用传入的
+        /// </summary>
+        [XmlElement("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 订单的最近修改时间
+        /// </summary>
+        [XmlElement("modified_time")]
+        public string ModifiedTime { get; set; }
+
+        /// <summary>
+        /// 订单状态:I:初始,S:成功
+        /// </summary>
+        [XmlElement("order_status")]
+        public string OrderStatus { get; set; }
+
+        /// <summary>
+        /// 支付的金额(含服务费)
+        /// </summary>
+        [XmlElement("pay_amount")]
+        public string PayAmount { get; set; }
+
+        /// <summary>
+        /// 冻结资金支付确认方式, NO_CONFIRM:不需要付款确认,调用接口直接扣款 PAY_PASSWORD: 在转账需要付款方用支付密码确认,才可以转账成功
+        /// </summary>
+        [XmlElement("pay_confirm")]
+        public string PayConfirm { get; set; }
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/OldComplextMockModel.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// OldComplextMockModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class OldComplextMockModel : AopObject
+    {
+        /// <summary>
+        /// biz_num
+        /// </summary>
+        [XmlElement("biz_num")]
+        public long BizNum { get; set; }
+
+        /// <summary>
+        /// biz_type
+        /// </summary>
+        [XmlElement("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 简单model
+        /// </summary>
+        [XmlElement("simple_mock_model")]
+        public SimpleMockModel SimpleMockModel { get; set; }
+    }
+}

+ 20 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/OldListListComplexMockModel.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// OldListListComplexMockModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class OldListListComplexMockModel : AopObject
+    {
+        /// <summary>
+        /// 复杂模型list
+        /// </summary>
+        [XmlArray("cm_list")]
+        [XmlArrayItem("old_complext_mock_model")]
+        public List<OldComplextMockModel> CmList { get; set; }
+    }
+}

+ 24 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PaymentAbilityPostbackResponse.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// PaymentAbilityPostbackResponse Data Structure.
+    /// </summary>
+    [Serializable]
+    public class PaymentAbilityPostbackResponse : AopObject
+    {
+        /// <summary>
+        /// 错误的订单信息
+        /// </summary>
+        [XmlElement("error_order")]
+        public string ErrorOrder { get; set; }
+
+        /// <summary>
+        /// 成功的订单列表,逗号分隔
+        /// </summary>
+        [XmlElement("order_ids")]
+        public string OrderIds { get; set; }
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PaymentAbilityQueryResponse.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// PaymentAbilityQueryResponse Data Structure.
+    /// </summary>
+    [Serializable]
+    public class PaymentAbilityQueryResponse : AopObject
+    {
+        /// <summary>
+        /// 附加信息,json格式字符串。暂时包含信息:是否是支付宝钱包用户,是否是数字娱乐行业活跃用户。
+        /// </summary>
+        [XmlElement("extra_infos")]
+        public string ExtraInfos { get; set; }
+
+        /// <summary>
+        /// 接口返回的支付能力等级
+        /// </summary>
+        [XmlElement("level")]
+        public string Level { get; set; }
+
+        /// <summary>
+        /// 返回的单据号
+        /// </summary>
+        [XmlElement("order_id")]
+        public string OrderId { get; set; }
+    }
+}

+ 66 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PaymentSchedule.cs

@@ -0,0 +1,66 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// PaymentSchedule Data Structure.
+    /// </summary>
+    [Serializable]
+    public class PaymentSchedule : AopObject
+    {
+        /// <summary>
+        /// 还款日
+        /// </summary>
+        [XmlElement("date")]
+        public string Date { get; set; }
+
+        /// <summary>
+        /// 已还利息总和,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("repaid_interest_total")]
+        public string RepaidInterestTotal { get; set; }
+
+        /// <summary>
+        /// 已还罚息总和,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("repaid_penalty_total")]
+        public string RepaidPenaltyTotal { get; set; }
+
+        /// <summary>
+        /// 已还本金总和,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("repaid_principal_total")]
+        public string RepaidPrincipalTotal { get; set; }
+
+        /// <summary>
+        /// 期初时间
+        /// </summary>
+        [XmlElement("start_date")]
+        public string StartDate { get; set; }
+
+        /// <summary>
+        /// 期次
+        /// </summary>
+        [XmlElement("term")]
+        public long Term { get; set; }
+
+        /// <summary>
+        /// 应还利息总和,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("unpaid_interest_total")]
+        public string UnpaidInterestTotal { get; set; }
+
+        /// <summary>
+        /// 应还罚息总和,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("unpaid_penalty_total")]
+        public string UnpaidPenaltyTotal { get; set; }
+
+        /// <summary>
+        /// 应还本金总和,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("unpaid_principal_total")]
+        public string UnpaidPrincipalTotal { get; set; }
+    }
+}

+ 54 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ProductProvider.cs

@@ -0,0 +1,54 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ProductProvider Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ProductProvider : AopObject
+    {
+        /// <summary>
+        /// 卡代英文名称 备注:淘宝交易为空
+        /// </summary>
+        [XmlElement("agency")]
+        public string Agency { get; set; }
+
+        /// <summary>
+        /// 卡代中文名称 备注:淘宝交易为空
+        /// </summary>
+        [XmlElement("agency_name")]
+        public string AgencyName { get; set; }
+
+        /// <summary>
+        /// 业务 类型
+        /// </summary>
+        [XmlElement("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 充值产品主表ID
+        /// </summary>
+        [XmlElement("id")]
+        public string Id { get; set; }
+
+        /// <summary>
+        /// 子业务类型
+        /// </summary>
+        [XmlElement("sub_biz_type")]
+        public string SubBizType { get; set; }
+
+        /// <summary>
+        /// 子运营商英文名称 备注:淘宝交易为空
+        /// </summary>
+        [XmlElement("sub_operator")]
+        public string SubOperator { get; set; }
+
+        /// <summary>
+        /// 子运营商中文名称 ,如浙江移动
+        /// </summary>
+        [XmlElement("sub_operator_name")]
+        public string SubOperatorName { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/PublicBindAccount.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// PublicBindAccount Data Structure.
+    /// </summary>
+    [Serializable]
+    public class PublicBindAccount : AopObject
+    {
+        /// <summary>
+        /// 协议号是商户会员在支付宝公众账号中的唯一标识。
+        /// </summary>
+        [XmlElement("agreement_id")]
+        public string AgreementId { get; set; }
+
+        /// <summary>
+        /// 公众账号ID
+        /// </summary>
+        [XmlElement("app_id")]
+        public string AppId { get; set; }
+
+        /// <summary>
+        /// 绑定的商户会员号
+        /// </summary>
+        [XmlElement("bind_account_no")]
+        public string BindAccountNo { get; set; }
+
+        /// <summary>
+        /// 公众账号期望支付宝用户在公众账号首页看到的关于该用户的显示信息,最长10个汉字。
+        /// </summary>
+        [XmlElement("display_name")]
+        public string DisplayName { get; set; }
+
+        /// <summary>
+        /// 绑定的商户会员对应的支付宝用户号,以2088 开头的16位数字。
+        /// </summary>
+        [XmlElement("from_user_id")]
+        public string FromUserId { get; set; }
+
+        /// <summary>
+        /// 绑定的商户会员的真实姓名,最长10个汉字。
+        /// </summary>
+        [XmlElement("real_name")]
+        public string RealName { get; set; }
+    }
+}

+ 30 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/QueryInstBillDetail.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// QueryInstBillDetail Data Structure.
+    /// </summary>
+    [Serializable]
+    public class QueryInstBillDetail : AopObject
+    {
+        /// <summary>
+        /// 明细key
+        /// </summary>
+        [XmlElement("key")]
+        public string Key { get; set; }
+
+        /// <summary>
+        /// 明细描述
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 明细对应值
+        /// </summary>
+        [XmlElement("value")]
+        public string Value { get; set; }
+    }
+}

+ 110 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/QueryInstBillInfo.cs

@@ -0,0 +1,110 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// QueryInstBillInfo Data Structure.
+    /// </summary>
+    [Serializable]
+    public class QueryInstBillInfo : AopObject
+    {
+        /// <summary>
+        /// 账单金额
+        /// </summary>
+        [XmlElement("amount")]
+        public string Amount { get; set; }
+
+        /// <summary>
+        /// 余额
+        /// </summary>
+        [XmlElement("balance")]
+        public string Balance { get; set; }
+
+        /// <summary>
+        /// 账单日期
+        /// </summary>
+        [XmlElement("bill_date")]
+        public string BillDate { get; set; }
+
+        /// <summary>
+        /// 明细说明
+        /// </summary>
+        [XmlArray("bill_detail")]
+        [XmlArrayItem("query_inst_bill_detail")]
+        public List<QueryInstBillDetail> BillDetail { get; set; }
+
+        /// <summary>
+        /// 滞纳金
+        /// </summary>
+        [XmlElement("bill_fines")]
+        public string BillFines { get; set; }
+
+        /// <summary>
+        /// 账单流水
+        /// </summary>
+        [XmlElement("bill_key")]
+        public string BillKey { get; set; }
+
+        /// <summary>
+        /// 户名
+        /// </summary>
+        [XmlElement("bill_user_name")]
+        public string BillUserName { get; set; }
+
+        /// <summary>
+        /// JDBXINHUI
+        /// </summary>
+        [XmlElement("charge_inst")]
+        public string ChargeInst { get; set; }
+
+        /// <summary>
+        /// 查询欠费单的惟一标识
+        /// </summary>
+        [XmlElement("charge_uniq_id")]
+        public string ChargeUniqId { get; set; }
+
+        /// <summary>
+        /// 销账机构
+        /// </summary>
+        [XmlElement("chargeoff_inst")]
+        public string ChargeoffInst { get; set; }
+
+        /// <summary>
+        /// 销账机构给出账机构分配的ID
+        /// </summary>
+        [XmlElement("company_id")]
+        public string CompanyId { get; set; }
+
+        /// <summary>
+        /// 扩展属性
+        /// </summary>
+        [XmlElement("extend")]
+        public string Extend { get; set; }
+
+        /// <summary>
+        /// 业务类型
+        /// </summary>
+        [XmlElement("order_type")]
+        public string OrderType { get; set; }
+
+        /// <summary>
+        /// 外部流水号
+        /// </summary>
+        [XmlElement("out_id")]
+        public string OutId { get; set; }
+
+        /// <summary>
+        /// 错误信息
+        /// </summary>
+        [XmlElement("return_message")]
+        public string ReturnMessage { get; set; }
+
+        /// <summary>
+        /// 子业务类型
+        /// </summary>
+        [XmlElement("sub_order_type")]
+        public string SubOrderType { get; set; }
+    }
+}

+ 32 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/RechargeModel.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// RechargeModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class RechargeModel : AopObject
+    {
+        /// <summary>
+        /// 号段
+        /// </summary>
+        [XmlElement("mobile_no_segment")]
+        public string MobileNoSegment { get; set; }
+
+        /// <summary>
+        /// 充送
+        /// </summary>
+        [XmlElement("pay_send")]
+        public string PaySend { get; set; }
+
+        /// <summary>
+        /// 销售产品
+        /// </summary>
+        [XmlArray("sale_products")]
+        [XmlArrayItem("sale_product")]
+        public List<SaleProduct> SaleProducts { get; set; }
+    }
+}

+ 66 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/RepaymentRecords.cs

@@ -0,0 +1,66 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// RepaymentRecords Data Structure.
+    /// </summary>
+    [Serializable]
+    public class RepaymentRecords : AopObject
+    {
+        /// <summary>
+        /// 交易时间
+        /// </summary>
+        [XmlElement("date")]
+        public string Date { get; set; }
+
+        /// <summary>
+        /// 正常本金利息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("interest")]
+        public string Interest { get; set; }
+
+        /// <summary>
+        /// 逾期本金利息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_interest")]
+        public string OverdueInterest { get; set; }
+
+        /// <summary>
+        /// 逾期利息罚息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_interest_penalty")]
+        public string OverdueInterestPenalty { get; set; }
+
+        /// <summary>
+        /// 逾期本金,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_principal")]
+        public string OverduePrincipal { get; set; }
+
+        /// <summary>
+        /// 逾期本金罚息,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("overdue_principal_penalty")]
+        public string OverduePrincipalPenalty { get; set; }
+
+        /// <summary>
+        /// 正常本金,单位为元,小数点保留2位
+        /// </summary>
+        [XmlElement("principal")]
+        public string Principal { get; set; }
+
+        /// <summary>
+        /// 备注
+        /// </summary>
+        [XmlElement("remarks")]
+        public string Remarks { get; set; }
+
+        /// <summary>
+        /// 交易总金额
+        /// </summary>
+        [XmlElement("total_amount")]
+        public string TotalAmount { get; set; }
+    }
+}

+ 48 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SaleProduct.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// SaleProduct Data Structure.
+    /// </summary>
+    [Serializable]
+    public class SaleProduct : AopObject
+    {
+        /// <summary>
+        /// 宝贝来源 例如:TAOBAO ALIPAY
+        /// </summary>
+        [XmlElement("channel_type")]
+        public string ChannelType { get; set; }
+
+        /// <summary>
+        /// 销售产品DB ID
+        /// </summary>
+        [XmlElement("id")]
+        public string Id { get; set; }
+
+        /// <summary>
+        /// 面额
+        /// </summary>
+        [XmlElement("market_price")]
+        public string MarketPrice { get; set; }
+
+        /// <summary>
+        /// 充值产品提供商
+        /// </summary>
+        [XmlElement("product_provider")]
+        public ProductProvider ProductProvider { get; set; }
+
+        /// <summary>
+        /// 销售价格
+        /// </summary>
+        [XmlElement("sale_price")]
+        public string SalePrice { get; set; }
+
+        /// <summary>
+        /// 产品状态, 0为不可用,1为可用
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+    }
+}

+ 42 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SimpleMockModel.cs

@@ -0,0 +1,42 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// SimpleMockModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class SimpleMockModel : AopObject
+    {
+        /// <summary>
+        /// 11
+        /// </summary>
+        [XmlElement("count_items")]
+        public long CountItems { get; set; }
+
+        /// <summary>
+        /// 111
+        /// </summary>
+        [XmlElement("happen_time")]
+        public string HappenTime { get; set; }
+
+        /// <summary>
+        /// 1.2f
+        /// </summary>
+        [XmlElement("price_num")]
+        public string PriceNum { get; set; }
+
+        /// <summary>
+        /// false
+        /// </summary>
+        [XmlElement("right")]
+        public bool Right { get; set; }
+
+        /// <summary>
+        /// trade_no
+        /// </summary>
+        [XmlElement("trade_no")]
+        public string TradeNo { get; set; }
+    }
+}

+ 26 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SingleFundDetailItemAOPModel.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Xml.Serialization;
+using System.Collections.Generic;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// SingleFundDetailItemAOPModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class SingleFundDetailItemAOPModel : AopObject
+    {
+        /// <summary>
+        /// 批次资金明细模型列表
+        /// </summary>
+        [XmlArray("batch_fund_item_model_list")]
+        [XmlArrayItem("batch_fund_item_a_o_p_model")]
+        public List<BatchFundItemAOPModel> BatchFundItemModelList { get; set; }
+
+        /// <summary>
+        /// 消费记录主记录
+        /// </summary>
+        [XmlElement("consume_record")]
+        public ConsumeRecordAOPModel ConsumeRecord { get; set; }
+    }
+}

+ 60 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/SinglePayDetail.cs

@@ -0,0 +1,60 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// SinglePayDetail Data Structure.
+    /// </summary>
+    [Serializable]
+    public class SinglePayDetail : AopObject
+    {
+        /// <summary>
+        /// 支付宝冻结订单号
+        /// </summary>
+        [XmlElement("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 本次支付金额
+        /// </summary>
+        [XmlElement("amount")]
+        public string Amount { get; set; }
+
+        /// <summary>
+        /// 创建时间
+        /// </summary>
+        [XmlElement("create_time")]
+        public string CreateTime { get; set; }
+
+        /// <summary>
+        /// 最近修改时间
+        /// </summary>
+        [XmlElement("modified_time")]
+        public string ModifiedTime { get; set; }
+
+        /// <summary>
+        /// 本次支付url地址
+        /// </summary>
+        [XmlElement("pay_url")]
+        public string PayUrl { get; set; }
+
+        /// <summary>
+        /// 收款人的userId
+        /// </summary>
+        [XmlElement("receive_user_id")]
+        public string ReceiveUserId { get; set; }
+
+        /// <summary>
+        /// 本次支付的支付宝流水号
+        /// </summary>
+        [XmlElement("transfer_order_no")]
+        public string TransferOrderNo { get; set; }
+
+        /// <summary>
+        /// 本次支付的外部单据号
+        /// </summary>
+        [XmlElement("transfer_out_order_no")]
+        public string TransferOutOrderNo { get; set; }
+    }
+}

+ 36 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TaobaoAutoLoginUrl.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// TaobaoAutoLoginUrl Data Structure.
+    /// </summary>
+    [Serializable]
+    public class TaobaoAutoLoginUrl : AopObject
+    {
+        /// <summary>
+        /// 业务返回状态码
+        /// </summary>
+        [XmlElement("code")]
+        public string Code { get; set; }
+
+        /// <summary>
+        /// 业务返回描述
+        /// </summary>
+        [XmlElement("message")]
+        public string Message { get; set; }
+
+        /// <summary>
+        /// 获取免登url是否成功
+        /// </summary>
+        [XmlElement("success")]
+        public bool Success { get; set; }
+
+        /// <summary>
+        /// 淘宝航旅免登url
+        /// </summary>
+        [XmlElement("taobao_auto_loginurl")]
+        public string TaobaoAutoLoginurl { get; set; }
+    }
+}

+ 102 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/Ticket.cs

@@ -0,0 +1,102 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// Ticket Data Structure.
+    /// </summary>
+    [Serializable]
+    public class Ticket : AopObject
+    {
+        /// <summary>
+        /// 可优惠面额,  券初始优惠金额  格式:浮点类型数字  精度:精确到小数点后2位
+        /// </summary>
+        [XmlElement("available_amount")]
+        public string AvailableAmount { get; set; }
+
+        /// <summary>
+        /// 是否可转赠标识,  1 支持退款  0 不支持退款
+        /// </summary>
+        [XmlElement("donate_flag")]
+        public string DonateFlag { get; set; }
+
+        /// <summary>
+        /// 扩展信息,以json形式存储
+        /// </summary>
+        [XmlElement("ext_prop")]
+        public string ExtProp { get; set; }
+
+        /// <summary>
+        /// 有效期开始时间,格式为yyyy-MM-dd HH:mm:ss
+        /// </summary>
+        [XmlElement("gmt_active")]
+        public string GmtActive { get; set; }
+
+        /// <summary>
+        /// 创建(领取)时间,格式为yyyy-MM-dd HH:mm:ss
+        /// </summary>
+        [XmlElement("gmt_create")]
+        public string GmtCreate { get; set; }
+
+        /// <summary>
+        /// 有效期结束时间,格式为yyyy-MM-dd HH:mm:ss
+        /// </summary>
+        [XmlElement("gmt_expired")]
+        public string GmtExpired { get; set; }
+
+        /// <summary>
+        /// 券使用说明
+        /// </summary>
+        [XmlElement("instructions")]
+        public string Instructions { get; set; }
+
+        /// <summary>
+        /// 券详情说明
+        /// </summary>
+        [XmlElement("memo")]
+        public string Memo { get; set; }
+
+        /// <summary>
+        /// 商户id,券所属商户,  在支付宝的partnerId
+        /// </summary>
+        [XmlElement("merchant_uniq_id")]
+        public string MerchantUniqId { get; set; }
+
+        /// <summary>
+        /// 券名称
+        /// </summary>
+        [XmlElement("name")]
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 是否可退款标识,  标识:  1 支持退款  0 不支持退款
+        /// </summary>
+        [XmlElement("refund_flag")]
+        public string RefundFlag { get; set; }
+
+        /// <summary>
+        /// 券状态信息,  目前状态主要有以下几种:   VALID:可使用   WRITED_OFF:已核销,   EXPIRED:已过期   CLOSED:已关闭
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+
+        /// <summary>
+        /// 券模板编号
+        /// </summary>
+        [XmlElement("template_no")]
+        public string TemplateNo { get; set; }
+
+        /// <summary>
+        /// 券编号
+        /// </summary>
+        [XmlElement("ticket_no")]
+        public string TicketNo { get; set; }
+
+        /// <summary>
+        /// 券类型,  表示券的种类:   TICKET:优惠券   EXCANGE:兑换券
+        /// </summary>
+        [XmlElement("ticket_type")]
+        public string TicketType { get; set; }
+    }
+}

+ 36 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TodoRemind.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// TodoRemind Data Structure.
+    /// </summary>
+    [Serializable]
+    public class TodoRemind : AopObject
+    {
+        /// <summary>
+        /// 所属产品、即消息标签。如付款、代付
+        /// </summary>
+        [XmlElement("business_type")]
+        public string BusinessType { get; set; }
+
+        /// <summary>
+        /// 消息id
+        /// </summary>
+        [XmlElement("id")]
+        public string Id { get; set; }
+
+        /// <summary>
+        /// 消息标题
+        /// </summary>
+        [XmlElement("title")]
+        public string Title { get; set; }
+
+        /// <summary>
+        /// 支付宝账号
+        /// </summary>
+        [XmlElement("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 24 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TradeFundBill.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// TradeFundBill Data Structure.
+    /// </summary>
+    [Serializable]
+    public class TradeFundBill : AopObject
+    {
+        /// <summary>
+        /// 该支付工具类型所使用的金额
+        /// </summary>
+        [XmlElement("amount")]
+        public string Amount { get; set; }
+
+        /// <summary>
+        /// 支付所使用的渠道
+        /// </summary>
+        [XmlElement("fund_channel")]
+        public string FundChannel { get; set; }
+    }
+}

+ 120 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/TradeRecord.cs

@@ -0,0 +1,120 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// TradeRecord Data Structure.
+    /// </summary>
+    [Serializable]
+    public class TradeRecord : AopObject
+    {
+        /// <summary>
+        /// 支付宝订单号
+        /// </summary>
+        [XmlElement("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 订单创建时间
+        /// </summary>
+        [XmlElement("create_time")]
+        public string CreateTime { get; set; }
+
+        /// <summary>
+        /// 资金流入流程类型,in表示收入,out表示支出
+        /// </summary>
+        [XmlElement("in_out_type")]
+        public string InOutType { get; set; }
+
+        /// <summary>
+        /// 商户订单号
+        /// </summary>
+        [XmlElement("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 订单最后修改时间
+        /// </summary>
+        [XmlElement("modified_time")]
+        public string ModifiedTime { get; set; }
+
+        /// <summary>
+        /// 对方支付宝登录号,需要隐藏
+        /// </summary>
+        [XmlElement("opposite_logon_id")]
+        public string OppositeLogonId { get; set; }
+
+        /// <summary>
+        /// 对方姓名,需要隐藏
+        /// </summary>
+        [XmlElement("opposite_name")]
+        public string OppositeName { get; set; }
+
+        /// <summary>
+        /// 对方支付宝账号
+        /// </summary>
+        [XmlElement("opposite_user_id")]
+        public string OppositeUserId { get; set; }
+
+        /// <summary>
+        /// 订单来源,为空查询所有来源。淘宝(taobao),支付宝(alipay),其它(other)
+        /// </summary>
+        [XmlElement("order_from")]
+        public string OrderFrom { get; set; }
+
+        /// <summary>
+        /// 订单状态
+        /// </summary>
+        [XmlElement("order_status")]
+        public string OrderStatus { get; set; }
+
+        /// <summary>
+        /// 订单的名称,描述订单的摘要信息,如交易的商品名称
+        /// </summary>
+        [XmlElement("order_title")]
+        public string OrderTitle { get; set; }
+
+        /// <summary>
+        /// 订单类型
+        /// </summary>
+        [XmlElement("order_type")]
+        public string OrderType { get; set; }
+
+        /// <summary>
+        /// 本方支付宝登录号,需要隐藏
+        /// </summary>
+        [XmlElement("owner_logon_id")]
+        public string OwnerLogonId { get; set; }
+
+        /// <summary>
+        /// 本方姓名,需要隐藏
+        /// </summary>
+        [XmlElement("owner_name")]
+        public string OwnerName { get; set; }
+
+        /// <summary>
+        /// 本方支付宝账号
+        /// </summary>
+        [XmlElement("owner_user_id")]
+        public string OwnerUserId { get; set; }
+
+        /// <summary>
+        /// 商户id
+        /// </summary>
+        [XmlElement("partner_id")]
+        public string PartnerId { get; set; }
+
+        /// <summary>
+        /// 订单服务费
+        /// </summary>
+        [XmlElement("service_charge")]
+        public string ServiceCharge { get; set; }
+
+        /// <summary>
+        /// 订单总金额
+        /// </summary>
+        [XmlElement("total_amount")]
+        public string TotalAmount { get; set; }
+    }
+}

+ 60 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/UnfreezeOrderDetail.cs

@@ -0,0 +1,60 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// UnfreezeOrderDetail Data Structure.
+    /// </summary>
+    [Serializable]
+    public class UnfreezeOrderDetail : AopObject
+    {
+        /// <summary>
+        /// 支付宝订单号
+        /// </summary>
+        [XmlElement("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 订单创建时间
+        /// </summary>
+        [XmlElement("create_time")]
+        public string CreateTime { get; set; }
+
+        /// <summary>
+        /// 备注
+        /// </summary>
+        [XmlElement("memo")]
+        public string Memo { get; set; }
+
+        /// <summary>
+        /// 冻结订单的商户订单号
+        /// </summary>
+        [XmlElement("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 订单的最近修改时间
+        /// </summary>
+        [XmlElement("modified_time")]
+        public string ModifiedTime { get; set; }
+
+        /// <summary>
+        /// 冻结金额(含服务费)
+        /// </summary>
+        [XmlElement("order_amount")]
+        public string OrderAmount { get; set; }
+
+        /// <summary>
+        /// 订单状态:I:初始,S:成功,F:失败
+        /// </summary>
+        [XmlElement("order_status")]
+        public string OrderStatus { get; set; }
+
+        /// <summary>
+        /// 解冻金额(含服务费)
+        /// </summary>
+        [XmlElement("unfreeze_amount")]
+        public string UnfreezeAmount { get; set; }
+    }
+}

+ 24 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ValidationRule.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ValidationRule Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ValidationRule : AopObject
+    {
+        /// <summary>
+        /// 规则校验对应的错误提示 如:户号必须为10位数字
+        /// </summary>
+        [XmlElement("error_msg")]
+        public string ErrorMsg { get; set; }
+
+        /// <summary>
+        /// 正则表达式规则 如十位数字的正则表达式为:^\d{10}$
+        /// </summary>
+        [XmlElement("rule_text")]
+        public string RuleText { get; set; }
+    }
+}

+ 42 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Domain/ZhimaRiskDetail.cs

@@ -0,0 +1,42 @@
+using System;
+using System.Xml.Serialization;
+
+namespace Aop.Api.Domain
+{
+    /// <summary>
+    /// ZhimaRiskDetail Data Structure.
+    /// </summary>
+    [Serializable]
+    public class ZhimaRiskDetail : AopObject
+    {
+        /// <summary>
+        /// 风险代码
+        /// </summary>
+        [XmlElement("risk_code")]
+        public string RiskCode { get; set; }
+
+        /// <summary>
+        /// 风险类型
+        /// </summary>
+        [XmlElement("risk_type")]
+        public string RiskType { get; set; }
+
+        /// <summary>
+        /// 当用户进行异议处理,并核查完毕之后,仍有异议时,给出声明。
+        /// </summary>
+        [XmlElement("statement")]
+        public string Statement { get; set; }
+
+        /// <summary>
+        /// 当用户本人对该条负面记录有异议时,表示该异议处理流程的状态
+        /// </summary>
+        [XmlElement("status")]
+        public string Status { get; set; }
+
+        /// <summary>
+        /// 名单类型
+        /// </summary>
+        [XmlElement("type")]
+        public string Type { get; set; }
+    }
+}

+ 28 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/IAopClient.cs

@@ -0,0 +1,28 @@
+using System.Threading.Tasks;
+using Aop.Api.Request;
+using System.Threading;
+namespace Aop.Api
+{
+    /// <summary>
+    /// AOP客户端。
+    /// </summary>
+    public interface IAopClient
+    {
+        /// <summary>
+        /// 执行AOP公开API请求。
+        /// </summary>
+        /// <typeparam name="T">领域对象</typeparam>
+        /// <param name="request">具体的AOP API请求</param>
+        /// <returns>领域对象</returns>
+        Task<T> Execute<T>(IAopRequest<T> request) where T : AopResponse;
+
+        /// <summary>
+        /// 执行AOP隐私API请求。
+        /// </summary>
+        /// <typeparam name="T">领域对象</typeparam>
+        /// <param name="request">具体的AOP API请求</param>
+        /// <param name="session">用户会话码</param>
+        /// <returns>领域对象</returns>
+        Task<T> Execute<T>(IAopRequest<T> request, string session) where T : AopResponse;
+    }
+}

+ 85 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/IAopRequest.cs

@@ -0,0 +1,85 @@
+using System.Collections.Generic;
+
+namespace Aop.Api.Request
+{
+    /// <summary>
+    /// AOP请求接口。
+    /// </summary>
+    public interface IAopRequest<T> where T : AopResponse
+    {
+
+        /// <summary>
+        /// 获取AOP的异步通知地址。
+        /// </summary>
+        /// <returns>异步通知地址</returns>
+        string GetNotifyUrl();
+
+        /// <summary>
+        /// 设置AOP的异步通知地址。
+        /// </summary>
+        /// <returns>异步通知地址</returns>
+        void SetNotifyUrl(string notifyUrl);
+
+        /// <summary>
+        /// 获取AOP的API名称。
+        /// </summary>
+        /// <returns>API名称</returns>
+        string GetApiName();
+
+        /// <summary>
+        /// 获取终端类型。
+        /// </summary>
+        /// <returns>终端类型</returns>
+		string GetTerminalType();
+
+        /// <summary>
+        /// 设置终端类型。
+        /// </summary>
+        /// <returns>终端类型</returns>
+		void SetTerminalType(string terminalType);
+
+        /// <summary>
+        /// 获取终端信息。
+        /// </summary>
+        /// <returns>终端信息</returns>
+		string GetTerminalInfo();
+
+        /// <summary>
+        /// 设置终端信息。
+        /// </summary>
+        /// <returns>终端信息</returns>
+		void SetTerminalInfo(string terminalInfo);
+
+        /// <summary>
+        /// 获取产品码。
+        /// </summary>
+        /// <returns>产品码</returns>
+        string GetProdCode();
+
+        /// <summary>
+        /// 设置产品码。
+        /// </summary>
+        /// <returns>产品码</returns>
+        void SetProdCode(string prodCode);
+
+        /// <summary>
+        /// 设置接口版本
+        /// </summary>
+        void SetApiVersion(string apiVersion);
+
+
+        /// <summary>
+        /// 返回接口版本
+        /// </summary>
+        /// <returns>接口版本</returns>
+        string GetApiVersion();
+
+        /// <summary>
+        /// 获取所有的Key-Value形式的文本请求参数字典。其中:
+        /// Key: 请求参数名
+        /// Value: 请求参数文本值
+        /// </summary>
+        /// <returns>文本请求参数字典</returns>
+        IDictionary<string, string> GetParameters();
+    }
+}

+ 19 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/IAopUploadRequest.cs

@@ -0,0 +1,19 @@
+using System.Collections.Generic;
+using Aop.Api.Util;
+
+namespace Aop.Api.Request
+{
+    /// <summary>
+    /// AOP上传请求接口,支持同时上传多个文件。
+    /// </summary>
+    public interface IAopUploadRequest<T> : IAopRequest<T> where T : AopResponse
+    {
+        /// <summary>
+        /// 获取所有的Key-Value形式的文件请求参数字典。其中:
+        /// Key: 请求参数名
+        /// Value: 文件对象
+        /// </summary>
+        /// <returns>文件请求参数字典</returns>
+        IDictionary<string, FileItem> GetFileParameters();
+    }
+}

+ 52 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/BooleanObject.cs

@@ -0,0 +1,52 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock
+{
+    #region Imports
+
+    using System;
+
+    #endregion
+
+    internal sealed class BooleanObject
+    {
+        //
+        // The following two statics are only used as an optimization so that we
+        // don't create a boxed Boolean each time an Object is expecting somewhere.
+        // This should help put a little less pressure on the GC where possible.
+        //
+
+        public readonly static object True = true;
+        public readonly static object False = false;
+        
+        public static object Box(bool value)
+        {
+            return value ? True : False;
+        }
+        
+        private BooleanObject()
+        {
+            throw new NotSupportedException();
+        }
+    }
+}

+ 129 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Collections/KeyedCollection.cs

@@ -0,0 +1,129 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock.Collections
+{
+    #region Imports
+
+    using System;
+    using System.Collections;
+
+    #endregion
+
+    [ Serializable ]
+    public abstract class KeyedCollection : CollectionBase
+    {
+        private Hashtable _valueByKey; // TODO: Mark [ NonSerializable ] and implement IDeserializationCallback
+
+        protected KeyedCollection()
+        {
+            _valueByKey = new Hashtable();
+        }
+        
+        private Hashtable ValueByKey
+        {
+            get { return _valueByKey; }
+        }
+
+        protected void Add(object value)
+        {
+            List.Add(value);
+        }
+
+        protected object GetByKey(object key)
+        {
+            if (key == null)
+                throw new ArgumentNullException("key");
+            
+            return ValueByKey[key];
+        }
+
+        protected bool Contains(object key)
+        {
+            if (key == null)
+                throw new ArgumentNullException("key");
+            
+            return ValueByKey.ContainsKey(key);
+        }
+
+        protected bool Remove(object key)
+        {
+            if (key == null)
+                throw new ArgumentNullException("key");
+
+            object value = GetByKey(key);
+            
+            if (value == null)
+                return false;
+            
+            List.Remove(value);
+            return true;
+        }
+
+        protected override void OnValidate(object value)
+        {
+            base.OnValidate(value);
+            
+            if (KeyFromValue(value) == null)
+                throw new ArgumentException("value");
+        }
+
+        protected override void OnInsertComplete(int index, object value)
+        {
+            ValueByKey.Add(KeyFromValue(value), value);
+            base.OnInsertComplete(index, value);
+        }
+
+        protected override void OnRemoveComplete(int index, object value)
+        {
+            ValueByKey.Remove(KeyFromValue(value));
+            base.OnRemoveComplete(index, value);
+        }
+
+        protected override void OnSetComplete(int index, object oldValue, object newValue)
+        {
+            ValueByKey.Remove(KeyFromValue(oldValue));
+            ValueByKey.Add(KeyFromValue(newValue), newValue);
+            base.OnSetComplete(index, oldValue, newValue);
+        }
+
+        protected override void OnClearComplete()
+        {
+            ValueByKey.Clear();
+            base.OnClearComplete();
+        }
+
+        protected void ListKeysByIndex(Array keys)
+        {
+            if (keys == null)
+                throw new ArgumentNullException("keys");
+            
+            if (keys.Rank != 1)
+                throw new ArgumentException("keys");
+
+            for (int i = 0; i < Math.Min(Count, keys.Length); i++)
+                keys.SetValue(KeyFromValue(InnerList[i]), i);
+        }
+
+        protected abstract object KeyFromValue(object value);
+    }
+}

+ 45 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Compat.cs

@@ -0,0 +1,45 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock
+{
+    #region Imports
+
+    using System;
+
+    #endregion
+
+    internal sealed class Compat
+    {
+        public static Type FindType(string typeName)
+        {
+            return Type.GetType(typeName, /* throwOnError = */ false, /* ignoreCase = */ false);
+        }
+
+        public static Type GetType(string typeName)
+        {
+            return Type.GetType(typeName, /* throwOnError = */ true, /* ignoreCase = */ false);
+        }
+        
+        private Compat() {}
+    }
+}

+ 137 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Configuration/DictionarySectionHandler.cs

@@ -0,0 +1,137 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock.Configuration
+{
+    #region Imports
+
+    using System;
+    using System.Collections;
+    using System.Configuration;
+    using System.Globalization;
+    using System.Xml;
+
+    #endregion
+
+    public class DictionarySectionHandler : IConfigurationSectionHandler
+    {
+        public virtual object Create(object parent, object configContext, XmlNode section)
+        {
+            if (section == null)
+                throw new ArgumentNullException("section");
+
+            IDictionary dictionary = CreateDictionary(parent);
+
+            string keyName = KeyName;
+
+            foreach (XmlNode childNode in section.ChildNodes)
+            {
+                if (childNode.NodeType == XmlNodeType.Comment ||
+                    childNode.NodeType == XmlNodeType.Whitespace)
+                {
+                    continue;
+                }
+
+                if (childNode.NodeType != XmlNodeType.Element)
+                {
+                    throw new ConfigurationErrorsException(string.Format("Unexpected type of node ({0}) in configuration.",
+                        childNode.NodeType.ToString()), childNode);
+                }
+
+                string nodeName = childNode.Name;
+
+                if (nodeName == "clear")
+                {
+                    OnClear(dictionary);
+                }
+                else
+                {
+                    XmlAttribute keyAttribute = childNode.Attributes[keyName];
+                    string key = keyAttribute == null ? null : keyAttribute.Value;
+
+                    if (key == null || key.Length == 0)
+                        throw new ConfigurationErrorsException("Missing entry key.", childNode);
+
+                    if (nodeName == "add")
+                    {
+                        OnAdd(dictionary, key, childNode);
+                    }
+                    else if (nodeName == "remove")
+                    {
+                        OnRemove(dictionary, key);
+                    }
+                    else
+                    {
+                        throw new ConfigurationErrorsException(string.Format("'{0}' is not a valid dictionary node. Use add, remove or clear.", nodeName), childNode);
+                    }
+                }
+            }
+
+            return dictionary;
+        }
+
+        protected virtual IDictionary CreateDictionary(object parent)
+        {
+            return parent != null ?
+                new Hashtable((IDictionary)parent, StringComparer.InvariantCultureIgnoreCase) :
+                new Hashtable(StringComparer.InvariantCultureIgnoreCase);
+        }
+
+        protected virtual string KeyName
+        {
+            get { return "key"; }
+        }
+
+        protected virtual string ValueName
+        {
+            get { return "value"; }
+        }
+
+        protected virtual void OnAdd(IDictionary dictionary, string key, XmlNode node)
+        {
+            if (dictionary == null)
+                throw new ArgumentNullException("dictionary");
+
+            if (node == null)
+                throw new ArgumentNullException("node");
+
+            XmlAttribute valueAttribute = node.Attributes[ValueName];
+            dictionary.Add(key, valueAttribute != null ? valueAttribute.Value : null);
+        }
+
+        protected virtual void OnRemove(IDictionary dictionary, string key)
+        {
+            if (dictionary == null)
+                throw new ArgumentNullException("dictionary");
+
+            dictionary.Remove(key);
+        }
+
+        protected virtual void OnClear(IDictionary dictionary)
+        {
+            if (dictionary == null)
+                throw new ArgumentNullException("dictionary");
+
+            dictionary.Clear();
+        }
+    }
+}

+ 98 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Configuration/ListSectionHandler.cs

@@ -0,0 +1,98 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock.Configuration
+{
+    #region Imports
+
+    using System;
+    using System.Collections;
+    using System.Configuration;
+    using System.Xml;
+
+    #endregion
+
+    public abstract class ListSectionHandler : IConfigurationSectionHandler
+    {
+        private readonly string _elementName;
+
+        protected ListSectionHandler(string elementName)
+        {
+            if (elementName == null)
+                throw new ArgumentNullException("elementName");
+            
+            if (elementName.Length == 0)
+                throw new ArgumentException("elementName");
+            
+            _elementName = elementName;
+        }
+
+        protected string ElementName
+        {
+            get { return _elementName; }
+        }
+
+        public virtual object Create(object parent, object configContext, XmlNode section)
+        {
+            if (section == null)
+                throw new ArgumentNullException("section");
+
+            IList list = CreateList(parent);
+
+            string itemName = ElementName;
+
+            foreach (XmlNode childNode in section.ChildNodes)
+            {
+                if (childNode.NodeType == XmlNodeType.Comment ||
+                    childNode.NodeType == XmlNodeType.Whitespace)
+                {
+                    continue;
+                }
+
+                if (childNode.NodeType != XmlNodeType.Element)
+                {
+                    throw new ConfigurationErrorsException(string.Format("Unexpected type of node ({0}) in configuration.", 
+                        childNode.NodeType.ToString()), childNode);
+                }
+
+                if (childNode.Name != itemName)
+                {
+                    throw new ConfigurationErrorsException(string.Format("Element <{0}> is not valid here in configuration. Use <{1}> elements only.", 
+                        childNode.Name, itemName), childNode);
+                }
+
+                list.Add(GetItem((XmlElement) childNode));
+            }
+            
+            return list;
+        }
+
+        protected virtual IList CreateList(object parent)
+        {
+            return parent != null ?
+                new ArrayList((ICollection) parent) :
+                new ArrayList(/* capacity */ 4);
+        }
+        
+        protected abstract object GetItem(XmlElement element);
+    }
+}

+ 92 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Configuration/TypeListSectionHandler.cs

@@ -0,0 +1,92 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock.Configuration
+{
+    #region Imports
+
+    using System;
+    using System.Collections;
+    using System.Configuration;
+    using System.Xml;
+
+    #endregion
+
+    public class TypeListSectionHandler : ListSectionHandler
+    {
+        private readonly Type _expectedType;
+        
+        public TypeListSectionHandler(string elementName) : 
+            this(elementName, null) {}
+
+        public TypeListSectionHandler(string elementName, Type expectedType) : 
+            base(elementName)
+        {
+            _expectedType = expectedType;
+        }
+
+        protected Type ExpectedType
+        {
+            get { return _expectedType; }
+        }
+
+        protected override object GetItem(XmlElement element)
+        {
+            if (element == null)
+                throw new ArgumentNullException("element");
+
+            string typeName = element.GetAttribute("type");
+            
+            if (typeName.Length == 0)
+            {
+                throw new ConfigurationErrorsException(string.Format("Missing type name specification on <{0}> element.", ElementName), element);
+            }
+
+            Type type = GetType(typeName);
+            ValidateType(type, element);
+            return type;
+        }
+ 
+        protected virtual void ValidateType(Type type, XmlElement element)
+        {
+            if (type == null)
+                throw new ArgumentNullException("type");
+
+            if (element == null)
+                throw new ArgumentNullException("element");
+            
+            if (ExpectedType == null)
+                return;
+            
+            if (!ExpectedType.IsAssignableFrom(type))
+                throw new ConfigurationErrorsException(string.Format("The type {0} is not valid for the <{2}> configuration element. It must be compatible with the type {1}.", type.FullName, ExpectedType.FullName, element.Name), element);
+        }
+
+        protected virtual Type GetType(string typeName) 
+        {
+            if (typeName == null)
+                throw new ArgumentNullException("typeName");
+            
+            return Compat.GetType(typeName);
+        }
+    }
+}

+ 77 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/Diagnostics/DebugString.cs

@@ -0,0 +1,77 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock.Diagnostics
+{
+    #region Imports
+
+    using System;
+    using System.Diagnostics;
+    using System.Globalization;
+    using System.Text;
+
+    #endregion
+
+    /// <summary>
+    /// This type supports the Jayrock infrastructure and is not intended to 
+    /// be used directly from your code.
+    /// </summary>
+
+    public sealed class DebugString
+    {
+        public static readonly string Ellipsis = "\x2026";
+        public static readonly char ControlReplacement = '?';
+        
+        public static string Format(string s)
+        {
+            return Format(s, 50);
+        }
+
+        public static string Format(string s, int width)
+        {
+            Debug.Assert(width > Ellipsis.Length);
+            
+            if (s == null)
+                return string.Empty;
+            
+            StringBuilder sb = new StringBuilder(width);
+
+            for (int i = 0; i < Math.Min(width, s.Length); i++)
+            {
+                sb.Append(!Char.IsControl(s, i) ? s[i] : ControlReplacement);
+            }
+            
+            if (s.Length > width)
+            {
+                sb.Remove(width - Ellipsis.Length, Ellipsis.Length);
+                sb.Append(Ellipsis);
+            }
+            
+            return sb.ToString();
+        }
+
+        private DebugString()
+        {
+            throw new NotSupportedException();
+        }
+    }
+}

+ 290 - 0
FuelCloud/ElectronicPayment/Alipay_SDK_ALL/Jayrock/Json/IndentedTextWriter.cs

@@ -0,0 +1,290 @@
+#region License, Terms and Conditions
+//
+// Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono
+// Written by Atif Aziz (atif.aziz@skybow.com)
+// Copyright (c) 2005 Atif Aziz. All rights reserved.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License as published by the Free
+// Software Foundation; either version 2.1 of the License, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful, but WITHOUT
+// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+// details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with this library; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
+//
+#endregion
+
+namespace Jayrock
+{
+    #region Imports
+
+    using System;
+    using System.Globalization;
+    using System.IO;
+    using System.Text;
+
+    #endregion
+
+    /// <summary>
+    /// Drop-in replacement for <see cref="System.CodeDom.Compiler.IndentedTextWriter"/>
+    /// that does not require a full-trust link and inheritance demand.
+    /// </summary>
+
+    public sealed class IndentedTextWriter : TextWriter
+    {
+        private TextWriter _writer;
+        private int _level;
+        private bool _tabsPending;
+        private string _tab;
+
+        public const string DefaultTabString = "\x20\x20\x20\x20";
+
+        public IndentedTextWriter(TextWriter writer) : 
+            this(writer, DefaultTabString) {}
+
+        public IndentedTextWriter(TextWriter writer, string tabString) : 
+            base(CultureInfo.InvariantCulture)
+        {
+            _writer = writer;
+            _tab = tabString;
+            _level = 0;
+            _tabsPending = false;
+        }
+
+        public override Encoding Encoding
+        {
+            get { return _writer.Encoding; }
+        }
+
+        public override string NewLine
+        {
+            get { return _writer.NewLine; }
+
+            set { _writer.NewLine = value; }
+        }
+
+        public int Indent
+        {
+            get { return _level; }
+            set { _level = value < 0 ? 0 : value; }
+        }
+
+        public TextWriter InnerWriter
+        {
+            get { return _writer; }
+        }
+
+        internal string TabString
+        {
+            get { return _tab; }
+        }
+
+        public override void Close()
+        {
+            _writer.Close();
+        }
+
+        public override void Flush()
+        {
+            _writer.Flush();
+        }
+
+        public override void Write(string s)
+        {
+            WritePendingTabs();
+            _writer.Write(s);
+        }
+
+        public override void Write(bool value)
+        {
+            WritePendingTabs();
+            _writer.Write(value);
+        }
+
+        public override void Write(char value)
+        {
+            WritePendingTabs();
+            _writer.Write(value);
+        }
+
+        public override void Write(char[] buffer)
+        {
+            WritePendingTabs();
+            _writer.Write(buffer);
+        }
+
+        public override void Write(char[] buffer, int index, int count)
+        {
+            WritePendingTabs();
+            _writer.Write(buffer, index, count);
+        }
+
+        public override void Write(double value)
+        {
+            WritePendingTabs();
+            _writer.Write(value);
+        }
+
+        public override void Write(float value)
+        {
+            WritePendingTabs();
+            _writer.Write(value);
+        }
+
+        public override void Write(int value)
+        {
+            WritePendingTabs();
+            _writer.Write(value);
+        }
+
+        public override void Write(long value)
+        {
+            WritePendingTabs();
+            _writer.Write(value);
+        }
+
+        public override void Write(object value)
+        {
+            WritePendingTabs();
+            _writer.Write(value);
+        }
+
+        public override void Write(string format, object arg0)
+        {
+            WritePendingTabs();
+            _writer.Write(format, arg0);
+        }
+
+        public override void Write(string format, object arg0, object arg1)
+        {
+            WritePendingTabs();
+            _writer.Write(format, arg0, arg1);
+        }
+
+        public override void Write(string format, params object[] arg)
+        {
+            WritePendingTabs();
+            _writer.Write(format, arg);
+        }
+
+        public void WriteLineNoTabs(string s)
+        {
+            _writer.WriteLine(s);
+        }
+
+        public override void WriteLine(string s)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(s);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine()
+        {
+            WritePendingTabs();
+            _writer.WriteLine();
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(bool value)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(value);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(char value)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(value);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(char[] buffer)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(buffer);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(char[] buffer, int index, int count)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(buffer, index, count);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(double value)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(value);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(float value)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(value);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(int value)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(value);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(long value)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(value);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(object value)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(value);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(string format, object arg0)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(format, arg0);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(string format, object arg0, object arg1)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(format, arg0, arg1);
+            _tabsPending = true;
+        }
+
+        public override void WriteLine(string format, params object[] arg)
+        {
+            WritePendingTabs();
+            _writer.WriteLine(format, arg);
+            _tabsPending = true;
+        }
+
+        private void WritePendingTabs()
+        {
+            if (!_tabsPending)
+                return;
+
+            _tabsPending = false;
+
+            for (int i = 0; i < _level; i++)
+                _writer.Write(_tab);
+        }
+    }
+}

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.