浏览代码

同步 alipay-sdk-NET-4.0.0 更新 #41

Roc 6 年之前
父节点
当前提交
cb9775fd46
共有 100 个文件被更改,包括 3546 次插入21 次删除
  1. 13 1
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AccDetailModel.cs
  2. 96 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AccountLogItemResult.cs
  3. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AliosOpenAutoInfoQueryModel.cs
  4. 18 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncInvoiceMailinfoQueryModel.cs
  5. 12 6
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateFacefeatureReportUploadModel.cs
  6. 13 7
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateLocalfaceCompareSyncModel.cs
  7. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceGeofenceBindModel.cs
  8. 18 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceGeofenceQueryModel.cs
  9. 30 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceGeofenceSetModel.cs
  10. 18 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceLocationQueryModel.cs
  11. 30 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceTraceQueryModel.cs
  12. 12 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotSdarttoolPrintSendModel.cs
  13. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportIndustryProxyUseModel.cs
  14. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusPredictresultQueryModel.cs
  15. 55 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusTotalodQueryModel.cs
  16. 48 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillAccountlogQueryModel.cs
  17. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillBailQueryModel.cs
  18. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillBalancehisQueryModel.cs
  19. 54 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillBuyQueryModel.cs
  20. 54 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillSellQueryModel.cs
  21. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillTransferQueryModel.cs
  22. 49 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataservicePropertyBusinesspropertyBatchqueryModel.cs
  23. 121 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataservicePropertyBusinesspropertyCreateModel.cs
  24. 85 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataservicePropertyBusinesspropertyModifyModel.cs
  25. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDingMessageSendModel.cs
  26. 48 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterBindModel.cs
  27. 36 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterStatusGetModel.cs
  28. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTaskCancelModel.cs
  29. 48 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTaskSubmitModel.cs
  30. 36 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTasksCancelModel.cs
  31. 36 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTokenGetModel.cs
  32. 36 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterUnbindModel.cs
  33. 48 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataSoundSetModel.cs
  34. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppRechargeTradeDetectModel.cs
  35. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFinanceQuotationFindataSendModel.cs
  36. 85 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundBatchCreateModel.cs
  37. 31 7
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundBatchDetailQueryModel.cs
  38. 30 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayInsDataDiseaseQueryModel.cs
  39. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayInsDataHospitalQueryModel.cs
  40. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayIserviceCognitiveClassificationWasteQueryModel.cs
  41. 61 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderCreateandpayModel.cs
  42. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderPointQueryModel.cs
  43. 55 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderRefundModel.cs
  44. 30 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydetailConsumerQueryModel.cs
  45. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel.cs
  46. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSyncModel.cs
  47. 49 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantWeikeInvoiceNotifyModel.cs
  48. 60 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMiniCardData.cs
  49. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppDfsfasDeQueryModel.cs
  50. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageSubscriptionModifyModel.cs
  51. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageSubscriptionQueryModel.cs
  52. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageTopicSubscribeModel.cs
  53. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageTopicUnsubscribeModel.cs
  54. 30 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAuthLoginApplyModel.cs
  55. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAuthUserauthRelationshipCertifyModel.cs
  56. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniActivityModuleQueryModel.cs
  57. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniActivityTaskequityReceiveModel.cs
  58. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniBaseinfoMultiQueryModel.cs
  59. 114 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniDeploypackageQueryModel.cs
  60. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniDeveloppackageQueryModel.cs
  61. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerappCreateModel.cs
  62. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionAuditSubmitModel.cs
  63. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionBatchqueryModel.cs
  64. 132 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionBuildauditSubmitModel.cs
  65. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionContentRollbackModel.cs
  66. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionInfoDeleteModel.cs
  67. 36 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionLastQueryModel.cs
  68. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionPreonlineConfirmModel.cs
  69. 48 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionSyncModel.cs
  70. 30 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniMiniappHistoryQueryModel.cs
  71. 30 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateBatchqueryModel.cs
  72. 67 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateCreateModel.cs
  73. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateModifyModel.cs
  74. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateOfflineModel.cs
  75. 18 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniQrcodeUnbindModel.cs
  76. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniTemplateUsageQueryModel.cs
  77. 24 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionAuditCancelModel.cs
  78. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionAuditedCancelModel.cs
  79. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionBuildQueryModel.cs
  80. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionDeleteModel.cs
  81. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionDetailQueryModel.cs
  82. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionGrayCancelModel.cs
  83. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionGrayOnlineModel.cs
  84. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionOfflineModel.cs
  85. 6 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionUploadModel.cs
  86. 54 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenOperationBizfeeActivityApplyModel.cs
  87. 66 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitBeneficialinfoCertifyModel.cs
  88. 90 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitBeneficialinfoQueryModel.cs
  89. 126 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitFundInitializeModel.cs
  90. 66 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitFundTransferModel.cs
  91. 60 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitFxtradeorderCreateModel.cs
  92. 48 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitResultFinishModel.cs
  93. 60 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecAcodeDecodeUseModel.cs
  94. 42 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiAuthBusinessConfirmModel.cs
  95. 54 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditLoanCommissionQueryModel.cs
  96. 18 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityProdCheckIqQueryModel.cs
  97. 18 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityProdDfesfDefBatchqueryModel.cs
  98. 54 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialAntforestAccountTransferModel.cs
  99. 18 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialAntforestEnergyQueryModel.cs
  100. 48 0
      src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialAntforestPlantApplyModel.cs

+ 13 - 1
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AccDetailModel.cs

@@ -22,7 +22,13 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         public CertInfo CertInfo { get; set; }
 
         /// <summary>
-        /// 明细流水号
+        /// 支付宝系统内部明细单号。
+        /// </summary>
+        [JsonProperty("detail_id")]
+        public string DetailId { get; set; }
+
+        /// <summary>
+        /// 明细流水号(注:只有境外代发使用,其他场景请使用out_biz_no)
         /// </summary>
         [JsonProperty("detail_no")]
         public string DetailNo { get; set; }
@@ -51,6 +57,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("need_retry")]
         public string NeedRetry { get; set; }
 
+        /// <summary>
+        /// 商户明细订单号
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
         /// <summary>
         /// 收款方信息。
         /// </summary>

+ 96 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AccountLogItemResult.cs

@@ -0,0 +1,96 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AccountLogItemResult Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AccountLogItemResult : AlipayObject
+    {
+        /// <summary>
+        /// 支付宝账务流水号。对账使用,不脱敏
+        /// </summary>
+        [JsonProperty("account_log_id")]
+        public string AccountLogId { get; set; }
+
+        /// <summary>
+        /// 支付宝订单号。对账使用,不脱敏
+        /// </summary>
+        [JsonProperty("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 余额,仅供参考。由于架构原因,余额变动并不保证连续。也就是余额不一定等于上一笔余额减去当笔金额。但是会保证最终一致。
+        /// </summary>
+        [JsonProperty("balance")]
+        public string Balance { get; set; }
+
+        /// <summary>
+        /// 业务账单来源,资金收支对应的上游业务订单数据来源,确认业务订单出处。此字段供商户对账使用,不脱敏。
+        /// </summary>
+        [JsonProperty("bill_source")]
+        public string BillSource { get; set; }
+
+        /// <summary>
+        /// 业务描述,资金收支对应的详细业务场景信息。此字段供商户对账使用,不脱敏。
+        /// </summary>
+        [JsonProperty("biz_desc")]
+        public string BizDesc { get; set; }
+
+        /// <summary>
+        /// 业务订单号,资金收支相关的业务场景订单号明细,字母大写;M:平台交易主单号,S:平台交易子单号,O:业务系统单据号(如退款订单号)。此字段供商户对账使用,不脱敏。
+        /// </summary>
+        [JsonProperty("biz_nos")]
+        public string BizNos { get; set; }
+
+        /// <summary>
+        /// 业务基础订单号,资金收支对应的原始业务订单唯一识别编号。此字段供商户对账使用,不脱敏。
+        /// </summary>
+        [JsonProperty("biz_orig_no")]
+        public string BizOrigNo { get; set; }
+
+        /// <summary>
+        /// 收入/支出。表示收支。amount是正数,返回“收入”。amount是负数,返回“支出”
+        /// </summary>
+        [JsonProperty("direction")]
+        public string Direction { get; set; }
+
+        /// <summary>
+        /// 商户订单号,创建支付宝交易时传入的信息。对账使用,不脱敏
+        /// </summary>
+        [JsonProperty("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 对方账户
+        /// </summary>
+        [JsonProperty("other_account")]
+        public string OtherAccount { get; set; }
+
+        /// <summary>
+        /// 金额
+        /// </summary>
+        [JsonProperty("trans_amount")]
+        public string TransAmount { get; set; }
+
+        /// <summary>
+        /// 入账时间
+        /// </summary>
+        [JsonProperty("trans_dt")]
+        public string TransDt { get; set; }
+
+        /// <summary>
+        /// 账务备注。由上游业务决定,不可依赖此字段进行对账
+        /// </summary>
+        [JsonProperty("trans_memo")]
+        public string TransMemo { get; set; }
+
+        /// <summary>
+        /// 账务记录的类型,仅供参考
+        /// </summary>
+        [JsonProperty("type")]
+        public string Type { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AliosOpenAutoInfoQueryModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AliosOpenAutoInfoQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AliosOpenAutoInfoQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 设备token
+        /// </summary>
+        [JsonProperty("device_token")]
+        public string DeviceToken { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 18 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncInvoiceMailinfoQueryModel.cs

@@ -0,0 +1,18 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayBossFncInvoiceMailinfoQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayBossFncInvoiceMailinfoQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 邮寄ID,唯一性ID,邮寄信息表唯一主键ID
+        /// </summary>
+        [JsonProperty("mail_id")]
+        public string MailId { get; set; }
+    }
+}

+ 12 - 6
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateFacefeatureReportUploadModel.cs

@@ -10,7 +10,13 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
     public class AlipayCommerceEducateFacefeatureReportUploadModel : AlipayObject
     {
         /// <summary>
-        /// 图片encode base64 String
+        /// 参数来源 客户端BehaviourLog-> aesCypher 参数
+        /// </summary>
+        [JsonProperty("aes_cypher")]
+        public string AesCypher { get; set; }
+
+        /// <summary>
+        /// 参数来源 客户端BehaviourLog->imageBlob 参数
         /// </summary>
         [JsonProperty("auth_img")]
         public string AuthImg { get; set; }
@@ -22,31 +28,31 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         public string BizCode { get; set; }
 
         /// <summary>
-        /// 商户机具编码
+        /// 商户机具编码即机具sn号
         /// </summary>
         [JsonProperty("device_num")]
         public string DeviceNum { get; set; }
 
         /// <summary>
-        /// 机构ID
+        /// 国家统一分配的学校社会信用代码(institution_id)
         /// </summary>
         [JsonProperty("inst_id")]
         public string InstId { get; set; }
 
         /// <summary>
-        /// 合作商户简称
+        /// 必须是由支付宝业务方分配的英文简称(例如:yikeshixx),不能是中文
         /// </summary>
         [JsonProperty("isv_name")]
         public string IsvName { get; set; }
 
         /// <summary>
-        /// 场景码
+        /// 没有特殊情况固定传internal+alipay+atomicZolozBio+faceFeature
         /// </summary>
         [JsonProperty("scene_code")]
         public string SceneCode { get; set; }
 
         /// <summary>
-        /// 商户透传人脸客户端信息
+        /// 商户透传人脸客户端信息json格式字符串, 参数来源 客户端BehaviourLog-> logBlob 参数
         /// </summary>
         [JsonProperty("z_face_info")]
         public string ZFaceInfo { get; set; }

+ 13 - 7
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateLocalfaceCompareSyncModel.cs

@@ -10,25 +10,31 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
     public class AlipayCommerceEducateLocalfaceCompareSyncModel : AlipayObject
     {
         /// <summary>
-        /// 算法版本
+        /// 客户端BehaviourLog-> aesCypher 参数
+        /// </summary>
+        [JsonProperty("aes_cypher")]
+        public string AesCypher { get; set; }
+
+        /// <summary>
+        /// 参照示例传入
         /// </summary>
         [JsonProperty("alg_ver")]
         public string AlgVer { get; set; }
 
         /// <summary>
-        /// 图片encode base64处理后的字符串
+        /// 客户端BehaviourLog->imageBlob参数
         /// </summary>
         [JsonProperty("auth_img")]
         public string AuthImg { get; set; }
 
         /// <summary>
-        /// SCHOOL_FACE_PAYMENT: 校园刷脸支付  SCHOOL_ENTRANCE_GUARD:校园门禁
+        /// SCHOOL_PAYMENT: 校园刷脸支付 SCHOOL_ENTRANCE_GUARD:校园门禁
         /// </summary>
         [JsonProperty("biz_code")]
         public string BizCode { get; set; }
 
         /// <summary>
-        /// 业务流水唯一ID
+        /// 业务流水唯一ID,isv自定义,保证唯一性
         /// </summary>
         [JsonProperty("biz_id")]
         public string BizId { get; set; }
@@ -46,19 +52,19 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         public string FaceDataType { get; set; }
 
         /// <summary>
-        /// 人脸本地1:N比对后的用户ID
+        /// 参数来源填写特征文件中对应的face_id 人脸本地1:N比对后的用户ID
         /// </summary>
         [JsonProperty("fuid")]
         public string Fuid { get; set; }
 
         /// <summary>
-        /// ISV的名称
+        /// 必须是由支付宝业务方分配的英文简称(例如:yikeshixx),不能是中文
         /// </summary>
         [JsonProperty("isv_name")]
         public string IsvName { get; set; }
 
         /// <summary>
-        /// 学校机构编码
+        /// 国家统一分配的学校社会信用代码(institution_id)
         /// </summary>
         [JsonProperty("organize_id")]
         public string OrganizeId { get; set; }

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceGeofenceBindModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayCommerceIotDeviceGeofenceBindModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayCommerceIotDeviceGeofenceBindModel : AlipayObject
+    {
+        /// <summary>
+        /// 设备的唯一标识,设备id
+        /// </summary>
+        [JsonProperty("biz_tid")]
+        public string BizTid { get; set; }
+
+        /// <summary>
+        /// 一组地理围栏的唯一标识, 通常一条公交线路.  一个设备只能绑定一条线路; 如果设备多次绑定线路, 以最新的线路为准; 如果不传route_code,表示将设备与现有线路解除绑定
+        /// </summary>
+        [JsonProperty("route_code")]
+        public string RouteCode { get; set; }
+    }
+}

+ 18 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceGeofenceQueryModel.cs

@@ -0,0 +1,18 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayCommerceIotDeviceGeofenceQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayCommerceIotDeviceGeofenceQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 一组地理围栏的唯一标识, 通常一条公交线路.
+        /// </summary>
+        [JsonProperty("route_code")]
+        public string RouteCode { get; set; }
+    }
+}

+ 30 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceGeofenceSetModel.cs

@@ -0,0 +1,30 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayCommerceIotDeviceGeofenceSetModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayCommerceIotDeviceGeofenceSetModel : AlipayObject
+    {
+        /// <summary>
+        /// 地图围栏事件. 如果是createOrUpdate,则必填,如果是delete,则可不填
+        /// </summary>
+        [JsonProperty("fence_event")]
+        public FenceEvent FenceEvent { get; set; }
+
+        /// <summary>
+        /// 操作类型.取值:createOrUpdate/delete. 表示新增或修改/删除该地理围栏事件
+        /// </summary>
+        [JsonProperty("operation_type")]
+        public string OperationType { get; set; }
+
+        /// <summary>
+        /// 一组地理围栏的唯一标识, 通常一条公交线路
+        /// </summary>
+        [JsonProperty("route_code")]
+        public string RouteCode { get; set; }
+    }
+}

+ 18 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceLocationQueryModel.cs

@@ -0,0 +1,18 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayCommerceIotDeviceLocationQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayCommerceIotDeviceLocationQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 设备唯一标识,设备id
+        /// </summary>
+        [JsonProperty("biz_tid")]
+        public string BizTid { get; set; }
+    }
+}

+ 30 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotDeviceTraceQueryModel.cs

@@ -0,0 +1,30 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayCommerceIotDeviceTraceQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayCommerceIotDeviceTraceQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 设备唯一标识,设备id
+        /// </summary>
+        [JsonProperty("biz_tid")]
+        public string BizTid { get; set; }
+
+        /// <summary>
+        /// 查询轨迹的结束时间.必须在当前时间的1小时之内
+        /// </summary>
+        [JsonProperty("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 查询轨迹的开始时间. 必须在当前时间的1小时之内
+        /// </summary>
+        [JsonProperty("start_time")]
+        public string StartTime { get; set; }
+    }
+}

+ 12 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotSdarttoolPrintSendModel.cs

@@ -9,6 +9,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
     [Serializable]
     public class AlipayCommerceIotSdarttoolPrintSendModel : AlipayObject
     {
+        /// <summary>
+        /// 扩展字段
+        /// </summary>
+        [JsonProperty("ext_info")]
+        public string ExtInfo { get; set; }
+
         /// <summary>
         /// 唯一请求流水号
         /// </summary>
@@ -44,5 +50,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("supplier_id")]
         public string SupplierId { get; set; }
+
+        /// <summary>
+        /// 走纸行数默为03
+        /// </summary>
+        [JsonProperty("walk_paper")]
+        public string WalkPaper { get; set; }
     }
 }

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportIndustryProxyUseModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayCommerceTransportIndustryProxyUseModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayCommerceTransportIndustryProxyUseModel : AlipayObject
+    {
+        /// <summary>
+        /// 描述当前行业代理请求的请求事件
+        /// </summary>
+        [JsonProperty("industry_event")]
+        public string IndustryEvent { get; set; }
+
+        /// <summary>
+        /// 行业代理请求的业务请求内容,根据行业场景、行业事件的变化而不同
+        /// </summary>
+        [JsonProperty("industry_request")]
+        public string IndustryRequest { get; set; }
+
+        /// <summary>
+        /// 描述当前行业代理请求的请求场景
+        /// </summary>
+        [JsonProperty("industry_scene")]
+        public string IndustryScene { get; set; }
+
+        /// <summary>
+        /// 支持商户接入此业务的系统服务商id
+        /// </summary>
+        [JsonProperty("sys_service_provider_id")]
+        public string SysServiceProviderId { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusPredictresultQueryModel.cs

@@ -32,5 +32,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("plan_id")]
         public string PlanId { get; set; }
+
+        /// <summary>
+        /// 线路结果类型: 枚举值    0: 单向线路,  1: 双向线路。
+        /// </summary>
+        [JsonProperty("type")]
+        public string Type { get; set; }
     }
 }

