diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillBillcustviewBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillBillcustviewBatchqueryModel.cs index c82c2f940..ee15ba534 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillBillcustviewBatchqueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillBillcustviewBatchqueryModel.cs @@ -13,5 +13,11 @@ public class AlipayBossFncApbillBillcustviewBatchqueryModel : AlipayObject /// [JsonPropertyName("bill_nos")] public List BillNos { get; set; } + + /// + /// 发票种类{"01":"增值税专用发票","02":"增值税普通发票","05":"其它发票","07":"虚拟发票"} + /// + [JsonPropertyName("invoice_type")] + public string InvoiceType { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillCustviewBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillCustviewBatchqueryModel.cs index 98f9beeed..e700c9e38 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillCustviewBatchqueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillCustviewBatchqueryModel.cs @@ -50,6 +50,12 @@ public class AlipayBossFncApbillCustviewBatchqueryModel : AlipayObject [JsonPropertyName("inst_id")] public string InstId { get; set; } + /// + /// 发票种类{"01":"增值税专用发票","02":"增值税普通发票","05":"其它发票","07":"虚拟发票"} + /// + [JsonPropertyName("invoice_type")] + public string InvoiceType { get; set; } + /// /// 参与者角色ID /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillTotalbillamtQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillTotalbillamtQueryModel.cs index 859c5840c..c8c2341f2 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillTotalbillamtQueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncApbillTotalbillamtQueryModel.cs @@ -50,6 +50,12 @@ public class AlipayBossFncApbillTotalbillamtQueryModel : AlipayObject [JsonPropertyName("inst_id")] public string InstId { get; set; } + /// + /// 发票种类{"01":"增值税专用发票","02":"增值税普通发票","05":"其它发票","07":"虚拟发票"} + /// + [JsonPropertyName("invoice_type")] + public string InvoiceType { get; set; } + /// /// 参与者角色ID /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetrodetailQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetrodetailQueryModel.cs new file mode 100644 index 000000000..30d3c7abd --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetrodetailQueryModel.cs @@ -0,0 +1,64 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayDataAiserviceCloudbusMetrodetailQueryModel Data Structure. + /// + public class AlipayDataAiserviceCloudbusMetrodetailQueryModel : AlipayObject + { + /// + /// 版本号 + /// + [JsonPropertyName("app_version")] + public string AppVersion { get; set; } + + /// + /// 市 + /// + [JsonPropertyName("city_code")] + public string CityCode { get; set; } + + /// + /// 6位目的地geohash + /// + [JsonPropertyName("dest_geo")] + public string DestGeo { get; set; } + + /// + /// 结束时间 + /// + [JsonPropertyName("end_date")] + public string EndDate { get; set; } + + /// + /// 进出站 0:进站 1:出站 + /// + [JsonPropertyName("is_out")] + public long IsOut { get; set; } + + /// + /// 商户ID + /// + [JsonPropertyName("partner_id")] + public string PartnerId { get; set; } + + /// + /// 开始年月 + /// + [JsonPropertyName("start_date")] + public string StartDate { get; set; } + + /// + /// 站点id + /// + [JsonPropertyName("station_id")] + public string StationId { get; set; } + + /// + /// 操作类型: 0:普通(默认) 1:潜在 + /// + [JsonPropertyName("type")] + public long Type { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetroodQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetroodQueryModel.cs new file mode 100644 index 000000000..e5e3731fb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetroodQueryModel.cs @@ -0,0 +1,58 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayDataAiserviceCloudbusMetroodQueryModel Data Structure. + /// + public class AlipayDataAiserviceCloudbusMetroodQueryModel : AlipayObject + { + /// + /// 接口版本号 + /// + [JsonPropertyName("app_version")] + public string AppVersion { get; set; } + + /// + /// 市 + /// + [JsonPropertyName("city_code")] + public string CityCode { get; set; } + + /// + /// 结束时间 + /// + [JsonPropertyName("end_date")] + public string EndDate { get; set; } + + /// + /// 进出站 0:进站 1:出站 + /// + [JsonPropertyName("is_out")] + public long IsOut { get; set; } + + /// + /// 商户ID + /// + [JsonPropertyName("partner_id")] + public string PartnerId { get; set; } + + /// + /// 开始年月 + /// + [JsonPropertyName("start_date")] + public string StartDate { get; set; } + + /// + /// 站点名称 + /// + [JsonPropertyName("station_id")] + public string StationId { get; set; } + + /// + /// 操作类型: 0:普通(默认) 1:潜在 + /// + [JsonPropertyName("type")] + public long Type { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetrotimeQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetrotimeQueryModel.cs new file mode 100644 index 000000000..b9898f557 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataAiserviceCloudbusMetrotimeQueryModel.cs @@ -0,0 +1,64 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayDataAiserviceCloudbusMetrotimeQueryModel Data Structure. + /// + public class AlipayDataAiserviceCloudbusMetrotimeQueryModel : AlipayObject + { + /// + /// 接口版本号 + /// + [JsonPropertyName("app_version")] + public string AppVersion { get; set; } + + /// + /// 市 + /// + [JsonPropertyName("city_code")] + public string CityCode { get; set; } + + /// + /// 6位目的地geohash + /// + [JsonPropertyName("dest_geo")] + public string DestGeo { get; set; } + + /// + /// 结束年月 + /// + [JsonPropertyName("end_date")] + public string EndDate { get; set; } + + /// + /// 进出站 0:进站 1:出站 + /// + [JsonPropertyName("is_out")] + public long IsOut { get; set; } + + /// + /// 商户ID + /// + [JsonPropertyName("partner_id")] + public string PartnerId { get; set; } + + /// + /// 开始年月 + /// + [JsonPropertyName("start_date")] + public string StartDate { get; set; } + + /// + /// 地铁站名称 + /// + [JsonPropertyName("station_id")] + public string StationId { get; set; } + + /// + /// 操作类型: 0:普通(默认) 1:潜在 + /// + [JsonPropertyName("type")] + public long Type { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataserviceAntdacEasyserviceQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataserviceAntdacEasyserviceQueryModel.cs deleted file mode 100644 index 0537dcbca..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataserviceAntdacEasyserviceQueryModel.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// AlipayDataDataserviceAntdacEasyserviceQueryModel Data Structure. - /// - public class AlipayDataDataserviceAntdacEasyserviceQueryModel : AlipayObject - { - /// - /// 调用方法id+询问antdac应用开发者获取+每个方法id对应一个真实调用的接口 - /// - [JsonPropertyName("method_id")] - public string MethodId { get; set; } - - /// - /// 方法所需参数+json字符串格式+method_id接口所需的参数 - /// - [JsonPropertyName("parameter_json")] - public string ParameterJson { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataserviceLbsDiscountBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataserviceLbsDiscountBatchqueryModel.cs deleted file mode 100644 index de615cefc..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataserviceLbsDiscountBatchqueryModel.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// AlipayDataDataserviceLbsDiscountBatchqueryModel Data Structure. - /// - public class AlipayDataDataserviceLbsDiscountBatchqueryModel : AlipayObject - { - /// - /// 媒体编号,使用前需要找业务申请 ,不申请直接调用会失败 - /// - [JsonPropertyName("channel")] - public string Channel { get; set; } - - /// - /// 手机IMEI号,imei、user_id、mobile三者必须且只能填一个 - /// - [JsonPropertyName("imei")] - public string Imei { get; set; } - - /// - /// 纬度 - /// - [JsonPropertyName("latitude")] - public string Latitude { get; set; } - - /// - /// 经度 - /// - [JsonPropertyName("longitude")] - public string Longitude { get; set; } - - /// - /// 手机号码,imei、user_id、mobile三者必须且只能填一个 - /// - [JsonPropertyName("mobile")] - public string Mobile { get; set; } - - /// - /// 输出的券列表大小 - /// - [JsonPropertyName("size")] - public long Size { get; set; } - - /// - /// 支付宝用户ID,imei、user_id、mobile三者必须且只能填一个 - /// - [JsonPropertyName("user_id")] - public string UserId { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenContentContentlibYoukuvideoauditSendModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenContentContentlibYoukuvideoauditSendModel.cs new file mode 100644 index 000000000..b4e66ffd0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenContentContentlibYoukuvideoauditSendModel.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOpenContentContentlibYoukuvideoauditSendModel Data Structure. + /// + public class AlipayOpenContentContentlibYoukuvideoauditSendModel : AlipayObject + { + /// + /// 审核后状态:allowed 审核通 过,blocked 屏蔽驳回, censoring 审核中 + /// + [JsonPropertyName("action")] + public string Action { get; set; } + + /// + /// 扩展信息,json格式 + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 审核前状态:allowed 审核通 过,blocked 屏蔽驳回, censoring 审核中 + /// + [JsonPropertyName("old_action")] + public string OldAction { get; set; } + + /// + /// 审核来源,1表示审核-一审、 2表示审核-二审、3表示审核- 三审、4表示审核-综合审、 5表示审核-修改审, 30表示播 控, 31表示版权解除屏蔽操 作,32VMS解屏蔽,33表示视 频替换 40来疯先发后审 41 表 示来疯审核 + /// + [JsonPropertyName("source")] + public string Source { get; set; } + + /// + /// 视频ID + /// + [JsonPropertyName("vid")] + public string Vid { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelFliggyAuthorityQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelFliggyAuthorityQueryModel.cs new file mode 100644 index 000000000..dae19c5b4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelFliggyAuthorityQueryModel.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTravelFliggyAuthorityQueryModel Data Structure. + /// + public class AlipayOverseasTravelFliggyAuthorityQueryModel : AlipayObject + { + /// + /// 支付宝运营店ID + /// + [JsonPropertyName("global_shop_id")] + public string GlobalShopId { get; set; } + + /// + /// 登录账户的操作员ID + /// + [JsonPropertyName("operator_id")] + public string OperatorId { get; set; } + + /// + /// 用户类型: 主账户 or 操作员. 主账号:MAIN_ACCOUNT 操作员:OPERATOR + /// + [JsonPropertyName("operator_type")] + public string OperatorType { get; set; } + + /// + /// 登录账户归属的机构PID + /// + [JsonPropertyName("owner_id")] + public string OwnerId { get; set; } + + /// + /// 飞猪门店ID + /// + [JsonPropertyName("store_id")] + public string StoreId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelFliggyStoreModifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelFliggyStoreModifyModel.cs new file mode 100644 index 000000000..ff121c669 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelFliggyStoreModifyModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTravelFliggyStoreModifyModel Data Structure. + /// + public class AlipayOverseasTravelFliggyStoreModifyModel : AlipayObject + { + /// + /// 错误码 + /// + [JsonPropertyName("code")] + public string Code { get; set; } + + /// + /// 主体数据 + /// + [JsonPropertyName("data")] + public StoreInfo Data { get; set; } + + /// + /// 请求消息 + /// + [JsonPropertyName("message")] + public string Message { get; set; } + + /// + /// 成功 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayApplepayTransactionauthtokenCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayApplepayTransactionauthtokenCreateModel.cs new file mode 100644 index 000000000..d0c12f784 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayApplepayTransactionauthtokenCreateModel.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayPayApplepayTransactionauthtokenCreateModel Data Structure. + /// + public class AlipayPayApplepayTransactionauthtokenCreateModel : AlipayObject + { + /// + /// 设备id + /// + [JsonPropertyName("device_identifier")] + public string DeviceIdentifier { get; set; } + + /// + /// 卡id + /// + [JsonPropertyName("provisioning_bundle_identifier")] + public string ProvisioningBundleIdentifier { get; set; } + + /// + /// 卡id列表,与卡id两者不能同时为空 + /// + [JsonPropertyName("provisioning_bundle_identifiers")] + public List ProvisioningBundleIdentifiers { get; set; } + + /// + /// 推送通知给wagu设备的token + /// + [JsonPropertyName("push_token")] + public string PushToken { get; set; } + + /// + /// uid + /// + [JsonPropertyName("reference_identifier")] + public string ReferenceIdentifier { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecApplepayBarcodeeventNotifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecApplepayBarcodeeventNotifyModel.cs new file mode 100644 index 000000000..b6cdfd747 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecApplepayBarcodeeventNotifyModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayPayCodecApplepayBarcodeeventNotifyModel Data Structure. + /// + public class AlipayPayCodecApplepayBarcodeeventNotifyModel : AlipayObject + { + /// + /// 码的id。{Identifier for this credential} + /// + [JsonPropertyName("barcode_identifier")] + public string BarcodeIdentifier { get; set; } + + /// + /// 上报事件,Base64 encoded UTF-8 bytes of Event Data JSON object defined below. + /// + [JsonPropertyName("event")] + public string Event { get; set; } + + /// + /// 上报时间的签名,Base64 encoded PKCS#7 detached ECDSA signature. Signature data is generated over the SHA- 256 hash of Base64 decoded event bytes。 + /// + [JsonPropertyName("signature")] + public string Signature { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecHschoolDecodeUseModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecHschoolDecodeUseModel.cs new file mode 100644 index 000000000..2b26033ab --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecHschoolDecodeUseModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayPayCodecHschoolDecodeUseModel Data Structure. + /// + public class AlipayPayCodecHschoolDecodeUseModel : AlipayObject + { + /// + /// 码值 + /// + [JsonPropertyName("code_value")] + public string CodeValue { get; set; } + + /// + /// 机构号 + /// + [JsonPropertyName("institution_code")] + public string InstitutionCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeApplepayAuthenticationSubmitModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeApplepayAuthenticationSubmitModel.cs new file mode 100644 index 000000000..ff6d94feb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeApplepayAuthenticationSubmitModel.cs @@ -0,0 +1,35 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayTradeApplepayAuthenticationSubmitModel Data Structure. + /// + public class AlipayTradeApplepayAuthenticationSubmitModel : AlipayObject + { + /// + /// ApplePay核身鉴权结果,包括:支付密码、用户确认、数字签名 + /// + [JsonPropertyName("authentication_results")] + public List AuthenticationResults { get; set; } + + /// + /// Apple端的设备ID + /// + [JsonPropertyName("device_identifier")] + public string DeviceIdentifier { get; set; } + + /// + /// Apple绑定的BundleId + /// + [JsonPropertyName("dpan_identifier")] + public string DpanIdentifier { get; set; } + + /// + /// 交易标识 + /// + [JsonPropertyName("transaction_identifier")] + public string TransactionIdentifier { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeWapPayModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeWapPayModel.cs index 57e3a61c4..4f507ff8e 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeWapPayModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeWapPayModel.cs @@ -1,4 +1,5 @@ -using System.Text.Json.Serialization; +using System.Collections.Generic; +using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { @@ -49,6 +50,12 @@ public class AlipayTradeWapPayModel : AlipayObject [JsonPropertyName("extend_params")] public ExtendParams ExtendParams { get; set; } + /// + /// 订单包含的商品列表信息,json格式,其它说明详见商品明细说明 + /// + [JsonPropertyName("goods_detail")] + public List GoodsDetail { get; set; } + /// /// 商品主类型 :0-虚拟类商品,1-实物类商品 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayOtpSendModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayOtpSendModel.cs new file mode 100644 index 000000000..eeeee27e8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayOtpSendModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayUserApplepayOtpSendModel Data Structure. + /// + public class AlipayUserApplepayOtpSendModel : AlipayObject + { + /// + /// 卡id(由固定前缀+32位数字构成) + /// + [JsonPropertyName("provisioning_bundle_identifier")] + public string ProvisioningBundleIdentifier { get; set; } + + /// + /// 校验方法标识 + /// + [JsonPropertyName("resolution_method_identifier")] + public string ResolutionMethodIdentifier { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntlbsKBDiscountInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntlbsKBDiscountInfo.cs deleted file mode 100644 index d157714b0..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntlbsKBDiscountInfo.cs +++ /dev/null @@ -1,142 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// AntlbsKBDiscountInfo Data Structure. - /// - public class AntlbsKBDiscountInfo : AlipayObject - { - /// - /// 全场代金的门槛金额 - /// - [JsonPropertyName("apply_condition")] - public string ApplyCondition { get; set; } - - /// - /// 买M送N的描述 - /// - [JsonPropertyName("buy_send_desc")] - public string BuySendDesc { get; set; } - - /// - /// 折扣率 仅当券类型为折扣券时有效 有效折扣率取值范围0.11-0.99 仅允许保留小数点后两位 - /// - [JsonPropertyName("discount")] - public string Discount { get; set; } - - /// - /// 最近店铺离当前用户的距离 - /// - [JsonPropertyName("distance")] - public string Distance { get; set; } - - /// - /// 优惠结束时间 - /// - [JsonPropertyName("end_time")] - public string EndTime { get; set; } - - /// - /// 券的图片地址 - /// - [JsonPropertyName("image_url")] - public string ImageUrl { get; set; } - - /// - /// 优惠id - /// - [JsonPropertyName("item_id")] - public string ItemId { get; set; } - - /// - /// 券的名称 - /// - [JsonPropertyName("item_name")] - public string ItemName { get; set; } - - /// - /// 商品的一些标签 - /// - [JsonPropertyName("label")] - public string Label { get; set; } - - /// - /// 减至券的原价 - /// - [JsonPropertyName("original_price")] - public string OriginalPrice { get; set; } - - /// - /// 每满thresholdPrice元减perPrice元,封顶topPrice元 - /// - [JsonPropertyName("per_price")] - public string PerPrice { get; set; } - - /// - /// 当券类型是代金券的时候,这个字段代表实际金额;当券类型是减至券的时候,这个字段代表减至到的金额 - /// - [JsonPropertyName("price")] - public string Price { get; set; } - - /// - /// 券推荐语 - /// - [JsonPropertyName("reason")] - public string Reason { get; set; } - - /// - /// 买A送B中,B的描述 - /// - [JsonPropertyName("send_item_name")] - public string SendItemName { get; set; } - - /// - /// 门店id - /// - [JsonPropertyName("shop_id")] - public string ShopId { get; set; } - - /// - /// 券的店铺名 - /// - [JsonPropertyName("shop_name")] - public string ShopName { get; set; } - - /// - /// 已领数 - /// - [JsonPropertyName("sold")] - public string Sold { get; set; } - - /// - /// 优惠开始时间 - /// - [JsonPropertyName("start_time")] - public string StartTime { get; set; } - - /// - /// 每满thresholdPrice元减perPrice元,封顶topPrice元 - /// - [JsonPropertyName("threshold_price")] - public string ThresholdPrice { get; set; } - - /// - /// 每满减用的字段:每满thresholdPrice元减perPrice元,封顶topPrice元 - /// - [JsonPropertyName("top_price")] - public string TopPrice { get; set; } - - /// - /// 目前有discount:折扣券;cash:代金券;exchange:兑换券;limit_reduce_cash:减至券 - /// - [JsonPropertyName("type")] - public string Type { get; set; } - - /// - /// 券二级类型。all_discount:全场折扣;single_discount:单品折扣;all_cash:全场代金;single_cash:单品代金 - /// - [JsonPropertyName("vol_type")] - public string VolType { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceRiskWarningAddModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceRiskWarningAddModel.cs new file mode 100644 index 000000000..98f6b5ad8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceRiskWarningAddModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AnttechBlockchainFinanceRiskWarningAddModel Data Structure. + /// + public class AnttechBlockchainFinanceRiskWarningAddModel : AlipayObject + { + /// + /// 外部风控编号 + /// + [JsonPropertyName("out_risk_id")] + public string OutRiskId { get; set; } + + /// + /// 风控详情 + /// + [JsonPropertyName("risk_info")] + public string RiskInfo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AuthenticationResult.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AuthenticationResult.cs new file mode 100644 index 000000000..080a9c723 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AuthenticationResult.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AuthenticationResult Data Structure. + /// + public class AuthenticationResult : AlipayObject + { + /// + /// 已加密的鉴权数据 + /// + [JsonPropertyName("authentication_data")] + public string AuthenticationData { get; set; } + + /// + /// 鉴权类型,如:支付密码、数字签名 + /// + [JsonPropertyName("authentication_mechanism")] + public string AuthenticationMechanism { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BarcodeEventResponseHeader.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BarcodeEventResponseHeader.cs new file mode 100644 index 000000000..38adbebad --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BarcodeEventResponseHeader.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// BarcodeEventResponseHeader Data Structure. + /// + public class BarcodeEventResponseHeader : AlipayObject + { + /// + /// 200=成功,400=请求错误,403=bundle查询不到。 Status code used to indicate an error, or "200" for success. + /// + [JsonPropertyName("status_code")] + public string StatusCode { get; set; } + + /// + /// Not parsed programmatically. Example "Downstream system offline" + /// + [JsonPropertyName("status_message")] + public string StatusMessage { get; set; } + + /// + /// Conveys failure codes from downstream entities or for more granular conveyance of specific error conditions. + /// + [JsonPropertyName("sub_status_code")] + public string SubStatusCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BaseOpenApiResponseHeaderDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BaseOpenApiResponseHeaderDTO.cs new file mode 100644 index 000000000..a5dd7dc29 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BaseOpenApiResponseHeaderDTO.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// BaseOpenApiResponseHeaderDTO Data Structure. + /// + public class BaseOpenApiResponseHeaderDTO : AlipayObject + { + /// + /// http状态码 + /// + [JsonPropertyName("status_code")] + public string StatusCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FinanceInvoiceInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FinanceInvoiceInfo.cs index d1459c4fb..ff473107a 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FinanceInvoiceInfo.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FinanceInvoiceInfo.cs @@ -8,11 +8,17 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain public class FinanceInvoiceInfo : AlipayObject { /// - /// 发票金额,以元为单位的,精确到小数点后2位 + /// 发票金额(不含税),以元为单位的,精确到小数点后2位 /// [JsonPropertyName("amount")] public string Amount { get; set; } + /// + /// 发票金额(含税) + /// + [JsonPropertyName("amount_with_tax")] + public string AmountWithTax { get; set; } + /// /// UTC标准格式 /// @@ -25,6 +31,12 @@ public class FinanceInvoiceInfo : AlipayObject [JsonPropertyName("check_code")] public string CheckCode { get; set; } + /// + /// 发票对应合同编号 + /// + [JsonPropertyName("contract_no")] + public string ContractNo { get; set; } + /// /// 发票影印件信息 /// @@ -42,5 +54,11 @@ public class FinanceInvoiceInfo : AlipayObject /// [JsonPropertyName("invoice_number")] public string InvoiceNumber { get; set; } + + /// + /// 发票类型:专票SPECIAL,普票REGULAR,电票DIGITAL + /// + [JsonPropertyName("invoice_type")] + public string InvoiceType { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiCateringOrderInfoSyncModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiCateringOrderInfoSyncModel.cs index 4befdbbf8..008c533c0 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiCateringOrderInfoSyncModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiCateringOrderInfoSyncModel.cs @@ -14,7 +14,7 @@ public class KoubeiCateringOrderInfoSyncModel : AlipayObject public string Action { get; set; } /// - /// 操作内容信息,Map actionInfo = new HashMap(); actionInfo.put("NO","5100");// 取餐号 JSONObject.toJSONString(actionInfo);拒单原因/主动退款原因/同意退款原因包括:1、RECEIVE_TIMEOUT超时未接单,2、BUSY店铺太忙,无法接待3、DUPLICATE_ORDER重复订单,4、SHOP_CLOSE店铺已打烊5、SELL_OUT菜品售完,5、OTHER_REASON 其他原因,6、TABLE_NOT_EXIST 桌号不存在,7、LOW_VERSION 收银系统版本过低,8、SHOP_NOT_CONNECTED 没有门店绑定关系,9、MERCHANT_NOT_AUTHORIZED 商户没有授权,10、POS_UNCONNECTED POS关机或未联网,11、DISH_REASON 菜品原因;拒绝退款原因包括:1、RECEIVE_TIMEOUT用户已取餐,2、UNDER_LINE_NEGOTIATION和用户协商一致,线下解决,3、OTHER_REASON其他原因,4、ORDER_HAS_PARTIAL_REFUNDED订单发起部分退款,5、ORDER_HAS_REFUNDED订单发起整单退款,6、ORDER_HAS_VERIFIED订单发起核销;接单时action_info中加桌号(tableNo),tableNo和no只能传一种,并确定取餐方式;修改桌号时action_info中传tableNo,4、部分退款调用时,out_refund_no为外部退款单号来保证幂等,refund_amount为部分退款金额。5、排队顺序同步时,action_info中加排队序号queueNum + /// 操作内容信息,Map actionInfo = new HashMap(); actionInfo.put("NO","5100");// 取餐号 JSONObject.toJSONString(actionInfo);拒单原因/主动退款原因/同意退款原因包括:1、RECEIVE_TIMEOUT超时未接单,2、BUSY店铺太忙,无法接待3、DUPLICATE_ORDER重复订单,4、SHOP_CLOSE店铺已打烊5、SELL_OUT菜品售完,5、OTHER_REASON 其他原因,6、TABLE_NOT_EXIST 桌号不存在,7、LOW_VERSION 收银系统版本过低,8、SHOP_NOT_CONNECTED 没有门店绑定关系,9、MERCHANT_NOT_AUTHORIZED 商户没有授权,10、POS_UNCONNECTED POS关机或未联网,11、DISH_REASON 菜品原因;拒绝退款原因包括:1、RECEIVE_TIMEOUT用户已取餐,2、UNDER_LINE_NEGOTIATION和用户协商一致,线下解决,3、OTHER_REASON其他原因,4、ORDER_HAS_PARTIAL_REFUNDED订单发起部分退款,5、ORDER_HAS_REFUNDED订单发起整单退款,6、ORDER_HAS_VERIFIED订单发起核销; 接单时action_info中加桌号(tableNo),tableNo和no只能传一种,并确定取餐方式;修改桌号时action_info中传tableNo,thirdPayNo:外部订单号,estimatePickUpTime:预计取餐时间,格式为:${xx}-${yy},${xx}和${yy}为数字,单位为分钟 4、部分退款调用时,out_refund_no为外部退款单号来保证幂等,refund_amount为部分退款金额。5、排队顺序同步时,action_info中加排队序号queueNum /// [JsonPropertyName("action_info")] public string ActionInfo { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/PaginationCommGroup.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/PaginationCommGroup.cs new file mode 100644 index 000000000..0b12a0875 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/PaginationCommGroup.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// PaginationCommGroup Data Structure. + /// + public class PaginationCommGroup : AlipayObject + { + /// + /// 出参列表 + /// + [JsonPropertyName("list")] + public List List { get; set; } + + /// + /// 页码,表示当前页数 + /// + [JsonPropertyName("page_no")] + public string PageNo { get; set; } + + /// + /// 每页条数 + /// + [JsonPropertyName("page_size")] + public string PageSize { get; set; } + + /// + /// 总条数 + /// + [JsonPropertyName("total_count")] + public string TotalCount { get; set; } + + /// + /// 总页数 + /// + [JsonPropertyName("total_page")] + public string TotalPage { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAmountDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAmountDTO.cs new file mode 100644 index 000000000..c2bfdf691 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAmountDTO.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// TransactionAmountDTO Data Structure. + /// + public class TransactionAmountDTO : AlipayObject + { + /// + /// 金额 + /// + [JsonPropertyName("amount")] + public string Amount { get; set; } + + /// + /// 币种 + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAmountModifierDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAmountModifierDTO.cs new file mode 100644 index 000000000..7920297df --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAmountModifierDTO.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// TransactionAmountModifierDTO Data Structure. + /// + public class TransactionAmountModifierDTO : AlipayObject + { + /// + /// 金额 + /// + [JsonPropertyName("amount")] + public TransactionAmountDTO Amount { get; set; } + + /// + /// 金额类型说明 + /// + [JsonPropertyName("description")] + public string Description { get; set; } + + /// + /// 金额类型 + /// + [JsonPropertyName("type")] + public string Type { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAuthenticationDetailDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAuthenticationDetailDTO.cs new file mode 100644 index 000000000..eeb0d12a2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionAuthenticationDetailDTO.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// TransactionAuthenticationDetailDTO Data Structure. + /// + public class TransactionAuthenticationDetailDTO : AlipayObject + { + /// + /// 支付打断推进方式 + /// + [JsonPropertyName("authentication_mechanisms")] + public List AuthenticationMechanisms { get; set; } + + /// + /// 密码校验方式 + /// + [JsonPropertyName("pin_format")] + public string PinFormat { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionDetailDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionDetailDTO.cs new file mode 100644 index 000000000..db51ec5ee --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TransactionDetailDTO.cs @@ -0,0 +1,101 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// TransactionDetailDTO Data Structure. + /// + public class TransactionDetailDTO : AlipayObject + { + /// + /// 订单金额 + /// + [JsonPropertyName("amount")] + public string Amount { get; set; } + + /// + /// 非实付金额列表 + /// + [JsonPropertyName("amount_modifiers")] + public List AmountModifiers { get; set; } + + /// + /// 支付中断推进方式 + /// + [JsonPropertyName("authentication_details")] + public TransactionAuthenticationDetailDTO AuthenticationDetails { get; set; } + + /// + /// 条码id + /// + [JsonPropertyName("barcode_identifier")] + public string BarcodeIdentifier { get; set; } + + /// + /// 币种 + /// + [JsonPropertyName("currency_code")] + public string CurrencyCode { get; set; } + + /// + /// 卡id + /// + [JsonPropertyName("dpan_identifier")] + public string DpanIdentifier { get; set; } + + /// + /// tradeNo + /// + [JsonPropertyName("identifier")] + public string Identifier { get; set; } + + /// + /// xxx + /// + [JsonPropertyName("merchant_name")] + public string MerchantName { get; set; } + + /// + /// 实付金额 + /// + [JsonPropertyName("nominal_amount")] + public string NominalAmount { get; set; } + + /// + /// 支付主渠道 + /// + [JsonPropertyName("primary_funding_source_description")] + public string PrimaryFundingSourceDescription { get; set; } + + /// + /// pId + /// + [JsonPropertyName("raw_merchant_name")] + public string RawMerchantName { get; set; } + + /// + /// iso8601格式时间 + /// + [JsonPropertyName("transaction_date")] + public string TransactionDate { get; set; } + + /// + /// 交易标识 + /// + [JsonPropertyName("transaction_identifier")] + public string TransactionIdentifier { get; set; } + + /// + /// 交易状态 + /// + [JsonPropertyName("transaction_status")] + public string TransactionStatus { get; set; } + + /// + /// 交易类型 + /// + [JsonPropertyName("transaction_type")] + public string TransactionType { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetrodetailQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetrodetailQueryRequest.cs new file mode 100644 index 000000000..1e7f1b3e3 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetrodetailQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.data.aiservice.cloudbus.metrodetail.query + /// + public class AlipayDataAiserviceCloudbusMetrodetailQueryRequest : IAlipayRequest + { + /// + /// 智慧公交--地铁OD对详情 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.data.aiservice.cloudbus.metrodetail.query"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetroodQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetroodQueryRequest.cs new file mode 100644 index 000000000..de0b7179a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetroodQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.data.aiservice.cloudbus.metrood.query + /// + public class AlipayDataAiserviceCloudbusMetroodQueryRequest : IAlipayRequest + { + /// + /// 智慧公交---地铁OD + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.data.aiservice.cloudbus.metrood.query"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetrotimeQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetrotimeQueryRequest.cs new file mode 100644 index 000000000..3c7e6d820 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataAiserviceCloudbusMetrotimeQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.data.aiservice.cloudbus.metrotime.query + /// + public class AlipayDataAiserviceCloudbusMetrotimeQueryRequest : IAlipayRequest + { + /// + /// 智慧公交--地铁分时查询 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.data.aiservice.cloudbus.metrotime.query"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenContentContentlibYoukuvideoauditSendRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenContentContentlibYoukuvideoauditSendRequest.cs new file mode 100644 index 000000000..caf130cb9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenContentContentlibYoukuvideoauditSendRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.open.content.contentlib.youkuvideoaudit.send + /// + public class AlipayOpenContentContentlibYoukuvideoauditSendRequest : IAlipayRequest + { + /// + /// 内容中台优酷视频审核结果回调 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.open.content.contentlib.youkuvideoaudit.send"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelFliggyAuthorityQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelFliggyAuthorityQueryRequest.cs new file mode 100644 index 000000000..489a0df54 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelFliggyAuthorityQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.travel.fliggy.authority.query + /// + public class AlipayOverseasTravelFliggyAuthorityQueryRequest : IAlipayRequest + { + /// + /// 跨境游内容对接-飞猪装修中心店铺装修鉴权接口 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.overseas.travel.fliggy.authority.query"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelFliggyStoreModifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelFliggyStoreModifyRequest.cs new file mode 100644 index 000000000..21b0d60a9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelFliggyStoreModifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.travel.fliggy.store.modify + /// + public class AlipayOverseasTravelFliggyStoreModifyRequest : IAlipayRequest + { + /// + /// 跨境游内容对接-飞猪开店信息回调接口 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.overseas.travel.fliggy.store.modify"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayApplepayTransactionauthtokenCreateRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayApplepayTransactionauthtokenCreateRequest.cs new file mode 100644 index 000000000..43889617f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayApplepayTransactionauthtokenCreateRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.pay.applepay.transactionauthtoken.create + /// + public class AlipayPayApplepayTransactionauthtokenCreateRequest : IAlipayRequest + { + /// + /// 注册拉取支付结果的权限authToken + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.pay.applepay.transactionauthtoken.create"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayCodecApplepayBarcodeeventNotifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayCodecApplepayBarcodeeventNotifyRequest.cs new file mode 100644 index 000000000..0b8ed1b27 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayCodecApplepayBarcodeeventNotifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.pay.codec.applepay.barcodeevent.notify + /// + public class AlipayPayCodecApplepayBarcodeeventNotifyRequest : IAlipayRequest + { + /// + /// applePay码上报 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.pay.codec.applepay.barcodeevent.notify"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayCodecHschoolDecodeUseRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayCodecHschoolDecodeUseRequest.cs new file mode 100644 index 000000000..b068b7544 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPayCodecHschoolDecodeUseRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.pay.codec.hschool.decode.use + /// + public class AlipayPayCodecHschoolDecodeUseRequest : IAlipayRequest + { + /// + /// 双离线码在线解码API + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.pay.codec.hschool.decode.use"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeApplepayAuthenticationSubmitRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeApplepayAuthenticationSubmitRequest.cs new file mode 100644 index 000000000..f71d43985 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeApplepayAuthenticationSubmitRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.trade.applepay.authentication.submit + /// + public class AlipayTradeApplepayAuthenticationSubmitRequest : IAlipayRequest + { + /// + /// ApplePay支付鉴权提交 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.trade.applepay.authentication.submit"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayOtpSendRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayOtpSendRequest.cs new file mode 100644 index 000000000..34ddae4f1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayOtpSendRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.user.applepay.otp.send + /// + public class AlipayUserApplepayOtpSendRequest : IAlipayRequest + { + /// + /// ApplePay的easy开卡OTP发送 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "alipay.user.applepay.otp.send"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceRiskWarningAddRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceRiskWarningAddRequest.cs new file mode 100644 index 000000000..6316024a1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceRiskWarningAddRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// anttech.blockchain.finance.risk.warning.add + /// + public class AnttechBlockchainFinanceRiskWarningAddRequest : IAlipayRequest + { + /// + /// 风控预警信息提交 + /// + public string BizContent { get; set; } + + #region IAlipayRequest Members + private bool needEncrypt = false; + private string apiVersion = "1.0"; + private string terminalType; + private string terminalInfo; + private string prodCode; + private string notifyUrl; + private string returnUrl; + private AlipayObject bizModel; + + public void SetNeedEncrypt(bool needEncrypt) + { + this.needEncrypt = needEncrypt; + } + + public bool GetNeedEncrypt() + { + + return needEncrypt; + } + + public void SetNotifyUrl(string notifyUrl) + { + this.notifyUrl = notifyUrl; + } + + public string GetNotifyUrl() + { + return notifyUrl; + } + + public void SetReturnUrl(string returnUrl) + { + this.returnUrl = returnUrl; + } + + public string GetReturnUrl() + { + return returnUrl; + } + + public void SetTerminalType(string terminalType) + { + this.terminalType = terminalType; + } + + public string GetTerminalType() + { + return terminalType; + } + + public void SetTerminalInfo(string terminalInfo) + { + this.terminalInfo = terminalInfo; + } + + public string GetTerminalInfo() + { + return terminalInfo; + } + + public void SetProdCode(string prodCode) + { + this.prodCode = prodCode; + } + + public string GetProdCode() + { + return prodCode; + } + + public string GetApiName() + { + return "anttech.blockchain.finance.risk.warning.add"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncApbillTotalbillamtQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncApbillTotalbillamtQueryResponse.cs index 3cbbbcded..318506ca7 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncApbillTotalbillamtQueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncApbillTotalbillamtQueryResponse.cs @@ -1,5 +1,4 @@ using System.Text.Json.Serialization; -using Essensoft.AspNetCore.Payment.Alipay.Domain; namespace Essensoft.AspNetCore.Payment.Alipay.Response { @@ -182,6 +181,12 @@ public class AlipayBossFncApbillTotalbillamtQueryResponse : AlipayResponse [JsonPropertyName("mid")] public string Mid { get; set; } + /// + /// 税损扣除后月账单可关联发票金额 + /// + [JsonPropertyName("new_can_invoice_amt")] + public MultiCurrencyMoneyOpenApi NewCanInvoiceAmt { get; set; } + /// /// 已付金额 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetrodetailQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetrodetailQueryResponse.cs new file mode 100644 index 000000000..39dafd1bc --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetrodetailQueryResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayDataAiserviceCloudbusMetrodetailQueryResponse. + /// + public class AlipayDataAiserviceCloudbusMetrodetailQueryResponse : AlipayResponse + { + /// + /// 结果 + /// + [JsonPropertyName("result")] + public MetroOdDetailResult Result { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetroodQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetroodQueryResponse.cs new file mode 100644 index 000000000..a72eae75e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetroodQueryResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayDataAiserviceCloudbusMetroodQueryResponse. + /// + public class AlipayDataAiserviceCloudbusMetroodQueryResponse : AlipayResponse + { + /// + /// 结果 + /// + [JsonPropertyName("result")] + public MetroOdDetailResult Result { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetrotimeQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetrotimeQueryResponse.cs new file mode 100644 index 000000000..1239bb6c0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataAiserviceCloudbusMetrotimeQueryResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayDataAiserviceCloudbusMetrotimeQueryResponse. + /// + public class AlipayDataAiserviceCloudbusMetrotimeQueryResponse : AlipayResponse + { + /// + /// 结果 + /// + [JsonPropertyName("result")] + public MetroOdDetailResult Result { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenContentContentlibYoukuvideoauditSendResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenContentContentlibYoukuvideoauditSendResponse.cs new file mode 100644 index 000000000..0af15d234 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenContentContentlibYoukuvideoauditSendResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOpenContentContentlibYoukuvideoauditSendResponse. + /// + public class AlipayOpenContentContentlibYoukuvideoauditSendResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelFliggyAuthorityQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelFliggyAuthorityQueryResponse.cs new file mode 100644 index 000000000..8a97730b9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelFliggyAuthorityQueryResponse.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTravelFliggyAuthorityQueryResponse. + /// + public class AlipayOverseasTravelFliggyAuthorityQueryResponse : AlipayResponse + { + /// + /// 错误码 + /// + [JsonPropertyName("error_code")] + public string ErrorCode { get; set; } + + /// + /// 错误描述 + /// + [JsonPropertyName("error_msg")] + public string ErrorMsg { get; set; } + + /// + /// 是否有权限,true有权限,false无权限 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelFliggyStoreModifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelFliggyStoreModifyResponse.cs new file mode 100644 index 000000000..3c878766f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelFliggyStoreModifyResponse.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTravelFliggyStoreModifyResponse. + /// + public class AlipayOverseasTravelFliggyStoreModifyResponse : AlipayResponse + { + /// + /// 错误码 + /// + [JsonPropertyName("error_code")] + public string ErrorCode { get; set; } + + /// + /// 错误原因 + /// + [JsonPropertyName("error_msg")] + public string ErrorMsg { get; set; } + + /// + /// 回调处理是否成功,true标示处理成功,false标示处理失败 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayApplepayTransactionauthtokenCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayApplepayTransactionauthtokenCreateResponse.cs new file mode 100644 index 000000000..e618e25da --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayApplepayTransactionauthtokenCreateResponse.cs @@ -0,0 +1,29 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayPayApplepayTransactionauthtokenCreateResponse. + /// + public class AlipayPayApplepayTransactionauthtokenCreateResponse : AlipayResponse + { + /// + /// 通知authToken + /// + [JsonPropertyName("authentication_token")] + public string AuthenticationToken { get; set; } + + /// + /// 响应报文头部 + /// + [JsonPropertyName("response_header")] + public BaseOpenApiResponseHeaderDTO ResponseHeader { get; set; } + + /// + /// 是否允许通知状态转移 + /// + [JsonPropertyName("supports_settlement")] + public bool SupportsSettlement { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayCodecApplepayBarcodeeventNotifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayCodecApplepayBarcodeeventNotifyResponse.cs new file mode 100644 index 000000000..5983121ac --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayCodecApplepayBarcodeeventNotifyResponse.cs @@ -0,0 +1,23 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayPayCodecApplepayBarcodeeventNotifyResponse. + /// + public class AlipayPayCodecApplepayBarcodeeventNotifyResponse : AlipayResponse + { + /// + /// 结果。 statusCode:Status code used to indicate an error. If omitted, assumed to be 200 (success);subStatusCode:Conveys failure codes from downstream entities or for more granular conveyance of specific error conditions;statusMessage:Not parsed programmatically. Example "Downstream system offline". + /// + [JsonPropertyName("response_header")] + public BarcodeEventResponseHeader ResponseHeader { get; set; } + + /// + /// 当前付款码是否有交易发生。 + /// + [JsonPropertyName("transaction_available")] + public string TransactionAvailable { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayCodecHschoolDecodeUseResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayCodecHschoolDecodeUseResponse.cs new file mode 100644 index 000000000..2b8b03c96 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPayCodecHschoolDecodeUseResponse.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayPayCodecHschoolDecodeUseResponse. + /// + public class AlipayPayCodecHschoolDecodeUseResponse : AlipayResponse + { + /// + /// 学生短号 + /// + [JsonPropertyName("feature_code")] + public string FeatureCode { get; set; } + + /// + /// 红码 : "red" 黄码 :"yellow" 绿码 : "green" 审核中 : "init" 未找到 : "notFound" + /// + [JsonPropertyName("health_status")] + public string HealthStatus { get; set; } + + /// + /// 学校编号(外标) + /// + [JsonPropertyName("school_std_code")] + public string SchoolStdCode { get; set; } + + /// + /// 学号 + /// + [JsonPropertyName("student_no")] + public string StudentNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeApplepayAuthenticationSubmitResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeApplepayAuthenticationSubmitResponse.cs new file mode 100644 index 000000000..f8fdda9cf --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeApplepayAuthenticationSubmitResponse.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayTradeApplepayAuthenticationSubmitResponse. + /// + public class AlipayTradeApplepayAuthenticationSubmitResponse : AlipayResponse + { + /// + /// 核身错误信息 + /// + [JsonPropertyName("authentication_error")] + public string AuthenticationError { get; set; } + + /// + /// 失败时的鉴权重试机制 + /// + [JsonPropertyName("fallback_authentication_mechanisms")] + public List FallbackAuthenticationMechanisms { get; set; } + + /// + /// applePay公用响应头 + /// + [JsonPropertyName("response_header")] + public OpenApiResponseHeader ResponseHeader { get; set; } + + /// + /// 鉴权重试机制 + /// + [JsonPropertyName("retry_authentication_mechanisms")] + public List RetryAuthenticationMechanisms { get; set; } + + /// + /// 交易状态 + /// + [JsonPropertyName("updated_transaction_status")] + public string UpdatedTransactionStatus { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayOtpSendResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayOtpSendResponse.cs new file mode 100644 index 000000000..8445c8177 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayOtpSendResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayUserApplepayOtpSendResponse. + /// + public class AlipayUserApplepayOtpSendResponse : AlipayResponse + { + /// + /// 响应头 + /// + [JsonPropertyName("response_header")] + public OpenApiResponseHeader ResponseHeader { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleQueryResponse.cs index 9d8ff7180..5b7153358 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleQueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleQueryResponse.cs @@ -1,5 +1,4 @@ using System.Text.Json.Serialization; -using Essensoft.AspNetCore.Payment.Alipay.Domain; namespace Essensoft.AspNetCore.Payment.Alipay.Response { @@ -8,6 +7,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Response /// public class AlipayUserApplepayProvisioningbundleQueryResponse : AlipayResponse { + /// + /// 卡状态 + /// + [JsonPropertyName("pass_state")] + public string PassState { get; set; } + /// /// 卡模型 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceRiskWarningAddResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceRiskWarningAddResponse.cs new file mode 100644 index 000000000..288e29d65 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceRiskWarningAddResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AnttechBlockchainFinanceRiskWarningAddResponse. + /// + public class AnttechBlockchainFinanceRiskWarningAddResponse : AlipayResponse + { + /// + /// 提交结果 + /// + [JsonPropertyName("submit_result")] + public string SubmitResult { get; set; } + } +}