+ 55 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusTotalodQueryModel.cs

@@ -0,0 +1,55 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataAiserviceCloudbusTotalodQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataAiserviceCloudbusTotalodQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 接口版本
+        /// </summary>
+        [JsonProperty("app_version")]
+        public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 市
+        /// </summary>
+        [JsonProperty("city_code")]
+        public string CityCode { get; set; }
+
+        /// <summary>
+        /// 结束时间精确到月。例如201901
+        /// </summary>
+        [JsonProperty("end_date")]
+        public string EndDate { get; set; }
+
+        /// <summary>
+        /// 起始区域 geohash list 。 区域必须连续,否则对结果有影响
+        /// </summary>
+        [JsonProperty("origin_geo_hashs")]
+        public List<string> OriginGeoHashs { get; set; }
+
+        /// <summary>
+        /// 商户ID
+        /// </summary>
+        [JsonProperty("partner_id")]
+        public string PartnerId { get; set; }
+
+        /// <summary>
+        /// 开始时间 精确到月 例如:201904
+        /// </summary>
+        [JsonProperty("start_date")]
+        public string StartDate { get; set; }
+
+        /// <summary>
+        /// 结果类型:枚举类型  0:包含O区域内部数据   1:不包含O内部数据  .    默认0
+        /// </summary>
+        [JsonProperty("type")]
+        public string Type { get; set; }
+    }
+}

+ 48 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillAccountlogQueryModel.cs

@@ -0,0 +1,48 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataBillAccountlogQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataBillAccountlogQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 支付宝订单号,通过支付宝订单号精确查询相关的流水明细,商户订单号与支付宝订单号互斥
+        /// </summary>
+        [JsonProperty("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 账务流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间
+        /// </summary>
+        [JsonProperty("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 商户订单号,通过商户订单号精确查询相关的流水明细,商户订单号与支付宝订单号互斥
+        /// </summary>
+        [JsonProperty("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 分页号,从1开始
+        /// </summary>
+        [JsonProperty("page_no")]
+        public string PageNo { get; set; }
+
+        /// <summary>
+        /// 分页大小1000-2000,默认2000
+        /// </summary>
+        [JsonProperty("page_size")]
+        public string PageSize { get; set; }
+
+        /// <summary>
+        /// 账务流水创建时间的起始范围
+        /// </summary>
+        [JsonProperty("start_time")]
+        public string StartTime { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillBailQueryModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataBillBailQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataBillBailQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 保证金类型,目前支持TMALL_BAIL-天猫保证金,TAOBAO_BAIL-淘宝保证金
+        /// </summary>
+        [JsonProperty("bail_type")]
+        public string BailType { get; set; }
+
+        /// <summary>
+        /// 业务基础订单号。如果查询参数中指定订单号,则只查询相关的记录
+        /// </summary>
+        [JsonProperty("biz_orig_no")]
+        public string BizOrigNo { get; set; }
+
+        /// <summary>
+        /// 保证金流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间
+        /// </summary>
+        [JsonProperty("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 保证金流水创建时间的起始范围
+        /// </summary>
+        [JsonProperty("start_time")]
+        public string StartTime { get; set; }
+
+        /// <summary>
+        /// 保证金流水号。如果查询参数中指定流水号,则只查询流水号相关的记录
+        /// </summary>
+        [JsonProperty("trans_log_id")]
+        public string TransLogId { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillBalancehisQueryModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataBillBalancehisQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataBillBalancehisQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 查询指定自然日的起初余额和期末余额,biz_date与biz_month传入参数互斥
+        /// </summary>
+        [JsonProperty("biz_date")]
+        public string BizDate { get; set; }
+
+        /// <summary>
+        /// 查询指定自然月的起初余额和期末余额,biz_date与biz_month传入参数互斥
+        /// </summary>
+        [JsonProperty("biz_month")]
+        public string BizMonth { get; set; }
+    }
+}

+ 54 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillBuyQueryModel.cs

@@ -0,0 +1,54 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataBillBuyQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataBillBuyQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 支付宝交易流水号。如果查询参数中指定流水号,则只查询流水号相关的记录
+        /// </summary>
+        [JsonProperty("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 交易流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间
+        /// </summary>
+        [JsonProperty("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 商户交易号。如果查询参数中指定交易号,则只查询相关的记录
+        /// </summary>
+        [JsonProperty("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 分页号,从1开始
+        /// </summary>
+        [JsonProperty("page_no")]
+        public string PageNo { get; set; }
+
+        /// <summary>
+        /// 分页大小1000-2000,默认2000
+        /// </summary>
+        [JsonProperty("page_size")]
+        public string PageSize { get; set; }
+
+        /// <summary>
+        /// 交易流水创建时间的起始范围
+        /// </summary>
+        [JsonProperty("start_time")]
+        public string StartTime { get; set; }
+
+        /// <summary>
+        /// 门店编号,模糊搜索
+        /// </summary>
+        [JsonProperty("store_no")]
+        public string StoreNo { get; set; }
+    }
+}

+ 54 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillSellQueryModel.cs

@@ -0,0 +1,54 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataBillSellQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataBillSellQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 支付宝交易流水号。如果查询参数中指定流水号,则只查询流水号相关的记录
+        /// </summary>
+        [JsonProperty("alipay_order_no")]
+        public string AlipayOrderNo { get; set; }
+
+        /// <summary>
+        /// 卖出交易流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间
+        /// </summary>
+        [JsonProperty("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 商户交易号。如果查询参数中指定交易号,则只查询相关的记录
+        /// </summary>
+        [JsonProperty("merchant_order_no")]
+        public string MerchantOrderNo { get; set; }
+
+        /// <summary>
+        /// 分页号,从1开始
+        /// </summary>
+        [JsonProperty("page_no")]
+        public string PageNo { get; set; }
+
+        /// <summary>
+        /// 分页大小1000-2000,默认2000
+        /// </summary>
+        [JsonProperty("page_size")]
+        public string PageSize { get; set; }
+
+        /// <summary>
+        /// 卖出交易流水创建时间的起始范围
+        /// </summary>
+        [JsonProperty("start_time")]
+        public string StartTime { get; set; }
+
+        /// <summary>
+        /// 门店编号,模糊搜索
+        /// </summary>
+        [JsonProperty("store_no")]
+        public string StoreNo { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataBillTransferQueryModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataBillTransferQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataBillTransferQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 充值、转账、提现流水业务时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间
+        /// </summary>
+        [JsonProperty("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 分页号,从1开始
+        /// </summary>
+        [JsonProperty("page_no")]
+        public string PageNo { get; set; }
+
+        /// <summary>
+        /// 分页大小1000-2000,默认2000
+        /// </summary>
+        [JsonProperty("page_size")]
+        public string PageSize { get; set; }
+
+        /// <summary>
+        /// 充值、转账、提现流水业务时间的起始范围
+        /// </summary>
+        [JsonProperty("start_time")]
+        public string StartTime { get; set; }
+
+        /// <summary>
+        /// 转账类型:充值-DEPOSIT,提现-WITHDRAW,转账-TRANSFER。
+        /// </summary>
+        [JsonProperty("type")]
+        public string Type { get; set; }
+    }
+}

+ 49 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataservicePropertyBusinesspropertyBatchqueryModel.cs

@@ -0,0 +1,49 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataDataservicePropertyBusinesspropertyBatchqueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataDataservicePropertyBusinesspropertyBatchqueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务画像id
+        /// </summary>
+        [JsonProperty("business_profile_id")]
+        public string BusinessProfileId { get; set; }
+
+        /// <summary>
+        /// 业务画像标签id列表,逗号分隔
+        /// </summary>
+        [JsonProperty("business_property_ids")]
+        public List<string> BusinessPropertyIds { get; set; }
+
+        /// <summary>
+        /// 业务画像标签对应的columnGuid
+        /// </summary>
+        [JsonProperty("column_guid")]
+        public string ColumnGuid { get; set; }
+
+        /// <summary>
+        /// 标签名称
+        /// </summary>
+        [JsonProperty("property_name")]
+        public string PropertyName { get; set; }
+
+        /// <summary>
+        /// 标签状态,逗号分隔
+        /// </summary>
+        [JsonProperty("status")]
+        public List<string> Status { get; set; }
+
+        /// <summary>
+        /// 业务画像标签对应的tableGuid
+        /// </summary>
+        [JsonProperty("table_guid")]
+        public string TableGuid { get; set; }
+    }
+}

+ 121 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataservicePropertyBusinesspropertyCreateModel.cs

@@ -0,0 +1,121 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataDataservicePropertyBusinesspropertyCreateModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataDataservicePropertyBusinesspropertyCreateModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务负责人工号
+        /// </summary>
+        [JsonProperty("biz_owner_id")]
+        public string BizOwnerId { get; set; }
+
+        /// <summary>
+        /// 业务画像消费类目id
+        /// </summary>
+        [JsonProperty("business_profile_category_id")]
+        public string BusinessProfileCategoryId { get; set; }
+
+        /// <summary>
+        /// 业务画像ID
+        /// </summary>
+        [JsonProperty("business_profile_id")]
+        public string BusinessProfileId { get; set; }
+
+        /// <summary>
+        /// 来源字段名
+        /// </summary>
+        [JsonProperty("column_name")]
+        public string ColumnName { get; set; }
+
+        /// <summary>
+        /// 来源字段类型
+        /// </summary>
+        [JsonProperty("column_type")]
+        public string ColumnType { get; set; }
+
+        /// <summary>
+        /// 创建人工号
+        /// </summary>
+        [JsonProperty("creator_id")]
+        public string CreatorId { get; set; }
+
+        /// <summary>
+        /// 数据负责人工号
+        /// </summary>
+        [JsonProperty("data_owner_id")]
+        public string DataOwnerId { get; set; }
+
+        /// <summary>
+        /// 数据类型 NUMBER("数值型"), STRING("文本型"), DATE("日期型"), ENUM("枚举型"), LBS("经纬度类");
+        /// </summary>
+        [JsonProperty("data_type")]
+        public string DataType { get; set; }
+
+        /// <summary>
+        /// 当数据类型为枚举型时,要指定枚举ID
+        /// </summary>
+        [JsonProperty("enum_id")]
+        public string EnumId { get; set; }
+
+        /// <summary>
+        /// 个性化信息,jsonarray字符串
+        /// </summary>
+        [JsonProperty("personality_info")]
+        public List<string> PersonalityInfo { get; set; }
+
+        /// <summary>
+        /// 物理数据源类型 ODPS, HBASE, KUDU, ANTMETA, XVIEW, ANT_HBASE, EXPLOER;
+        /// </summary>
+        [JsonProperty("physical_type")]
+        public string PhysicalType { get; set; }
+
+        /// <summary>
+        /// 主键
+        /// </summary>
+        [JsonProperty("primary_key")]
+        public string PrimaryKey { get; set; }
+
+        /// <summary>
+        /// 统计类型 ETL("ETL统计"), MODEL("模型预测")
+        /// </summary>
+        [JsonProperty("proc_type")]
+        public string ProcType { get; set; }
+
+        /// <summary>
+        /// 标签描述
+        /// </summary>
+        [JsonProperty("property_desc")]
+        public string PropertyDesc { get; set; }
+
+        /// <summary>
+        /// 标签名称
+        /// </summary>
+        [JsonProperty("propery_name")]
+        public string ProperyName { get; set; }
+
+        /// <summary>
+        /// 质量负责人工号
+        /// </summary>
+        [JsonProperty("quality_owner_id")]
+        public string QualityOwnerId { get; set; }
+
+        /// <summary>
+        /// 标签来源渠道 TABLE("数据表"), FILE("文件"), INTERFACE("接口"), OBJECT_PROPERTY("公域标签")
+        /// </summary>
+        [JsonProperty("source_channel")]
+        public string SourceChannel { get; set; }
+
+        /// <summary>
+        /// 来源表guid
+        /// </summary>
+        [JsonProperty("table_guid")]
+        public string TableGuid { get; set; }
+    }
+}

+ 85 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataservicePropertyBusinesspropertyModifyModel.cs

@@ -0,0 +1,85 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataDataservicePropertyBusinesspropertyModifyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataDataservicePropertyBusinesspropertyModifyModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务负责人工号
+        /// </summary>
+        [JsonProperty("biz_owner_id")]
+        public string BizOwnerId { get; set; }
+
+        /// <summary>
+        /// 业务画像消费类目id
+        /// </summary>
+        [JsonProperty("business_profile_category_id")]
+        public string BusinessProfileCategoryId { get; set; }
+
+        /// <summary>
+        /// 业务画像标签id
+        /// </summary>
+        [JsonProperty("business_property_id")]
+        public string BusinessPropertyId { get; set; }
+
+        /// <summary>
+        /// 创建人工号
+        /// </summary>
+        [JsonProperty("creator_id")]
+        public string CreatorId { get; set; }
+
+        /// <summary>
+        /// 数据负责人工号
+        /// </summary>
+        [JsonProperty("data_owner_id")]
+        public string DataOwnerId { get; set; }
+
+        /// <summary>
+        /// 数据类型 NUMBER("数值型"), STRING("文本型"), DATE("日期型"), ENUM("枚举型"), LBS("经纬度类");
+        /// </summary>
+        [JsonProperty("data_type")]
+        public string DataType { get; set; }
+
+        /// <summary>
+        /// 当数据类型为枚举型时,要指定枚举ID
+        /// </summary>
+        [JsonProperty("enum_id")]
+        public string EnumId { get; set; }
+
+        /// <summary>
+        /// 个性化信息,jsonarray字符串
+        /// </summary>
+        [JsonProperty("personality_info")]
+        public List<string> PersonalityInfo { get; set; }
+
+        /// <summary>
+        /// 统计类型 ETL("ETL统计"), MODEL("模型预测")
+        /// </summary>
+        [JsonProperty("proc_type")]
+        public string ProcType { get; set; }
+
+        /// <summary>
+        /// 标签描述
+        /// </summary>
+        [JsonProperty("property_desc")]
+        public string PropertyDesc { get; set; }
+
+        /// <summary>
+        /// 标签名称
+        /// </summary>
+        [JsonProperty("propery_name")]
+        public string ProperyName { get; set; }
+
+        /// <summary>
+        /// 质量负责人工号
+        /// </summary>
+        [JsonProperty("quality_owner_id")]
+        public string QualityOwnerId { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDingMessageSendModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataDingMessageSendModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataDingMessageSendModel : AlipayObject
+    {
+        /// <summary>
+        /// access_token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 通知内容
+        /// </summary>
+        [JsonProperty("content")]
+        public string Content { get; set; }
+    }
+}

+ 48 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterBindModel.cs

@@ -0,0 +1,48 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataPrinterBindModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataPrinterBindModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("client_secret")]
+        public string ClientSecret { get; set; }
+
+        /// <summary>
+        /// 设备名
+        /// </summary>
+        [JsonProperty("device_name")]
+        public string DeviceName { get; set; }
+
+        /// <summary>
+        /// 设备sn号
+        /// </summary>
+        [JsonProperty("device_sn")]
+        public string DeviceSn { get; set; }
+
+        /// <summary>
+        /// 设备秘钥
+        /// </summary>
+        [JsonProperty("secret_key")]
+        public string SecretKey { get; set; }
+    }
+}

+ 36 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterStatusGetModel.cs

@@ -0,0 +1,36 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataPrinterStatusGetModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataPrinterStatusGetModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("client_secret")]
+        public string ClientSecret { get; set; }
+
+        /// <summary>
+        /// 设备sn号
+        /// </summary>
+        [JsonProperty("device_sn")]
+        public string DeviceSn { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTaskCancelModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataPrinterTaskCancelModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataPrinterTaskCancelModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("client_secret")]
+        public string ClientSecret { get; set; }
+
+        /// <summary>
+        /// 设备sn号
+        /// </summary>
+        [JsonProperty("device_sn")]
+        public string DeviceSn { get; set; }
+
+        /// <summary>
+        /// 订单号
+        /// </summary>
+        [JsonProperty("order_id")]
+        public string OrderId { get; set; }
+    }
+}

+ 48 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTaskSubmitModel.cs

@@ -0,0 +1,48 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataPrinterTaskSubmitModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataPrinterTaskSubmitModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("client_secret")]
+        public string ClientSecret { get; set; }
+
+        /// <summary>
+        /// 打印内容
+        /// </summary>
+        [JsonProperty("content")]
+        public string Content { get; set; }
+
+        /// <summary>
+        /// 设备sn号
+        /// </summary>
+        [JsonProperty("device_sn")]
+        public string DeviceSn { get; set; }
+
+        /// <summary>
+        /// 订单号
+        /// </summary>
+        [JsonProperty("origin_id")]
+        public string OriginId { get; set; }
+    }
+}

+ 36 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTasksCancelModel.cs

@@ -0,0 +1,36 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataPrinterTasksCancelModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataPrinterTasksCancelModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("client_secret")]
+        public string ClientSecret { get; set; }
+
+        /// <summary>
+        /// 设备sn号
+        /// </summary>
+        [JsonProperty("device_sn")]
+        public string DeviceSn { get; set; }
+    }
+}

+ 36 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterTokenGetModel.cs

@@ -0,0 +1,36 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataPrinterTokenGetModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataPrinterTokenGetModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 授与方式
+        /// </summary>
+        [JsonProperty("grant_type")]
+        public string GrantType { get; set; }
+
+        /// <summary>
+        /// 权限
+        /// </summary>
+        [JsonProperty("scope")]
+        public string Scope { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("secret")]
+        public string Secret { get; set; }
+    }
+}

+ 36 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataPrinterUnbindModel.cs

@@ -0,0 +1,36 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataPrinterUnbindModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataPrinterUnbindModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("client_secret")]
+        public string ClientSecret { get; set; }
+
+        /// <summary>
+        /// 设备sn号
+        /// </summary>
+        [JsonProperty("device_sn")]
+        public string DeviceSn { get; set; }
+    }
+}

+ 48 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataSoundSetModel.cs

@@ -0,0 +1,48 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayDataSoundSetModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayDataSoundSetModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用token
+        /// </summary>
+        [JsonProperty("access_token")]
+        public string AccessToken { get; set; }
+
+        /// <summary>
+        /// 应用id
+        /// </summary>
+        [JsonProperty("client_id")]
+        public string ClientId { get; set; }
+
+        /// <summary>
+        /// 应用秘钥
+        /// </summary>
+        [JsonProperty("client_secret")]
+        public string ClientSecret { get; set; }
+
+        /// <summary>
+        /// 设备sn号
+        /// </summary>
+        [JsonProperty("device_sn")]
+        public string DeviceSn { get; set; }
+
+        /// <summary>
+        /// 音量
+        /// </summary>
+        [JsonProperty("voice")]
+        public long Voice { get; set; }
+
+        /// <summary>
+        /// 蜂鸣器
+        /// </summary>
+        [JsonProperty("voice_type")]
+        public string VoiceType { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppRechargeTradeDetectModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayEbppRechargeTradeDetectModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayEbppRechargeTradeDetectModel : AlipayObject
+    {
+        /// <summary>
+        /// 手机号码
+        /// </summary>
+        [JsonProperty("mobile")]
+        public string Mobile { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFinanceQuotationFindataSendModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayFinanceQuotationFindataSendModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayFinanceQuotationFindataSendModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务类型。strategy_pool策略池,strategy_pool_detail策略池明细
+        /// </summary>
+        [JsonProperty("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 机构发送给蚂蚁的业务数据。仅支持JSON
+        /// </summary>
+        [JsonProperty("content")]
+        public string Content { get; set; }
+    }
+}

+ 85 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundBatchCreateModel.cs

@@ -0,0 +1,85 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayFundBatchCreateModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayFundBatchCreateModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务场景。不同场景值不同,具体值联系支付宝确认。
+        /// </summary>
+        [JsonProperty("biz_scene")]
+        public string BizScene { get; set; }
+
+        /// <summary>
+        /// JSON格式,传递业务扩展参数。
+        /// </summary>
+        [JsonProperty("business_params")]
+        public string BusinessParams { get; set; }
+
+        /// <summary>
+        /// 转账标题,用于收银台展示标题
+        /// </summary>
+        [JsonProperty("order_title")]
+        public string OrderTitle { get; set; }
+
+        /// <summary>
+        /// 商户的批次号
+        /// </summary>
+        [JsonProperty("out_batch_no")]
+        public string OutBatchNo { get; set; }
+
+        /// <summary>
+        /// 公用回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。
+        /// </summary>
+        [JsonProperty("passback_params")]
+        public string PassbackParams { get; set; }
+
+        /// <summary>
+        /// 付款方信息
+        /// </summary>
+        [JsonProperty("payer_info")]
+        public Participant PayerInfo { get; set; }
+
+        /// <summary>
+        /// 业务产品码。不同产品值不同,具体值联系支付宝确认。
+        /// </summary>
+        [JsonProperty("product_code")]
+        public string ProductCode { get; set; }
+
+        /// <summary>
+        /// 转账备注
+        /// </summary>
+        [JsonProperty("remark")]
+        public string Remark { get; set; }
+
+        /// <summary>
+        /// 绝对超时时间,格式为yyyy-MM-dd HH:mm。
+        /// </summary>
+        [JsonProperty("time_expire")]
+        public string TimeExpire { get; set; }
+
+        /// <summary>
+        /// 批次总笔数
+        /// </summary>
+        [JsonProperty("total_count")]
+        public string TotalCount { get; set; }
+
+        /// <summary>
+        /// 批次总金额,单位为元,精确到小数点后两位,取值范围[0.01,9999999999999.99]
+        /// </summary>
+        [JsonProperty("total_trans_amount")]
+        public string TotalTransAmount { get; set; }
+
+        /// <summary>
+        /// 收款信息列表
+        /// </summary>
+        [JsonProperty("trans_order_list")]
+        public List<TransOrderDetail> TransOrderList { get; set; }
+    }
+}

+ 31 - 7
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundBatchDetailQueryModel.cs

@@ -10,41 +10,59 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
     public class AlipayFundBatchDetailQueryModel : AlipayObject
     {
         /// <summary>
-        /// 11~32位的数字或字母或数字与字母的组合,且区分大小写。
+        /// 11~32位的数字或字母或数字与字母的组合,且区分大小写。(注:只有境外代发使用,其他场景请使用out_batch_no)
         /// </summary>
         [JsonProperty("batch_no")]
         public string BatchNo { get; set; }
 
         /// <summary>
-        /// 批量代发到支付宝账户:BATCH_TRANS_ACC  批量代发到银行账户:BATCH_TRANS_BC
+        /// 批量代发到支付宝账户:BATCH_TRANS_ACC 批量代发到银行账户:BATCH_TRANS_BC (注:只有境外代发使用,其他场景请使用product_code)
         /// </summary>
         [JsonProperty("biz_code")]
         public string BizCode { get; set; }
 
         /// <summary>
-        /// 批量代发业务场景。  GLOBAL: 全球代发. 除CNY的多币种代发或人民币跨境代发。  LOCAL:中国境内纯人民币代发。
+        /// 批量代发业务场景。如: GLOBAL: 全球代发. 除CNY的多币种代发或人民币跨境代发。 LOCAL:中国境内纯人民币代发。 MESSAGE_BATCH_PAY:接口报文代发。
         /// </summary>
         [JsonProperty("biz_scene")]
         public string BizScene { get; set; }
 
         /// <summary>
-        /// 批次文件中明细流水号
+        /// 批次文件中明细流水号(注:只有境外代发使用,其他场景请使用out_biz_no)
         /// </summary>
         [JsonProperty("detail_no")]
         public string DetailNo { get; set; }
 
         /// <summary>
-        /// INIT:支付宝只对上传的文件做了记录,还没有处理。  APPLIED:支付宝已完成兑换,等待发起付汇。  DEALED:已发起付汇申请,等待付汇结果。  SUCCESS 处理成功:付汇成功。  FAIL 处理失败:明细信息错误导致明细校验失败或者付汇失败。  DISUSE 已废弃:明细被支付宝系统废弃。
+        /// 境外代发明细状态: INIT:支付宝只对上传的文件做了记录,还没有处理。 APPLIED:支付宝已完成兑换,等待发起付汇。 DEALED:已发起付汇申请,等待付汇结果。 SUCCESS 处理成功:付汇成功。 FAIL 处理失败:明细信息错误导致明细校验失败或者付汇失败。 DISUSE 已废弃:明细被支付宝系统废弃。  其他场景明细状态: SUCCESS:成功 FAIL:失败 DEALING:处理中 WAIT_PAY:等待付款
         /// </summary>
         [JsonProperty("detail_status")]
         public string DetailStatus { get; set; }
 
         /// <summary>
-        /// 采用分页查询,本参数为空或0默认显示第一页。每页最大500条记录,不足500条则按实际记录数返回,不需要商户输入每页的记录数。如果输入的值大于总页数,则支付宝返回最后一页数据。  例如:按条件查询到600条数据,则分成2页显示。输入2或大于2的整数都会返回100条数据;不输入任何数据则默认返回第一页。
+        /// 商户的批次号
+        /// </summary>
+        [JsonProperty("out_batch_no")]
+        public string OutBatchNo { get; set; }
+
+        /// <summary>
+        /// 商户明细订单号
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
+        /// <summary>
+        /// 采用分页查询,本参数为空或0默认显示第一页。(境外代发场景下,每页最大500条记录,不足500条则按实际记录数返回,不需要商户输入每页的记录数。如果输入的值大于总页数,则支付宝返回最后一页数据。 例如:按条件查询到600条数据,则分成2页显示。输入2或大于2的整数都会返回100条数据;不输入任何数据则默认返回第一页,其他场景下,每页大小请输入page_sign字段)。
         /// </summary>
         [JsonProperty("page_num")]
         public long PageNum { get; set; }
 
+        /// <summary>
+        /// 每页大小,不传的情况下默认500条,超过500条默认按500条查询;不足500条则按实际记录数返回
+        /// </summary>
+        [JsonProperty("page_size")]
+        public string PageSize { get; set; }
+
         /// <summary>
         /// 收款方账号。对于批量代发到支付宝账户场景,填写钱包账号。对于批量代发到银行账户场景,填写银行卡号。
         /// </summary>
@@ -52,7 +70,13 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         public string PayeeAccount { get; set; }
 
         /// <summary>
-        /// 签约主体,即签约了批量代发产品的支付宝账号。
+        /// 业务产品码。不同产品值不同,具体值联系支付宝确认。
+        /// </summary>
+        [JsonProperty("product_code")]
+        public string ProductCode { get; set; }
+
+        /// <summary>
+        /// 签约主体,即签约了批量代发产品的支付宝账号。 注:境外代发场景下必须传入
         /// </summary>
         [JsonProperty("sign_principal")]
         public string SignPrincipal { get; set; }

+ 30 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayInsDataDiseaseQueryModel.cs

@@ -0,0 +1,30 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayInsDataDiseaseQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayInsDataDiseaseQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 疾病名称
+        /// </summary>
+        [JsonProperty("disease_name")]
+        public string DiseaseName { get; set; }
+
+        /// <summary>
+        /// 分页使用,页码,1开始
+        /// </summary>
+        [JsonProperty("page_index")]
+        public long PageIndex { get; set; }
+
+        /// <summary>
+        /// 页码大小,最大50
+        /// </summary>
+        [JsonProperty("page_size")]
+        public long PageSize { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayInsDataHospitalQueryModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayInsDataHospitalQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayInsDataHospitalQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 医院所在的地市名称
+        /// </summary>
+        [JsonProperty("city")]
+        public string City { get; set; }
+
+        /// <summary>
+        /// 医院名称
+        /// </summary>
+        [JsonProperty("hospital_name")]
+        public string HospitalName { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayIserviceCognitiveClassificationWasteQueryModel.cs

@@ -45,6 +45,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("longitude")]
         public string Longitude { get; set; }
 
+        /// <summary>
+        /// 业务上游流量来源
+        /// </summary>
+        [JsonProperty("source")]
+        public string Source { get; set; }
+
         /// <summary>
         /// 蚂蚁统一会员ID
         /// </summary>

+ 61 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderCreateandpayModel.cs

@@ -0,0 +1,61 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayMerchantOrderCreateandpayModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayMerchantOrderCreateandpayModel : AlipayObject
+    {
+        /// <summary>
+        /// 不同的业务类型有不同的状态推进逻辑,同时对于支付的驱动有不同的处理方法。如阿里云的现金支付不需要订单驱动,阿里云的纯积分支付需要等待代扣成功消息才算支付成功。
+        /// </summary>
+        [JsonProperty("biz_scene")]
+        public string BizScene { get; set; }
+
+        /// <summary>
+        /// 买家身份
+        /// </summary>
+        [JsonProperty("buyer")]
+        public UserIdentity Buyer { get; set; }
+
+        /// <summary>
+        /// 业务扩展参数(键值对列表,有重复的键后者覆盖前者,建议唯一,以免出现不可预期的结果),比如在阿里云购买场景下可以传[{"ext_key":"aliyun_order_id","ext_value":"20196478824390"}]
+        /// </summary>
+        [JsonProperty("ext_info")]
+        public List<OrderExtInfo> ExtInfo { get; set; }
+
+        /// <summary>
+        /// 商品信息,包括alipay商品skuId、购买数量等信息
+        /// </summary>
+        [JsonProperty("goods_infos")]
+        public List<GoodsInformation> GoodsInfos { get; set; }
+
+        /// <summary>
+        /// 订单金额,比如[{"type":"Money","amount":88.66},{"type":"FAMILY_POINT","amount":2000}],代表订单中所有商品需要支付的总金额是88.66元+2000家庭积分。
+        /// </summary>
+        [JsonProperty("order_amount")]
+        public List<PriceInformation> OrderAmount { get; set; }
+
+        /// <summary>
+        /// 外部业务号,用于幂等控制,64个字符以内、可包含字母、数字、下划线;需保证在商户端不重复
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
+        /// <summary>
+        /// 支付请求,比如下面的请求代表在这次下单中支付2000家庭积分[{"request_no":"2019678438","action":"PAY","amount":{"type":"FAMILY_POINT","amount":2000}}],如果是现金单位元。之所以是一个list是为了支持多笔支付,支付失败重试请不要更换request_no
+        /// </summary>
+        [JsonProperty("payment_request")]
+        public List<PaymentInformation> PaymentRequest { get; set; }
+
+        /// <summary>
+        /// 卖家身份
+        /// </summary>
+        [JsonProperty("seller")]
+        public UserIdentity Seller { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderPointQueryModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayMerchantOrderPointQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayMerchantOrderPointQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 需要查询的积分类型,如家庭积分、会员积分、返佣积分等等
+        /// </summary>
+        [JsonProperty("point_type")]
+        public string PointType { get; set; }
+
+        /// <summary>
+        /// 用户身份
+        /// </summary>
+        [JsonProperty("user")]
+        public UserIdentity User { get; set; }
+    }
+}

+ 55 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderRefundModel.cs

@@ -0,0 +1,55 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayMerchantOrderRefundModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayMerchantOrderRefundModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务场景,某些场景下操作的不是用户本身的订单,而是用户所在群体的订单的情况下,必传
+        /// </summary>
+        [JsonProperty("biz_scene")]
+        public string BizScene { get; set; }
+
+        /// <summary>
+        /// 下单时候的买家id
+        /// </summary>
+        [JsonProperty("buyer")]
+        public UserIdentity Buyer { get; set; }
+
+        /// <summary>
+        /// 退款扩展信息
+        /// </summary>
+        [JsonProperty("ext_info")]
+        public List<OrderExtInfo> ExtInfo { get; set; }
+
+        /// <summary>
+        /// 下单并支付的时候返回的订单号,与外部请求号两者之间必须传一个
+        /// </summary>
+        [JsonProperty("order_id")]
+        public string OrderId { get; set; }
+
+        /// <summary>
+        /// 创建订单时传入的外部请求号
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
+        /// <summary>
+        /// 退款原因描述,可能是用户发起退款、或者是系统异常发起的回补退款
+        /// </summary>
+        [JsonProperty("refund_reason")]
+        public string RefundReason { get; set; }
+
+        /// <summary>
+        /// 退款请求,比如下面的请求代表在这次退款中退2000家庭积分[{"request_no":"2019678438","amount":{"type":"FAMILY_POINT","amount":2000}}]。之所以是一个list是为了支持多笔退款,退款失败重试请不要更换request_no。单次全额退的request_no可以用out_biz_no
+        /// </summary>
+        [JsonProperty("refund_request")]
+        public List<PaymentInformation> RefundRequest { get; set; }
+    }
+}

+ 30 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydetailConsumerQueryModel.cs

@@ -0,0 +1,30 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayMerchantOrderSecuritydetailConsumerQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayMerchantOrderSecuritydetailConsumerQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务号(目前仅支持交易号)    注:  1. order_id、biz_no、两者必选其一,若用biz_no查询,必须传入buyer_id  2.若都传,优先级order_id>biz_no,忽略优先级低的字段
+        /// </summary>
+        [JsonProperty("biz_no")]
+        public string BizNo { get; set; }
+
+        /// <summary>
+        /// 买家支付宝用户id    注:若用biz_no查询,必须传入buyer_id
+        /// </summary>
+        [JsonProperty("buyer_id")]
+        public string BuyerId { get; set; }
+
+        /// <summary>
+        /// 支付宝订单号    注:  1. order_id、biz_no、两者必选其一,若用biz_no查询,必须传入buyer_id  2.若都传,优先级order_id>biz_no,忽略优先级低的字段
+        /// </summary>
+        [JsonProperty("order_id")]
+        public string OrderId { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 买家支付宝用户id
+        /// </summary>
+        [JsonProperty("buyer_id")]
+        public string BuyerId { get; set; }
+
+        /// <summary>
+        /// 结束时间,格式为:yyyy-MM-dd hh:mm:ss    查询返回的订单支付时间在end_time之前,不包括end_time    注:为了避免数据重复,可在start_time不变的情况下利用上一次返回列表中最后一条数据的支付时间作为下一次end_time的入参,实现分页查询
+        /// </summary>
+        [JsonProperty("end_time")]
+        public string EndTime { get; set; }
+
+        /// <summary>
+        /// 查询订单信息,该订单属于请求pid以及传入的appid    注:若为空,则返回订单列表不按照appid进行筛选
+        /// </summary>
+        [JsonProperty("merchant_app_id")]
+        public string MerchantAppId { get; set; }
+
+        /// <summary>
+        /// 查询条数  取值范围:[1,50]    注:若start_time与end_time之间的总条数大于size,则按照订单支付时间倒序取前size条;若总条数小于size,则按照订单支付时间倒序,返回实际条数
+        /// </summary>
+        [JsonProperty("size")]
+        public string Size { get; set; }
+
+        /// <summary>
+        /// 查询开始时间,格式为:yyyy-MM-dd hh:mm:ss    查询返回的订单支付时间在start_time之后,包括start_time
+        /// </summary>
+        [JsonProperty("start_time")]
+        public string StartTime { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSyncModel.cs

@@ -34,6 +34,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("item_order_list")]
         public List<ItemOrderInfo> ItemOrderList { get; set; }
 
+        /// <summary>
+        /// 物流信息  列表最多支持物流信息个数,请参考产品文档  注:若该值不为空,且物流信息同步至我的快递,则在查询订单时可返回具体物流信息
+        /// </summary>
+        [JsonProperty("logistics_info_list")]
+        public List<OrderLogisticsInformationRequest> LogisticsInfoList { get; set; }
+
         /// <summary>
         /// 外部订单号
         /// </summary>

+ 49 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantWeikeInvoiceNotifyModel.cs

@@ -0,0 +1,49 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayMerchantWeikeInvoiceNotifyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayMerchantWeikeInvoiceNotifyModel : AlipayObject
+    {
+        /// <summary>
+        /// 申请ID
+        /// </summary>
+        [JsonProperty("apply_id")]
+        public string ApplyId { get; set; }
+
+        /// <summary>
+        /// 开票拒绝反馈错误码
+        /// </summary>
+        [JsonProperty("feedback_code")]
+        public string FeedbackCode { get; set; }
+
+        /// <summary>
+        /// 开票拒绝反馈原因
+        /// </summary>
+        [JsonProperty("feedback_msg")]
+        public string FeedbackMsg { get; set; }
+
+        /// <summary>
+        /// 反馈状态:true开票成功;false开票拒绝
+        /// </summary>
+        [JsonProperty("feedback_result")]
+        public bool FeedbackResult { get; set; }
+
+        /// <summary>
+        /// 发票种类,0=电子发票,1=纸质发票,2=专票
+        /// </summary>
+        [JsonProperty("invoice_kind")]
+        public long InvoiceKind { get; set; }
+
+        /// <summary>
+        /// isv的物流信息
+        /// </summary>
+        [JsonProperty("logistics_info")]
+        public List<IsvLogisticsInfo> LogisticsInfo { get; set; }
+    }
+}

+ 60 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMiniCardData.cs

@@ -0,0 +1,60 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayMiniCardData Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayMiniCardData : AlipayObject
+    {
+        /// <summary>
+        /// 行动点链接,用户点击卡片的button时跳转到支付宝相应页面的链接地址
+        /// </summary>
+        [JsonProperty("action_link")]
+        public string ActionLink { get; set; }
+
+        /// <summary>
+        /// 行动点文案,在卡片的button处展现
+        /// </summary>
+        [JsonProperty("action_text")]
+        public string ActionText { get; set; }
+
+        /// <summary>
+        /// 应用英文名,固定值,用于手淘识别卡片所属类型为支付宝卡片
+        /// </summary>
+        [JsonProperty("app_name")]
+        public string AppName { get; set; }
+
+        /// <summary>
+        /// 卡片类型,数字表示相应的不同卡片类型,包括1.提醒类(暂不支持) 2.玩法权益类 3.内容类(暂不支持) 4.商品类(暂不支持) 5.工具类,数字对应手淘约定的几种卡片类型
+        /// </summary>
+        [JsonProperty("card_type")]
+        public long CardType { get; set; }
+
+        /// <summary>
+        /// 权益图链接,权益类卡片的权益图片,图片链接由运营进行配置
+        /// </summary>
+        [JsonProperty("coupon_pic")]
+        public string CouponPic { get; set; }
+
+        /// <summary>
+        /// 支付宝卡片标题文字内容,标题组合起来的文案为我的支付宝:XXXX积分,目前固定展现蚂蚁会员的用户积分
+        /// </summary>
+        [JsonProperty("edit_text")]
+        public string EditText { get; set; }
+
+        /// <summary>
+        /// 主文本,工具类卡片展示的主文本文案
+        /// </summary>
+        [JsonProperty("main_text")]
+        public string MainText { get; set; }
+
+        /// <summary>
+        /// 子文本,工具类卡片展示的子文本文案
+        /// </summary>
+        [JsonProperty("sub_text")]
+        public string SubText { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppDfsfasDeQueryModel.cs

@@ -14,5 +14,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("desd")]
         public string Desd { get; set; }
+
+        /// <summary>
+        /// 1
+        /// </summary>
+        [JsonProperty("desdde")]
+        public string Desdde { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageSubscriptionModifyModel.cs

@@ -27,6 +27,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("comm_type")]
         public string CommType { get; set; }
 
+        /// <summary>
+        /// 消息标签,用于消息子类型过滤。使用前请确认消息topic是否支持
+        /// </summary>
+        [JsonProperty("tag")]
+        public string Tag { get; set; }
+
         /// <summary>
         /// 消息主题名称
         /// </summary>

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageSubscriptionQueryModel.cs

@@ -21,6 +21,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("auth_type")]
         public string AuthType { get; set; }
 
+        /// <summary>
+        /// 消息标签,用于消息子类型过滤。使用前请确认消息topic是否支持
+        /// </summary>
+        [JsonProperty("tag")]
+        public string Tag { get; set; }
+
         /// <summary>
         /// 消息主题名称
         /// </summary>

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageTopicSubscribeModel.cs

@@ -27,6 +27,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("comm_type")]
         public string CommType { get; set; }
 
+        /// <summary>
+        /// 消息标签,用于消息子类型过滤。使用前请确认消息topic是否支持
+        /// </summary>
+        [JsonProperty("tag")]
+        public string Tag { get; set; }
+
         /// <summary>
         /// 消息主题名称
         /// </summary>

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppMessageTopicUnsubscribeModel.cs

@@ -21,6 +21,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("auth_type")]
         public string AuthType { get; set; }
 
+        /// <summary>
+        /// 消息标签,用于消息子类型过滤。使用前请确认消息topic是否支持
+        /// </summary>
+        [JsonProperty("tag")]
+        public string Tag { get; set; }
+
         /// <summary>
         /// 消息主题名称
         /// </summary>

+ 30 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAuthLoginApplyModel.cs

@@ -0,0 +1,30 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenAuthLoginApplyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenAuthLoginApplyModel : AlipayObject
+    {
+        /// <summary>
+        /// 当前登录调用方平台的开发者登录渠道,如阿里云允许用阿里云账号、淘宝账号、支付宝账号、1688账号、钉钉账号、新浪账号登录,可选值有:aliyun、taobao、alipay、dingtalk、1688、sina
+        /// </summary>
+        [JsonProperty("login_channel")]
+        public string LoginChannel { get; set; }
+
+        /// <summary>
+        /// 第三方登录来源
+        /// </summary>
+        [JsonProperty("sign_from")]
+        public string SignFrom { get; set; }
+
+        /// <summary>
+        /// 信登后跳转的目标地址
+        /// </summary>
+        [JsonProperty("target_url")]
+        public string TargetUrl { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAuthUserauthRelationshipCertifyModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenAuthUserauthRelationshipCertifyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenAuthUserauthRelationshipCertifyModel : AlipayObject
+    {
+        /// <summary>
+        /// 操作接口名字
+        /// </summary>
+        [JsonProperty("action")]
+        public string Action { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniActivityModuleQueryModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniActivityModuleQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniActivityModuleQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 地区码,比如杭州的城市码是300100
+        /// </summary>
+        [JsonProperty("lbs_code")]
+        public string LbsCode { get; set; }
+
+        /// <summary>
+        /// 模块编码,模块的唯一标识,可根据该编码查询模块数据信息
+        /// </summary>
+        [JsonProperty("module_code")]
+        public string ModuleCode { get; set; }
+
+        /// <summary>
+        /// 页码,代表请求的是第几页的数据
+        /// </summary>
+        [JsonProperty("page_num")]
+        public long PageNum { get; set; }
+
+        /// <summary>
+        /// 页数量,代表每页请求的数据的数量
+        /// </summary>
+        [JsonProperty("page_size")]
+        public long PageSize { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniActivityTaskequityReceiveModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniActivityTaskequityReceiveModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniActivityTaskequityReceiveModel : AlipayObject
+    {
+        /// <summary>
+        /// 任务完成的业务时间,用于做权益发放的原始时间戳,将以任务完成时间为准发放权益
+        /// </summary>
+        [JsonProperty("biz_time")]
+        public string BizTime { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniBaseinfoMultiQueryModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniBaseinfoMultiQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniBaseinfoMultiQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 应用端信息
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
+        /// <summary>
+        /// 小程序id
+        /// </summary>
+        [JsonProperty("mini_app_id")]
+        public string MiniAppId { get; set; }
+    }
+}

+ 114 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniDeploypackageQueryModel.cs

@@ -0,0 +1,114 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniDeploypackageQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniDeploypackageQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 端标识
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
+        /// <summary>
+        /// 客户端层面的渠道:CHANNEL_OFFICIAL 正式包  CHANNEL_RC 灰度包
+        /// </summary>
+        [JsonProperty("channel")]
+        public string Channel { get; set; }
+
+        /// <summary>
+        /// 客户端版本
+        /// </summary>
+        [JsonProperty("client")]
+        public string Client { get; set; }
+
+        /// <summary>
+        /// 设备号
+        /// </summary>
+        [JsonProperty("diu")]
+        public string Diu { get; set; }
+
+        /// <summary>
+        /// 环境:prepub 预发、线上 production)
+        /// </summary>
+        [JsonProperty("env")]
+        public string Env { get; set; }
+
+        /// <summary>
+        /// 本地已存在的包信息
+        /// </summary>
+        [JsonProperty("existed")]
+        public string Existed { get; set; }
+
+        /// <summary>
+        /// 灰度规则
+        /// </summary>
+        [JsonProperty("gray_rules")]
+        public string GrayRules { get; set; }
+
+        /// <summary>
+        /// 只在应用应用互保,本地应用版本信息
+        /// </summary>
+        [JsonProperty("local_app_info")]
+        public string LocalAppInfo { get; set; }
+
+        /// <summary>
+        /// 平台标识
+        /// </summary>
+        [JsonProperty("platform")]
+        public string Platform { get; set; }
+
+        /// <summary>
+        /// 是否开启互保
+        /// </summary>
+        [JsonProperty("prefer_local")]
+        public string PreferLocal { get; set; }
+
+        /// <summary>
+        /// 协议版本号
+        /// </summary>
+        [JsonProperty("protocol")]
+        public string Protocol { get; set; }
+
+        /// <summary>
+        /// 拉包请求的数据
+        /// </summary>
+        [JsonProperty("query")]
+        public string Query { get; set; }
+
+        /// <summary>
+        /// 请求同步/异步标识
+        /// </summary>
+        [JsonProperty("req_mode")]
+        public string ReqMode { get; set; }
+
+        /// <summary>
+        /// 客户端sdk版本号,一般输出给多端使用
+        /// </summary>
+        [JsonProperty("sdk")]
+        public string Sdk { get; set; }
+
+        /// <summary>
+        /// 是否开启强大的RPC功能
+        /// </summary>
+        [JsonProperty("stable_rpc")]
+        public string StableRpc { get; set; }
+
+        /// <summary>
+        /// 系统版本号
+        /// </summary>
+        [JsonProperty("system")]
+        public string System { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniDeveloppackageQueryModel.cs

@@ -50,5 +50,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("scene")]
         public string Scene { get; set; }
+
+        /// <summary>
+        /// 用户ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerappCreateModel.cs

@@ -69,6 +69,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("isv_app_id")]
         public string IsvAppId { get; set; }
 
+        /// <summary>
+        /// 需要创建的小程序appId,面向手淘场景,其他场景勿用
+        /// </summary>
+        [JsonProperty("mini_app_id")]
+        public string MiniAppId { get; set; }
+
         /// <summary>
         /// 创建的小程序所属的PID
         /// </summary>

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionAuditSubmitModel.cs

@@ -112,6 +112,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("service_phone")]
         public string ServicePhone { get; set; }
 
+        /// <summary>
+        /// 特殊资质图片地址列表,逗号分隔;部分类目需要特殊资质,如果需要特殊资质,最少一张,最多三张。
+        /// </summary>
+        [JsonProperty("special_license_pic_list")]
+        public string SpecialLicensePicList { get; set; }
+
         /// <summary>
         /// 小程序版本变更描述,30-500个字符,区分于app_desc
         /// </summary>

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionBatchqueryModel.cs

@@ -10,6 +10,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
     [Serializable]
     public class AlipayOpenMiniInnerversionBatchqueryModel : AlipayObject
     {
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端 枚举列举:支付宝:com.alipay.alipaywallet,高德:com.amap.app
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
         /// <summary>
         /// 小程序ID
         /// </summary>

+ 132 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionBuildauditSubmitModel.cs

@@ -0,0 +1,132 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniInnerversionBuildauditSubmitModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniInnerversionBuildauditSubmitModel : AlipayObject
+    {
+        /// <summary>
+        /// 小程序类目,可不传,不传取基础信息中的小程序类目
+        /// </summary>
+        [JsonProperty("app_category_ids")]
+        public string AppCategoryIds { get; set; }
+
+        /// <summary>
+        /// 小程序描述,可不传,不传取基础信息中的小程序描述
+        /// </summary>
+        [JsonProperty("app_desc")]
+        public string AppDesc { get; set; }
+
+        /// <summary>
+        /// 小程序英文名称,可不传,不传取基础信息中的小程序英文名称
+        /// </summary>
+        [JsonProperty("app_english_name")]
+        public string AppEnglishName { get; set; }
+
+        /// <summary>
+        /// 小程序logo,可不传,不传取基础信息中的小程序logo
+        /// </summary>
+        [JsonProperty("app_logo")]
+        public string AppLogo { get; set; }
+
+        /// <summary>
+        /// 小程序名称,可不传,不传取基础信息中的小程序名称
+        /// </summary>
+        [JsonProperty("app_name")]
+        public string AppName { get; set; }
+
+        /// <summary>
+        /// 业务来源
+        /// </summary>
+        [JsonProperty("app_origin")]
+        public string AppOrigin { get; set; }
+
+        /// <summary>
+        /// 小程序简介,可不传,不传取基础信息中的小程序简介
+        /// </summary>
+        [JsonProperty("app_slogan")]
+        public string AppSlogan { get; set; }
+
+        /// <summary>
+        /// 小程序版本号
+        /// </summary>
+        [JsonProperty("app_version")]
+        public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 构建扩展参数
+        /// </summary>
+        [JsonProperty("build_ext")]
+        public string BuildExt { get; set; }
+
+        /// <summary>
+        /// 端信息
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
+        /// <summary>
+        /// 三方应用ID
+        /// </summary>
+        [JsonProperty("isv_app_id")]
+        public string IsvAppId { get; set; }
+
+        /// <summary>
+        /// 提审时,选择的所属类目需要校验营业执照,可不传,不传取基础信息中的小程序英文名称
+        /// </summary>
+        [JsonProperty("license_info")]
+        public AuditLicenseInfo LicenseInfo { get; set; }
+
+        /// <summary>
+        /// 小程序ID
+        /// </summary>
+        [JsonProperty("mini_app_id")]
+        public string MiniAppId { get; set; }
+
+        /// <summary>
+        /// 小程序开发者ID,可不传,不传取基础信息中的小程序开发者ID
+        /// </summary>
+        [JsonProperty("pid")]
+        public string Pid { get; set; }
+
+        /// <summary>
+        /// 服务区域类型,可不传,不传取基础信息中的小程序服务区域类型
+        /// </summary>
+        [JsonProperty("region_type")]
+        public string RegionType { get; set; }
+
+        /// <summary>
+        /// 版本截图,最少2张,最多5张,必传
+        /// </summary>
+        [JsonProperty("screen_shot_list")]
+        public string ScreenShotList { get; set; }
+
+        /// <summary>
+        /// 客服电话,可不传,不传取基础信息中的小程序客服电话
+        /// </summary>
+        [JsonProperty("service_phone")]
+        public string ServicePhone { get; set; }
+
+        /// <summary>
+        /// 小程序模板ID
+        /// </summary>
+        [JsonProperty("template_id")]
+        public string TemplateId { get; set; }
+
+        /// <summary>
+        /// 基于模板构建,模板小程序的版本号,不传,默认取最新版本号
+        /// </summary>
+        [JsonProperty("template_version")]
+        public string TemplateVersion { get; set; }
+
+        /// <summary>
+        /// 版本描述
+        /// </summary>
+        [JsonProperty("version_desc")]
+        public string VersionDesc { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionContentRollbackModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniInnerversionContentRollbackModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniInnerversionContentRollbackModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务场景来源
+        /// </summary>
+        [JsonProperty("app_origin")]
+        public string AppOrigin { get; set; }
+
+        /// <summary>
+        /// 小程序当前上架版本号
+        /// </summary>
+        [JsonProperty("app_version")]
+        public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
+        /// <summary>
+        /// 小程序ID
+        /// </summary>
+        [JsonProperty("mini_app_id")]
+        public string MiniAppId { get; set; }
+
+        /// <summary>
+        /// 小程序所属主体
+        /// </summary>
+        [JsonProperty("pid")]
+        public string Pid { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionInfoDeleteModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniInnerversionInfoDeleteModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniInnerversionInfoDeleteModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务场景来源
+        /// </summary>
+        [JsonProperty("app_origin")]
+        public string AppOrigin { get; set; }
+
+        /// <summary>
+        /// 小程序版本号
+        /// </summary>
+        [JsonProperty("app_version")]
+        public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端信息
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
+        /// <summary>
+        /// 小程序ID
+        /// </summary>
+        [JsonProperty("mini_app_id")]
+        public string MiniAppId { get; set; }
+
+        /// <summary>
+        /// 操作者ID
+        /// </summary>
+        [JsonProperty("pid")]
+        public string Pid { get; set; }
+    }
+}

+ 36 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionLastQueryModel.cs

@@ -0,0 +1,36 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniInnerversionLastQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniInnerversionLastQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务来源场景
+        /// </summary>
+        [JsonProperty("app_origin")]
+        public string AppOrigin { get; set; }
+
+        /// <summary>
+        /// 端信息
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
+        /// <summary>
+        /// 小程序ID
+        /// </summary>
+        [JsonProperty("mini_app_id")]
+        public string MiniAppId { get; set; }
+
+        /// <summary>
+        /// 小程序主体
+        /// </summary>
+        [JsonProperty("pid")]
+        public string Pid { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionPreonlineConfirmModel.cs

@@ -15,6 +15,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
 
+        /// <summary>
+        /// 端参数
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
         /// <summary>
         /// 小程序Id
         /// </summary>

+ 48 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniInnerversionSyncModel.cs

@@ -0,0 +1,48 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniInnerversionSyncModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniInnerversionSyncModel : AlipayObject
+    {
+        /// <summary>
+        /// 业务参数来源
+        /// </summary>
+        [JsonProperty("app_origin")]
+        public string AppOrigin { get; set; }
+
+        /// <summary>
+        /// 推送的小程序版本号
+        /// </summary>
+        [JsonProperty("app_version")]
+        public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端信息
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
+        /// <summary>
+        /// 操作人ID
+        /// </summary>
+        [JsonProperty("dev_id")]
+        public string DevId { get; set; }
+
+        /// <summary>
+        /// 小程序ID
+        /// </summary>
+        [JsonProperty("mini_app_id")]
+        public string MiniAppId { get; set; }
+
+        /// <summary>
+        /// 同送方式
+        /// </summary>
+        [JsonProperty("sync_type")]
+        public string SyncType { get; set; }
+    }
+}

+ 30 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniMiniappHistoryQueryModel.cs

@@ -0,0 +1,30 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniMiniappHistoryQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniMiniappHistoryQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 管控的令牌
+        /// </summary>
+        [JsonProperty("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 请求的列表长度
+        /// </summary>
+        [JsonProperty("size")]
+        public string Size { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 30 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateBatchqueryModel.cs

@@ -0,0 +1,30 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniPlanOperateBatchqueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniPlanOperateBatchqueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 页码数,从第一页开始
+        /// </summary>
+        [JsonProperty("page_num")]
+        public long PageNum { get; set; }
+
+        /// <summary>
+        /// 每页记录数,默认10
+        /// </summary>
+        [JsonProperty("page_size")]
+        public long PageSize { get; set; }
+
+        /// <summary>
+        /// 投放方案场景码,目前只支持支付后推荐场景:PAYMENT_SUCCESS
+        /// </summary>
+        [JsonProperty("scene")]
+        public string Scene { get; set; }
+    }
+}

+ 67 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateCreateModel.cs

@@ -0,0 +1,67 @@
+using System;
+using System.Collections.Generic;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniPlanOperateCreateModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniPlanOperateCreateModel : AlipayObject
+    {
+        /// <summary>
+        /// 描述支付后推荐的应用是否属于当前账号,该字段只做展示用, 不应用于业务逻辑, 若属于当前账号则设置为OWN,否则设置为OTHERS, 无法判断的场景传 DEFAULT 即可
+        /// </summary>
+        [JsonProperty("app_belong")]
+        public string AppBelong { get; set; }
+
+        /// <summary>
+        /// 收藏有礼活动id,用于绑定支付成功页的有礼活动id
+        /// </summary>
+        [JsonProperty("gift_template_id")]
+        public string GiftTemplateId { get; set; }
+
+        /// <summary>
+        /// 支付后推荐代运营的应用id,若type=PUBLICAPP,则为生活号id,若type=TINYAPP,则为小程序id
+        /// </summary>
+        [JsonProperty("oper_app_id")]
+        public string OperAppId { get; set; }
+
+        /// <summary>
+        /// 指定创建方案的 pid, 该字段仅白名单应用可用, 其他情况下会被忽略
+        /// </summary>
+        [JsonProperty("pid")]
+        public string Pid { get; set; }
+
+        /// <summary>
+        /// 投放配置场景内容
+        /// </summary>
+        [JsonProperty("plan_content")]
+        public List<PlanOperateContent> PlanContent { get; set; }
+
+        /// <summary>
+        /// 支付后推荐用于标识方案的名称,方便管理
+        /// </summary>
+        [JsonProperty("plan_name")]
+        public string PlanName { get; set; }
+
+        /// <summary>
+        /// 小程序投放方案场景码,目前只支持支付后推荐场景
+        /// </summary>
+        [JsonProperty("scene")]
+        public string Scene { get; set; }
+
+        /// <summary>
+        /// 可用的服务能力标签列表。可选的服务能力标签,请参考
+        /// </summary>
+        [JsonProperty("service_list")]
+        public List<string> ServiceList { get; set; }
+
+        /// <summary>
+        /// 用于标识支付后推荐的类型,目前只支持小程序和生活号推荐。目前可填的枚举值如下:"TINYAPP"(小程序),"PUBLICAPP"(生活号), "IOT_MEMBER_CARD" (IOT支付后会员卡开卡)
+        /// </summary>
+        [JsonProperty("type")]
+        public string Type { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateModifyModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniPlanOperateModifyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniPlanOperateModifyModel : AlipayObject
+    {
+        /// <summary>
+        /// 小程序投放方案场景码,目前只支持传入支付后推荐场景码:PAYMENT_SUCCESS
+        /// </summary>
+        [JsonProperty("scene")]
+        public string Scene { get; set; }
+
+        /// <summary>
+        /// 目前只支持小程序和生活号类型的优先级调整,若需要调整小程序优先,请传TINYAPP,PUBLICAPP;若需要调整生活号优先,请传PUBLICAPP,TINYAPP
+        /// </summary>
+        [JsonProperty("type_list")]
+        public string TypeList { get; set; }
+    }
+}

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniPlanOperateOfflineModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniPlanOperateOfflineModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniPlanOperateOfflineModel : AlipayObject
+    {
+        /// <summary>
+        /// 指定创建方案的 pid, 该字段仅白名单应用可用, 其他情况下会被忽略
+        /// </summary>
+        [JsonProperty("pid")]
+        public string Pid { get; set; }
+
+        /// <summary>
+        /// 已创建的支付后推荐方案id
+        /// </summary>
+        [JsonProperty("plan_id")]
+        public string PlanId { get; set; }
+    }
+}

+ 18 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniQrcodeUnbindModel.cs

@@ -0,0 +1,18 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniQrcodeUnbindModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniQrcodeUnbindModel : AlipayObject
+    {
+        /// <summary>
+        /// 路由规则组,用于唯一标记一条路由规则
+        /// </summary>
+        [JsonProperty("route_group")]
+        public string RouteGroup { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniTemplateUsageQueryModel.cs

@@ -9,6 +9,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
     [Serializable]
     public class AlipayOpenMiniTemplateUsageQueryModel : AlipayObject
     {
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
         /// <summary>
         /// 查询的页数,默认第一页
         /// </summary>

+ 24 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionAuditCancelModel.cs

@@ -0,0 +1,24 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenMiniVersionAuditCancelModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenMiniVersionAuditCancelModel : AlipayObject
+    {
+        /// <summary>
+        /// 小程序版本号, 可不选, 默认撤消正在审核中的版本
+        /// </summary>
+        [JsonProperty("app_version")]
+        public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端(com.alipay.alipaywallet:支付宝端)
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+    }
+}

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionAuditedCancelModel.cs

@@ -14,5 +14,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端参数,可选,默认支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionBuildQueryModel.cs

@@ -14,5 +14,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionDeleteModel.cs

@@ -14,5 +14,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 小程序投放的端参数,例如投放到支付宝钱包是支付宝端。该参数可选,默认支付宝端,目前仅支持支付宝端,枚举列举:com.alipay.alipaywallet:支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionDetailQueryModel.cs

@@ -14,5 +14,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionGrayCancelModel.cs

@@ -14,5 +14,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionGrayOnlineModel.cs

@@ -15,6 +15,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
 
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
         /// <summary>
         /// 小程序灰度策略值,支持p10,p30,p50,其中p10代表10%的用户,p30代表30%的用户,p50代表50%的用户
         /// </summary>

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionOfflineModel.cs

@@ -14,5 +14,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         /// </summary>
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
+
+        /// <summary>
+        /// 端参数,可不选,默认支付宝端
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
     }
 }

+ 6 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionUploadModel.cs

@@ -15,6 +15,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain
         [JsonProperty("app_version")]
         public string AppVersion { get; set; }
 
+        /// <summary>
+        /// 端参数
+        /// </summary>
+        [JsonProperty("bundle_id")]
+        public string BundleId { get; set; }
+
         /// <summary>
         /// 模板的配置参数
         /// </summary>

+ 54 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenOperationBizfeeActivityApplyModel.cs

@@ -0,0 +1,54 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOpenOperationBizfeeActivityApplyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOpenOperationBizfeeActivityApplyModel : AlipayObject
+    {
+        /// <summary>
+        /// 优惠活动码,由优惠平台创建并分配,对应于某一特定的优惠活动,例如免费提现额度提额活动,由运营同学进行录入,并提供给外部商户
+        /// </summary>
+        [JsonProperty("activity_code")]
+        public string ActivityCode { get; set; }
+
+        /// <summary>
+        /// 针对免费额度提额活动,对应于需要提升的免费额度的量,最多两位小数
+        /// </summary>
+        [JsonProperty("amount")]
+        public string Amount { get; set; }
+
+        /// <summary>
+        /// 业务发生时间,如当前时间
+        /// </summary>
+        [JsonProperty("gmt_service")]
+        public string GmtService { get; set; }
+
+        /// <summary>
+        /// 外部业务号,用作幂等控制,不同的调用需要保证不重复;多次重试的情况下,需要保证该外部业务号相同
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
+        /// <summary>
+        /// 商户ID,填写商户的支付宝2088号
+        /// </summary>
+        [JsonProperty("partner_id")]
+        public string PartnerId { get; set; }
+
+        /// <summary>
+        /// 扩展属性(Map的JSON对象) key和value中不能有英文逗号及等于符号。
+        /// </summary>
+        [JsonProperty("properties")]
+        public string Properties { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID,即应用优惠的对象,例如免费提现额度提额活动,对应于将额度发放的对象
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 66 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitBeneficialinfoCertifyModel.cs

@@ -0,0 +1,66 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOverseasRemitBeneficialinfoCertifyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOverseasRemitBeneficialinfoCertifyModel : AlipayObject
+    {
+        /// <summary>
+        /// 中文名
+        /// </summary>
+        [JsonProperty("chinese_full_name")]
+        public string ChineseFullName { get; set; }
+
+        /// <summary>
+        /// 用户的名,拼音
+        /// </summary>
+        [JsonProperty("first_name")]
+        public string FirstName { get; set; }
+
+        /// <summary>
+        /// 用户的姓,拼音
+        /// </summary>
+        [JsonProperty("last_name")]
+        public string LastName { get; set; }
+
+        /// <summary>
+        /// 登录ID
+        /// </summary>
+        [JsonProperty("logon_id")]
+        public string LogonId { get; set; }
+
+        /// <summary>
+        /// 用户中间的名字
+        /// </summary>
+        [JsonProperty("middle_name")]
+        public string MiddleName { get; set; }
+
+        /// <summary>
+        /// 汇款金额
+        /// </summary>
+        [JsonProperty("order_amount")]
+        public string OrderAmount { get; set; }
+
+        /// <summary>
+        /// 汇款金额的币种
+        /// </summary>
+        [JsonProperty("order_currency")]
+        public string OrderCurrency { get; set; }
+
+        /// <summary>
+        /// 接收端的mid
+        /// </summary>
+        [JsonProperty("receiver_mid")]
+        public string ReceiverMid { get; set; }
+
+        /// <summary>
+        /// 发端的mid
+        /// </summary>
+        [JsonProperty("sender_mid")]
+        public string SenderMid { get; set; }
+    }
+}

+ 90 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitBeneficialinfoQueryModel.cs

@@ -0,0 +1,90 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOverseasRemitBeneficialinfoQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOverseasRemitBeneficialinfoQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 相对于汇率的基准货币
+        /// </summary>
+        [JsonProperty("base_currency")]
+        public string BaseCurrency { get; set; }
+
+        /// <summary>
+        /// 汇率
+        /// </summary>
+        [JsonProperty("exchange_rate")]
+        public string ExchangeRate { get; set; }
+
+        /// <summary>
+        /// 登录ID
+        /// </summary>
+        [JsonProperty("logon_id")]
+        public string LogonId { get; set; }
+
+        /// <summary>
+        /// 外部单据号
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
+        /// <summary>
+        /// 收款的金额
+        /// </summary>
+        [JsonProperty("receive_amount")]
+        public string ReceiveAmount { get; set; }
+
+        /// <summary>
+        /// 收款的金额币种
+        /// </summary>
+        [JsonProperty("receive_currency")]
+        public string ReceiveCurrency { get; set; }
+
+        /// <summary>
+        /// 接收端的ID
+        /// </summary>
+        [JsonProperty("receiver_mid")]
+        public string ReceiverMid { get; set; }
+
+        /// <summary>
+        /// 汇款用途
+        /// </summary>
+        [JsonProperty("remit_purpose")]
+        public string RemitPurpose { get; set; }
+
+        /// <summary>
+        /// 汇款金额
+        /// </summary>
+        [JsonProperty("send_amount")]
+        public string SendAmount { get; set; }
+
+        /// <summary>
+        /// 汇款人国家
+        /// </summary>
+        [JsonProperty("send_country")]
+        public string SendCountry { get; set; }
+
+        /// <summary>
+        /// 汇款币种
+        /// </summary>
+        [JsonProperty("send_currency")]
+        public string SendCurrency { get; set; }
+
+        /// <summary>
+        /// 发端ID
+        /// </summary>
+        [JsonProperty("sender_mid")]
+        public string SenderMid { get; set; }
+
+        /// <summary>
+        /// 汇款人姓名
+        /// </summary>
+        [JsonProperty("sender_name")]
+        public string SenderName { get; set; }
+    }
+}

+ 126 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitFundInitializeModel.cs

@@ -0,0 +1,126 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOverseasRemitFundInitializeModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOverseasRemitFundInitializeModel : AlipayObject
+    {
+        /// <summary>
+        /// 发端生成的单据号
+        /// </summary>
+        [JsonProperty("bc_remit_id")]
+        public string BcRemitId { get; set; }
+
+        /// <summary>
+        /// 区块链上需要做合规检查的mid
+        /// </summary>
+        [JsonProperty("compliance_mid")]
+        public string ComplianceMid { get; set; }
+
+        /// <summary>
+        /// 扩展信息
+        /// </summary>
+        [JsonProperty("extend_info")]
+        public string ExtendInfo { get; set; }
+
+        /// <summary>
+        /// 报价和路由信息
+        /// </summary>
+        [JsonProperty("quote_route_info")]
+        public string QuoteRouteInfo { get; set; }
+
+        /// <summary>
+        /// 收端用户收到的金额
+        /// </summary>
+        [JsonProperty("receiver_amount")]
+        public string ReceiverAmount { get; set; }
+
+        /// <summary>
+        /// 收端用户收到的金额币种
+        /// </summary>
+        [JsonProperty("receiver_currency")]
+        public string ReceiverCurrency { get; set; }
+
+        /// <summary>
+        /// 収端用户信息
+        /// </summary>
+        [JsonProperty("receiver_info")]
+        public string ReceiverInfo { get; set; }
+
+        /// <summary>
+        /// 接收端的mid
+        /// </summary>
+        [JsonProperty("receiver_mid")]
+        public string ReceiverMid { get; set; }
+
+        /// <summary>
+        /// 汇款附言
+        /// </summary>
+        [JsonProperty("remark")]
+        public string Remark { get; set; }
+
+        /// <summary>
+        /// 汇款用途
+        /// </summary>
+        [JsonProperty("remit_purpose")]
+        public string RemitPurpose { get; set; }
+
+        /// <summary>
+        /// 汇款发起的时间
+        /// </summary>
+        [JsonProperty("send_date")]
+        public string SendDate { get; set; }
+
+        /// <summary>
+        /// 发端用户的地址
+        /// </summary>
+        [JsonProperty("sender_address")]
+        public string SenderAddress { get; set; }
+
+        /// <summary>
+        /// 发端用户的金额
+        /// </summary>
+        [JsonProperty("sender_amount")]
+        public string SenderAmount { get; set; }
+
+        /// <summary>
+        /// 发端用户金额的币种
+        /// </summary>
+        [JsonProperty("sender_currency")]
+        public string SenderCurrency { get; set; }
+
+        /// <summary>
+        /// 发端用户的用户id
+        /// </summary>
+        [JsonProperty("sender_id")]
+        public string SenderId { get; set; }
+
+        /// <summary>
+        /// 发端用户信息
+        /// </summary>
+        [JsonProperty("sender_info")]
+        public string SenderInfo { get; set; }
+
+        /// <summary>
+        /// 发端的mid
+        /// </summary>
+        [JsonProperty("sender_mid")]
+        public string SenderMid { get; set; }
+
+        /// <summary>
+        /// 发端用户的国籍
+        /// </summary>
+        [JsonProperty("sender_nationality")]
+        public string SenderNationality { get; set; }
+
+        /// <summary>
+        /// 交易币种
+        /// </summary>
+        [JsonProperty("trans_currency")]
+        public string TransCurrency { get; set; }
+    }
+}

+ 66 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitFundTransferModel.cs

@@ -0,0 +1,66 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOverseasRemitFundTransferModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOverseasRemitFundTransferModel : AlipayObject
+    {
+        /// <summary>
+        /// 汇率的基准币种
+        /// </summary>
+        [JsonProperty("base_currency")]
+        public string BaseCurrency { get; set; }
+
+        /// <summary>
+        /// 发端生成的单据号
+        /// </summary>
+        [JsonProperty("bc_remit_id")]
+        public string BcRemitId { get; set; }
+
+        /// <summary>
+        /// 汇率
+        /// </summary>
+        [JsonProperty("exchange_rate")]
+        public string ExchangeRate { get; set; }
+
+        /// <summary>
+        /// 收端用户收到的金额
+        /// </summary>
+        [JsonProperty("receiver_amount")]
+        public string ReceiverAmount { get; set; }
+
+        /// <summary>
+        /// 收端用户收到的金额币种
+        /// </summary>
+        [JsonProperty("receiver_currency")]
+        public string ReceiverCurrency { get; set; }
+
+        /// <summary>
+        /// 接收端的mid
+        /// </summary>
+        [JsonProperty("receiver_mid")]
+        public string ReceiverMid { get; set; }
+
+        /// <summary>
+        /// 发端用户的金额
+        /// </summary>
+        [JsonProperty("sender_amount")]
+        public string SenderAmount { get; set; }
+
+        /// <summary>
+        /// 发端用户金额的币种
+        /// </summary>
+        [JsonProperty("sender_currency")]
+        public string SenderCurrency { get; set; }
+
+        /// <summary>
+        /// 发端的mid
+        /// </summary>
+        [JsonProperty("sender_mid")]
+        public string SenderMid { get; set; }
+    }
+}

+ 60 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitFxtradeorderCreateModel.cs

@@ -0,0 +1,60 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOverseasRemitFxtradeorderCreateModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOverseasRemitFxtradeorderCreateModel : AlipayObject
+    {
+        /// <summary>
+        /// the unique id on block chain generated by the caller to represent this remit operation
+        /// </summary>
+        [JsonProperty("bc_remit_id")]
+        public string BcRemitId { get; set; }
+
+        /// <summary>
+        /// currency pair
+        /// </summary>
+        [JsonProperty("currency_pair")]
+        public string CurrencyPair { get; set; }
+
+        /// <summary>
+        /// extended info
+        /// </summary>
+        [JsonProperty("extend_info")]
+        public string ExtendInfo { get; set; }
+
+        /// <summary>
+        /// fx trade orderId
+        /// </summary>
+        [JsonProperty("fx_trade_order_id")]
+        public string FxTradeOrderId { get; set; }
+
+        /// <summary>
+        /// fx trade side
+        /// </summary>
+        [JsonProperty("fx_trade_side")]
+        public string FxTradeSide { get; set; }
+
+        /// <summary>
+        /// the Mid of the receiver allocated by net.
+        /// </summary>
+        [JsonProperty("receiver_mid")]
+        public string ReceiverMid { get; set; }
+
+        /// <summary>
+        /// the Mid of the sender allocated by net.
+        /// </summary>
+        [JsonProperty("sender_mid")]
+        public string SenderMid { get; set; }
+
+        /// <summary>
+        /// { "currency":"CNY", "value":"100000" }
+        /// </summary>
+        [JsonProperty("trans_amount")]
+        public Money TransAmount { get; set; }
+    }
+}

+ 48 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitResultFinishModel.cs

@@ -0,0 +1,48 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayOverseasRemitResultFinishModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayOverseasRemitResultFinishModel : AlipayObject
+    {
+        /// <summary>
+        /// 汇款结果
+        /// </summary>
+        [JsonProperty("biz_result_code")]
+        public string BizResultCode { get; set; }
+
+        /// <summary>
+        /// 汇款结果描述
+        /// </summary>
+        [JsonProperty("biz_result_msg")]
+        public string BizResultMsg { get; set; }
+
+        /// <summary>
+        /// 完成时间
+        /// </summary>
+        [JsonProperty("complete_time")]
+        public string CompleteTime { get; set; }
+
+        /// <summary>
+        /// 发端的单据号
+        /// </summary>
+        [JsonProperty("external_biz_no")]
+        public string ExternalBizNo { get; set; }
+
+        /// <summary>
+        /// 接收端的mid
+        /// </summary>
+        [JsonProperty("receiver_mid")]
+        public string ReceiverMid { get; set; }
+
+        /// <summary>
+        /// 发端的mid
+        /// </summary>
+        [JsonProperty("sender_mid")]
+        public string SenderMid { get; set; }
+    }
+}

+ 60 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecAcodeDecodeUseModel.cs

@@ -0,0 +1,60 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayPayCodecAcodeDecodeUseModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayPayCodecAcodeDecodeUseModel : AlipayObject
+    {
+        /// <summary>
+        /// 具体业务场景代码
+        /// </summary>
+        [JsonProperty("acode_scene")]
+        public string AcodeScene { get; set; }
+
+        /// <summary>
+        /// 场景码。用于区分大场景。非必填参数,不传默认是非支付场景
+        /// </summary>
+        [JsonProperty("biz_scene")]
+        public string BizScene { get; set; }
+
+        /// <summary>
+        /// 扫码设备ID
+        /// </summary>
+        [JsonProperty("device_id")]
+        public string DeviceId { get; set; }
+
+        /// <summary>
+        /// 二维码byte数组的base64的形式
+        /// </summary>
+        [JsonProperty("dynamic_id")]
+        public string DynamicId { get; set; }
+
+        /// <summary>
+        /// 机构类型,浙里办传“00000008”
+        /// </summary>
+        [JsonProperty("institution_type")]
+        public string InstitutionType { get; set; }
+
+        /// <summary>
+        /// 地理位置信息
+        /// </summary>
+        [JsonProperty("lbs_info")]
+        public string LbsInfo { get; set; }
+
+        /// <summary>
+        /// 扫码的时间戳(Long型)
+        /// </summary>
+        [JsonProperty("scan_time")]
+        public long ScanTime { get; set; }
+
+        /// <summary>
+        /// 外部业务号,用于标识这笔解码请求,对同一个码的重复解码请求,scene_no必须与上一次保持一致,不同请求的scene_no必须不一样
+        /// </summary>
+        [JsonProperty("scene_no")]
+        public string SceneNo { get; set; }
+    }
+}

+ 42 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiAuthBusinessConfirmModel.cs

@@ -0,0 +1,42 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayPcreditHuabeiAuthBusinessConfirmModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayPcreditHuabeiAuthBusinessConfirmModel : AlipayObject
+    {
+        /// <summary>
+        /// 支付宝系统中用以唯一标识用户签约记录的编号。
+        /// </summary>
+        [JsonProperty("agreement_no")]
+        public string AgreementNo { get; set; }
+
+        /// <summary>
+        /// 买家在支付宝的用户id
+        /// </summary>
+        [JsonProperty("alipay_user_id")]
+        public string AlipayUserId { get; set; }
+
+        /// <summary>
+        /// 用于描述商户需要回执的业务类型。如签约:SIGN
+        /// </summary>
+        [JsonProperty("biz_type")]
+        public string BizType { get; set; }
+
+        /// <summary>
+        /// 商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除英文、数字以外的字符,需要保证在商户端不重复。
+        /// </summary>
+        [JsonProperty("out_request_no")]
+        public string OutRequestNo { get; set; }
+
+        /// <summary>
+        /// 商户的支付宝用户id。如果该值为空,则默认为商户签约账号对应的支付宝用户ID。
+        /// </summary>
+        [JsonProperty("seller_id")]
+        public string SellerId { get; set; }
+    }
+}

+ 54 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditLoanCommissionQueryModel.cs

@@ -0,0 +1,54 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipayPcreditLoanCommissionQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipayPcreditLoanCommissionQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 账户ID
+        /// </summary>
+        [JsonProperty("account_id")]
+        public string AccountId { get; set; }
+
+        /// <summary>
+        /// 账户类型: 1.支付宝登录号-ALIPAY_LOGON_ID 2.支付宝会员ID-ALIPAY_USER_ID
+        /// </summary>
+        [JsonProperty("account_type")]
+        public string AccountType { get; set; }
+
+        /// <summary>
+        /// 指定数据查询的日期,格式为:yyyyMMdd,如果用户指定则使用指定日期,否则使用系统日期
+        /// </summary>
+        [JsonProperty("biz_date")]
+        public string BizDate { get; set; }
+
+        /// <summary>
+        /// 渠道,用于标识请求来源
+        /// </summary>
+        [JsonProperty("channel")]
+        public string Channel { get; set; }
+
+        /// <summary>
+        /// 企业ID,如居然之家、红星美凯龙等
+        /// </summary>
+        [JsonProperty("enterprise_id")]
+        public string EnterpriseId { get; set; }
+
+        /// <summary>
+        /// 外部请求号,代表了一次请求,作为业务幂等性控制
+        /// </summary>
+        [JsonProperty("out_request_no")]
+        public string OutRequestNo { get; set; }
+
+        /// <summary>
+        /// 门店ID
+        /// </summary>
+        [JsonProperty("store_id")]
+        public string StoreId { get; set; }
+    }
+}

+ 18 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityProdCheckIqQueryModel.cs

@@ -0,0 +1,18 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipaySecurityProdCheckIqQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipaySecurityProdCheckIqQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 纬度
+        /// </summary>
+        [JsonProperty("latitude")]
+        public string Latitude { get; set; }
+    }
+}

+ 18 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityProdDfesfDefBatchqueryModel.cs

@@ -0,0 +1,18 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipaySecurityProdDfesfDefBatchqueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipaySecurityProdDfesfDefBatchqueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 纬度
+        /// </summary>
+        [JsonProperty("latitude")]
+        public string Latitude { get; set; }
+    }
+}

+ 54 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialAntforestAccountTransferModel.cs

@@ -0,0 +1,54 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipaySocialAntforestAccountTransferModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipaySocialAntforestAccountTransferModel : AlipayObject
+    {
+        /// <summary>
+        /// 用户在森林里的账户id,转移能量的源头账户(可以是user_id相同)
+        /// </summary>
+        [JsonProperty("energy_account_from")]
+        public string EnergyAccountFrom { get; set; }
+
+        /// <summary>
+        /// 能量转移的目标账户
+        /// </summary>
+        [JsonProperty("energy_account_to")]
+        public string EnergyAccountTo { get; set; }
+
+        /// <summary>
+        /// 转移出去的能量值
+        /// </summary>
+        [JsonProperty("energy_count")]
+        public long EnergyCount { get; set; }
+
+        /// <summary>
+        /// 扩展字段,用于不同业务之间的数据扩展
+        /// </summary>
+        [JsonProperty("ext_info")]
+        public string ExtInfo { get; set; }
+
+        /// <summary>
+        /// 比如某种业务标准外部订单号,比如交易外部订单号,代表商户端自己订单号
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
+        /// <summary>
+        /// USER_TO_ACCOUNT: 内部户->外部户转移,钉钉用这个类型
+        /// </summary>
+        [JsonProperty("transfer_type")]
+        public string TransferType { get; set; }
+
+        /// <summary>
+        /// 蚂蚁统一会员ID,执行该操作的支付宝用户
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 18 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialAntforestEnergyQueryModel.cs

@@ -0,0 +1,18 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipaySocialAntforestEnergyQueryModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipaySocialAntforestEnergyQueryModel : AlipayObject
+    {
+        /// <summary>
+        /// 蚂蚁统一会员ID
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

+ 48 - 0
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialAntforestPlantApplyModel.cs

@@ -0,0 +1,48 @@
+using System;
+using Newtonsoft.Json;
+
+namespace Essensoft.AspNetCore.Payment.Alipay.Domain
+{
+    /// <summary>
+    /// AlipaySocialAntforestPlantApplyModel Data Structure.
+    /// </summary>
+    [Serializable]
+    public class AlipaySocialAntforestPlantApplyModel : AlipayObject
+    {
+        /// <summary>
+        /// 出账购买树种的账户id
+        /// </summary>
+        [JsonProperty("account_id")]
+        public string AccountId { get; set; }
+
+        /// <summary>
+        /// 兑换类型,默认是ACCOUNT,走account账户扣能量
+        /// </summary>
+        [JsonProperty("apply_type")]
+        public string ApplyType { get; set; }
+
+        /// <summary>
+        /// 接口扩展参数,商户可透传一些信息进来,后续扩展或者透传等作用
+        /// </summary>
+        [JsonProperty("ext_info")]
+        public string ExtInfo { get; set; }
+
+        /// <summary>
+        /// 用于幂等操作
+        /// </summary>
+        [JsonProperty("out_biz_no")]
+        public string OutBizNo { get; set; }
+
+        /// <summary>
+        /// 项目id,需要配合其他查询接口,查询到相关的项目之后使用。不限于树种,还包括保护地等
+        /// </summary>
+        [JsonProperty("project_id")]
+        public string ProjectId { get; set; }
+
+        /// <summary>
+        /// 发起该行为的支付宝用户 蚂蚁统一会员ID,可选
+        /// </summary>
+        [JsonProperty("user_id")]
+        public string UserId { get; set; }
+    }
+}

部分文件因为文件数量过多而无法显示