From 154ed2dcc775492f86a0910c8076ddc2f42d8888 Mon Sep 17 00:00:00 2001 From: Roc Date: Thu, 2 Apr 2020 12:45:32 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=94=AF=E4=BB=98=E5=AE=9D]=20=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=20alipay-sdk-net-4.2.103=EF=BC=88Domain=E3=80=81Reque?= =?UTF-8?q?st=E3=80=81Response=EF=BC=89=20Closed=20#65?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Domain/AlipayBossFncInvmodeCreateModel.cs | 28 +++ .../AlipayBossFncSettleCaptureCreateModel.cs | 17 ++ ...ipayBossFncSettleReceivableConfirmModel.cs | 17 ++ ...yBossFncSettleSettlementbillCreateModel.cs | 17 ++ ...yBossProdAntlawOrderhitstatusQueryModel.cs | 34 +++ ...rodAntlegalchainNotaryprocsumQueryModel.cs | 34 +++ ...payBossProdAntlegalchainOrderApplyModel.cs | 113 ++++++++++ .../AlipayBusinessPaymenthubCloseModel.cs | 16 ++ .../AlipayBusinessPaymenthubDisburseModel.cs | 46 ++++ .../AlipayBusinessPaymenthubPayModel.cs | 95 ++++++++ .../AlipayBusinessPaymenthubQueryModel.cs | 46 ++++ .../AlipayBusinessPaymenthubRefundModel.cs | 46 ++++ ...ducateAuthenticateCampuscardCreateModel.cs | 88 ++++++++ .../AlipayCommerceFixTaskCreateModel.cs | 89 ++++++++ .../Domain/AlipayCommerceFixTaskQueryModel.cs | 16 ++ .../AlipayCommerceFixTaskproblemQueryModel.cs | 46 ++++ .../AlipayCommerceFixTaskremarkCreateModel.cs | 22 ++ ...ayCommerceIotAdvertiserDeviceQueryModel.cs | 28 +++ .../Domain/AlipayCommerceIotSnCreateModel.cs | 12 + ...ommerceLogisticsWaybillMinimctSyncModel.cs | 29 +++ ...ipayCommerceTransportEtcBindModifyModel.cs | 34 +++ ...ommerceTransportParkingGoodsCreateModel.cs | 136 ++++++++++++ ...ommerceTransportParkingGoodsModifyModel.cs | 118 ++++++++++ ...ommerceTransportParkingGoodsOnlineModel.cs | 34 +++ ...CommerceTransportParkingGoodsQueryModel.cs | 28 +++ ...erceTransportParkingReserveConfirmModel.cs | 40 ++++ ...ceTransportVehicleownerMessageSendModel.cs | 29 +++ ...nsportVehicleownerSettlementRefundModel.cs | 10 +- ...merceTransportWorldCardscriptQueryModel.cs | 22 ++ ...ransportWorldVirtualcardBatchqueryModel.cs | 34 +++ ...ipayEbppIndustryAntforestEventSendModel.cs | 22 ++ ...ipayEbppIndustryGovHealthcodeQueryModel.cs | 16 ++ ...payEbppIndustryGovHealthcodeVerifyModel.cs | 22 ++ .../AlipayEbppInvoiceTaxnoBatchqueryModel.cs | 6 + .../AlipayEcoContractMerchantSyncModel.cs | 29 +++ .../AlipayEcoContractProcessDeleteModel.cs | 29 +++ .../AlipayEcoContractProcessSyncModel.cs | 29 +++ .../Domain/AlipayEcoDocTemplateCreateModel.cs | 34 +++ ...lipayEcoDoctemplateSettingurlQueryModel.cs | 16 ++ .../Domain/AlipayFundTransCommonQueryModel.cs | 2 +- ...serviceMindvTroublefreeruleConsultModel.cs | 28 +++ ...ipayMarketingCampaignWarmcardQueryModel.cs | 22 ++ ...etingCashlessvoucherTemplateCreateModel.cs | 4 +- ...chantOrderDigestConsumerBatchqueryModel.cs | 2 +- ...hantOrderDigestUnlimitedBatchqueryModel.cs | 2 +- ...erSecuritydigestConsumerBatchqueryModel.cs | 2 +- .../Domain/AlipayMerchantOrderSyncModel.cs | 52 ++++- .../AlipayOpenMiniVersionBuildQueryModel.cs | 2 +- .../AlipayOpenPageNewcontextTransferModel.cs | 28 +++ .../AlipayOpenPageOldcontextTransferModel.cs | 28 +++ .../AlipayOverseasRemitWithdrawNotifyModel.cs | 70 ++++++ .../AlipayOverseasTaxNeworderCreateModel.cs | 100 +++++++++ ...lipayOverseasTaxNeworderStatusSyncModel.cs | 52 +++++ .../AlipayOverseasTransferCertifyModel.cs | 82 +++++++ .../AlipayOverseasTransferConfirmModel.cs | 88 ++++++++ .../AlipayOverseasTransferQueryModel.cs | 22 ++ ...erseasTravelRateCurrencyBatchqueryModel.cs | 22 ++ ...yOverseasTravelRatePromotionVerifyModel.cs | 28 +++ ...payOverseasTravelRateRateinfoQueryModel.cs | 52 +++++ .../AlipayPayCodecQrcodecacheAddModel.cs | 9 +- ...iPcbenefitcoreBfactivitfacadeQueryModel.cs | 41 ++++ ...eiPcreditamountQueryprocessorQueryModel.cs | 22 ++ ...urityRiskDirectionalIpprofileQueryModel.cs | 28 --- ...urityRiskDirectionalRainscoreQueryModel.cs | 28 --- ...paySocialBaseMcommentFootprintSendModel.cs | 58 +++++ ...ySocialBaseMcommentFootprintUploadModel.cs | 58 +++++ ...ipaySocialBaseRelationFriendsQueryModel.cs | 2 +- .../AlipayTradeCreditFinancePayModel.cs | 64 ++++++ .../AlipayTradeCreditFinanceRefundModel.cs | 58 +++++ .../Domain/AlipayTradePagePayModel.cs | 2 +- .../AlipayTradeSettleReceivablesQueryModel.cs | 6 + .../Domain/AlipayUserAgreementQueryModel.cs | 6 +- .../Domain/AlipayUserAgreementSignModel.cs | 6 + ...rApplepayOtpresolutionmethodsQueryModel.cs | 16 ++ .../AlipayUserApplepayPbstatusQueryModel.cs | 28 +++ ...erApplepayProvisioningbundleModifyModel.cs | 34 +++ .../Domain/AlipayUserInfoInnerQueryModel.cs | 28 +++ ...ntMerchantExpandIndirectZftConsultModel.cs | 8 +- ...AntMerchantExpandIndirectZftCreateModel.cs | 6 + ...AntMerchantExpandIndirectZftModifyModel.cs | 6 + .../AntMerchantExpandShopBatchqueryModel.cs | 2 +- .../AntMerchantOrderStoreCreateModel.cs | 2 +- ...lockchainFinanceAssetRegisterApplyModel.cs | 28 +++ ...ockchainFinanceAssetRegisterSubmitModel.cs | 34 +++ .../Domain/Appinfos.cs | 28 +++ .../Domain/BFActivityFundInfo.cs | 76 +++++++ .../Domain/BFActivityOpenApiInfo.cs | 83 +++++++ .../Domain/BFActivityOpenApiResult.cs | 17 ++ .../Domain/CampaignExtInfo.cs | 22 ++ .../Domain/CaptureCreateDTO.cs | 22 ++ .../Domain/CaptureCreateOrder.cs | 95 ++++++++ .../Domain/ClassRateInfo.cs | 34 +++ .../Domain/CloudbusUserInfo.cs | 58 +++++ .../Domain/ConfirmReceivableDTO.cs | 28 +++ .../ContractManagerAttachmentsSyncrequest.cs | 22 ++ .../ContractManagerParticipantsSyncRequest.cs | 53 +++++ .../ContractManagerProcessSyncRequest.cs | 95 ++++++++ .../Domain/ContractManagerSignDocsRequest.cs | 28 +++ .../Domain/CorpEntity.cs | 28 +++ .../Domain/CreditFinancePayAccountInfo.cs | 28 +++ .../Domain/DefaultSettleRule.cs | 22 ++ .../Domain/EinvTrade.cs | 64 ++++++ .../Domain/FixCooperationDTO.cs | 58 +++++ .../Domain/FixExtData.cs | 22 ++ .../Domain/FixFileInfo.cs | 34 +++ .../Domain/FixProblemDTO.cs | 34 +++ .../Domain/GoodsDetailInfo.cs | 40 ++++ .../Domain/IgAuthQuota.cs | 22 ++ .../Domain/InvoiceElementModel.cs | 15 +- .../Domain/KbGoodsInfo.cs | 40 ++++ .../Domain/KbPosOrderDishDetail.cs | 21 +- .../Domain/KbVirtualShopCategoryDishInfo.cs | 28 +++ .../Domain/KbVirtualShopInfo.cs | 23 ++ .../Domain/KbdishCommGroupDetailInfo.cs | 52 +++++ .../Domain/KbdishCommGroupInfo.cs | 71 ++++++ .../Domain/KbdishCommRuleInfo.cs | 71 ++++++ .../Domain/KbdishCommRuleShowInfo.cs | 28 +++ .../Domain/KbdishCookCateTopInfo.cs | 40 ++++ .../Domain/KbdishDictionary.cs | 4 +- .../Domain/KbdishInfo.cs | 6 + .../Domain/KbdishMaterialInfo.cs | 18 ++ .../Domain/KbdishSkuInfo.cs | 2 +- .../Domain/KbdishSpecGroup.cs | 29 +++ .../Domain/KbdishSpecGroupDetail.cs | 22 ++ .../Domain/KbdishVirtualCategoryInfo.cs | 23 ++ .../Domain/KbdishVirtualDishInfo.cs | 52 +++++ ...dustryPromoIntelligentguideConsultModel.cs | 22 ++ ...industryPromoIntelligentguideOrderModel.cs | 23 ++ .../KoubeiTradeOrderAggregateConsultModel.cs | 52 +++++ .../Domain/MerchantConfigRequest.cs | 76 +++++++ .../Domain/MetroOdDetailResult.cs | 28 +++ .../Domain/MetroOdItem.cs | 46 ++++ ...SupplychainCreditpaySyncnameCreateModel.cs | 70 ++++++ .../Domain/NameOuterIdPair.cs | 22 ++ .../Domain/NormalBusinessTimeRule.cs | 29 +++ .../Domain/NotaryFileVO.cs | 22 ++ .../Domain/OpenApiPassStatus.cs | 22 ++ .../Domain/OpenApiResolutionMethod.cs | 34 +++ .../Domain/OrderShopInfo.cs | 6 + .../Domain/ParamExtInfo.cs | 28 +++ .../Domain/ParkingGoodsDetail.cs | 148 +++++++++++++ .../Domain/QueryRecord.cs | 52 +++++ .../Domain/RateCurrency.cs | 28 +++ .../Domain/ReceivableConfirmOrder.cs | 143 ++++++++++++ .../Domain/RecommendCard.cs | 46 ++++ .../Domain/RecommendServiceInfo.cs | 58 +++++ .../Domain/SettleDetailInfo.cs | 4 +- .../Domain/SettlementBillCreateOrder.cs | 166 ++++++++++++++ .../Domain/SettlementbillOpenApiDTO.cs | 28 +++ .../Domain/ShopOrderConfigInfo.cs | 21 +- .../Domain/SpecialBusinessTimeRule.cs | 41 ++++ ...dataDataserviceRiskAntifraudVerifyModel.cs | 82 ------- ...rviceRiskAntifraudintegrationQueryModel.cs | 82 ------- ...taserviceRiskAntijunkregisterQueryModel.cs | 58 ----- ...ataDataserviceRiskAntiscalperQueryModel.cs | 58 ----- .../SsdataDataserviceRiskCodeQueryModel.cs | 64 ------ ...sdataDataserviceRiskIpprofileQueryModel.cs | 46 ---- ...sdataDataserviceRiskRainscoreQueryModel.cs | 34 --- .../Domain/StoreInfo.cs | 94 ++++++++ .../Domain/TbapiQueryAmountBizContent.cs | 35 +++ .../Domain/TbapiQueryAmountResponse.cs | 22 ++ .../Domain/TimeRange.cs | 22 ++ .../Domain/UserIdentityExt.cs | 52 +++++ .../Domain/VehMessageEntity.cs | 64 ++++++ .../Domain/VehicleMsgSendResultEntity.cs | 28 +++ .../Domain/VoucherDetail.cs | 2 +- .../Domain/ZftSubMerchantOrder.cs | 88 ++++++++ .../ZhimaMerchantContractCommonCancelModel.cs | 22 ++ .../ZhimaMerchantContractPageQueryModel.cs | 64 ++++++ .../ZhimaMerchantContractQuickCreateModel.cs | 6 + ...s => AlipayBossFncInvmodeCreateRequest.cs} | 8 +- ...lipayBossFncSettleCaptureCreateRequest.cs} | 8 +- ...yBossFncSettleReceivableConfirmRequest.cs} | 8 +- ...ssFncSettleSettlementbillCreateRequest.cs} | 8 +- ...ossProdAntlawOrderhitstatusQueryRequest.cs | 123 +++++++++++ ...AntlegalchainNotaryprocsumQueryRequest.cs} | 8 +- ...yBossProdAntlegalchainOrderApplyRequest.cs | 123 +++++++++++ ...> AlipayBusinessPaymenthubCloseRequest.cs} | 8 +- ...AlipayBusinessPaymenthubDisburseRequest.cs | 123 +++++++++++ .../AlipayBusinessPaymenthubPayRequest.cs | 123 +++++++++++ .../AlipayBusinessPaymenthubQueryRequest.cs | 123 +++++++++++ .../AlipayBusinessPaymenthubRefundRequest.cs | 123 +++++++++++ ...ateAuthenticateCampuscardCreateRequest.cs} | 8 +- ...lipayCommerceFixAttachmentUploadRequest.cs | 148 +++++++++++++ .../AlipayCommerceFixTaskCreateRequest.cs | 123 +++++++++++ .../AlipayCommerceFixTaskQueryRequest.cs | 123 +++++++++++ ...lipayCommerceFixTaskproblemQueryRequest.cs | 123 +++++++++++ ...lipayCommerceFixTaskremarkCreateRequest.cs | 123 +++++++++++ ...CommerceIotAdvertiserDeviceQueryRequest.cs | 10 +- ...merceLogisticsWaybillMinimctSyncRequest.cs | 123 +++++++++++ ...ayCommerceTransportEtcBindModifyRequest.cs | 123 +++++++++++ ...merceTransportParkingGoodsCreateRequest.cs | 123 +++++++++++ ...merceTransportParkingGoodsModifyRequest.cs | 123 +++++++++++ ...merceTransportParkingGoodsOnlineRequest.cs | 123 +++++++++++ ...merceTransportParkingGoodsQueryRequest.cs} | 8 +- ...ceTransportParkingReserveConfirmRequest.cs | 123 +++++++++++ ...TransportVehicleownerMessageSendRequest.cs | 123 +++++++++++ ...ceTransportWorldCardscriptQueryRequest.cs} | 8 +- ...nsportWorldVirtualcardBatchqueryRequest.cs | 123 +++++++++++ ...ayEbppIndustryAntforestEventSendRequest.cs | 123 +++++++++++ ...ayEbppIndustryGovHealthcodeQueryRequest.cs | 123 +++++++++++ ...yEbppIndustryGovHealthcodeVerifyRequest.cs | 123 +++++++++++ .../AlipayEcoContractMerchantSyncRequest.cs | 123 +++++++++++ .../AlipayEcoContractProcessDeleteRequest.cs | 123 +++++++++++ .../AlipayEcoContractProcessSyncRequest.cs | 123 +++++++++++ .../AlipayEcoDocTemplateCreateRequest.cs | 123 +++++++++++ ...payEcoDoctemplateSettingurlQueryRequest.cs | 123 +++++++++++ ...rviceMindvTroublefreeruleConsultRequest.cs | 123 +++++++++++ ...ayMarketingCampaignWarmcardQueryRequest.cs | 123 +++++++++++ .../AlipayOpenMiniVersionAuditApplyRequest.cs | 50 ++--- ...AlipayOpenPageNewcontextTransferRequest.cs | 123 +++++++++++ ...AlipayOpenPageOldcontextTransferRequest.cs | 123 +++++++++++ ...lipayOverseasRemitWithdrawNotifyRequest.cs | 123 +++++++++++ .../AlipayOverseasTaxNeworderCreateRequest.cs | 123 +++++++++++ ...payOverseasTaxNeworderStatusSyncRequest.cs | 123 +++++++++++ .../AlipayOverseasTransferCertifyRequest.cs | 123 +++++++++++ .../AlipayOverseasTransferConfirmRequest.cs | 123 +++++++++++ .../AlipayOverseasTransferQueryRequest.cs | 123 +++++++++++ ...easTravelRateCurrencyBatchqueryRequest.cs} | 8 +- ...verseasTravelRatePromotionVerifyRequest.cs | 123 +++++++++++ ...yOverseasTravelRateRateinfoQueryRequest.cs | 123 +++++++++++ ...cbenefitcoreBfactivitfacadeQueryRequest.cs | 123 +++++++++++ ...PcreditamountQueryprocessorQueryRequest.cs | 123 +++++++++++ ...ySocialBaseMcommentFootprintSendRequest.cs | 123 +++++++++++ ...ocialBaseMcommentFootprintUploadRequest.cs | 123 +++++++++++ .../AlipayTradeCreditFinancePayRequest.cs | 123 +++++++++++ .../AlipayTradeCreditFinanceRefundRequest.cs | 123 +++++++++++ ...plepayOtpresolutionmethodsQueryRequest.cs} | 8 +- .../AlipayUserApplepayPbstatusQueryRequest.cs | 123 +++++++++++ ...ApplepayProvisioningbundleModifyRequest.cs | 123 +++++++++++ .../AlipayUserInfoInnerQueryRequest.cs | 123 +++++++++++ .../AlipayZdataserviceUnidataQueryRequest.cs | 129 +++++++++++ ...ckchainFinanceAssetRegisterApplyRequest.cs | 123 +++++++++++ ...kchainFinanceAssetRegisterSubmitRequest.cs | 123 +++++++++++ ...ServindustryPromoGuidequotaQueryRequest.cs | 115 ++++++++++ ...stryPromoIntelligentguideConsultRequest.cs | 123 +++++++++++ ...dustryPromoIntelligentguideOrderRequest.cs | 123 +++++++++++ ...KoubeiTradeOrderAggregateConsultRequest.cs | 123 +++++++++++ ...pplychainCreditpaySyncnameCreateRequest.cs | 123 +++++++++++ ...himaMerchantContractCommonCancelRequest.cs | 123 +++++++++++ .../ZhimaMerchantContractPageQueryRequest.cs | 123 +++++++++++ .../AlipayAccountExrateRateSyncResponse.cs | 9 +- .../AlipayBossFncInvmodeCreateResponse.cs | 22 ++ ...lipayBossFncSettleCaptureCreateResponse.cs | 18 ++ ...yBossFncSettleReceivableConfirmResponse.cs | 18 ++ ...ssFncSettleSettlementbillCreateResponse.cs | 17 ++ ...ssProdAntlawOrderhitstatusQueryResponse.cs | 16 ++ ...AntlegalchainNotaryprocsumQueryResponse.cs | 24 ++ ...BossProdAntlegalchainOrderApplyResponse.cs | 16 ++ .../AlipayBusinessPaymenthubCloseResponse.cs | 34 +++ ...lipayBusinessPaymenthubDisburseResponse.cs | 40 ++++ .../AlipayBusinessPaymenthubPayResponse.cs | 40 ++++ .../AlipayBusinessPaymenthubQueryResponse.cs | 46 ++++ .../AlipayBusinessPaymenthubRefundResponse.cs | 41 ++++ ...ateAuthenticateCampuscardCreateResponse.cs | 16 ++ ...ipayCommerceFixAttachmentUploadResponse.cs | 17 ++ .../AlipayCommerceFixTaskCreateResponse.cs | 16 ++ .../AlipayCommerceFixTaskQueryResponse.cs | 156 +++++++++++++ ...ipayCommerceFixTaskproblemQueryResponse.cs | 18 ++ ...ipayCommerceFixTaskremarkCreateResponse.cs | 16 ++ ...erceLogisticsWaybillMinimctSyncResponse.cs | 9 + ...yCommerceTransportEtcBindModifyResponse.cs | 16 ++ ...erceTransportParkingGoodsCreateResponse.cs | 22 ++ ...erceTransportParkingGoodsModifyResponse.cs | 22 ++ ...erceTransportParkingGoodsOnlineResponse.cs | 9 + ...merceTransportParkingGoodsQueryResponse.cs | 17 ++ ...eTransportParkingReserveConfirmResponse.cs | 9 + ...ransportVehicleownerMessageSendResponse.cs | 18 ++ ...portVehicleownerSettlementQueryResponse.cs | 6 + ...ortVehicleownerSettlementRefundResponse.cs | 12 + ...ceTransportWorldCardscriptQueryResponse.cs | 35 +++ ...sportWorldVirtualcardBatchqueryResponse.cs | 30 +++ ...taserviceAntdacEasyserviceQueryResponse.cs | 16 -- ...yEbppIndustryAntforestEventSendResponse.cs | 9 + ...yEbppIndustryGovHealthcodeQueryResponse.cs | 34 +++ ...EbppIndustryGovHealthcodeVerifyResponse.cs | 34 +++ .../AlipayEcoContractMerchantSyncResponse.cs | 9 + .../AlipayEcoContractProcessDeleteResponse.cs | 9 + .../AlipayEcoContractProcessSyncResponse.cs | 9 + .../AlipayEcoDocTemplateCreateResponse.cs | 22 ++ ...ayEcoDoctemplateSettingurlQueryResponse.cs | 16 ++ .../AlipayFundTransCommonQueryResponse.cs | 2 +- ...viceMindvTroublefreeruleConsultResponse.cs | 16 ++ ...yMarketingCampaignWarmcardQueryResponse.cs | 22 ++ ...ntOrderDigestConsumerBatchqueryResponse.cs | 6 + ...tOrderDigestUnlimitedBatchqueryResponse.cs | 6 + ...ecuritydigestConsumerBatchqueryResponse.cs | 6 + ...lipayOpenPageNewcontextTransferResponse.cs | 9 + ...lipayOpenPageOldcontextTransferResponse.cs | 9 + ...ipayOverseasRemitWithdrawNotifyResponse.cs | 16 ++ ...AlipayOverseasTaxNeworderCreateResponse.cs | 22 ++ ...ayOverseasTaxNeworderStatusSyncResponse.cs | 22 ++ .../AlipayOverseasTaxUserinfoQueryResponse.cs | 12 + .../AlipayOverseasTransferCertifyResponse.cs | 16 ++ .../AlipayOverseasTransferConfirmResponse.cs | 22 ++ .../AlipayOverseasTransferQueryResponse.cs | 76 +++++++ ...asTravelRateCurrencyBatchqueryResponse.cs} | 10 +- ...erseasTravelRatePromotionVerifyResponse.cs | 22 ++ ...OverseasTravelRateRateinfoQueryResponse.cs | 84 +++++++ ...benefitcoreBfactivitfacadeQueryResponse.cs | 30 +++ ...creditamountQueryprocessorQueryResponse.cs | 29 +++ ...tyRiskDirectionalIpprofileQueryResponse.cs | 148 ------------- ...tyRiskDirectionalRainscoreQueryResponse.cs | 30 --- ...SocialBaseMcommentFootprintSendResponse.cs | 9 + ...cialBaseMcommentFootprintUploadResponse.cs | 28 +++ .../AlipayTradeCreditFinancePayResponse.cs | 46 ++++ .../AlipayTradeCreditFinanceRefundResponse.cs | 46 ++++ .../Response/AlipayTradeQueryResponse.cs | 2 +- ...plepayOtpresolutionmethodsQueryResponse.cs | 23 ++ ...AlipayUserApplepayPbstatusQueryResponse.cs | 23 ++ ...pplepayProvisioningbundleModifyResponse.cs | 17 ++ .../AlipayUserInfoInnerQueryResponse.cs | 52 +++++ .../AlipayZdataserviceUnidataQueryResponse.cs | 28 +++ ...kchainFinanceAssetRegisterApplyResponse.cs | 28 +++ ...chainFinanceAssetRegisterSubmitResponse.cs | 16 ++ ...ervindustryPromoGuidequotaQueryResponse.cs | 18 ++ ...tryPromoIntelligentguideConsultResponse.cs | 42 ++++ ...ustryPromoIntelligentguideOrderResponse.cs | 16 ++ ...oubeiTradeOrderAggregateConsultResponse.cs | 101 +++++++++ ...tGuaranteeSelleradmittanceQueryResponse.cs | 14 +- ...plychainCreditpaySyncnameCreateResponse.cs | 16 ++ ...aDataserviceRiskAntifraudVerifyResponse.cs | 28 --- ...ceRiskAntifraudintegrationQueryResponse.cs | 46 ---- ...erviceRiskAntijunkregisterQueryResponse.cs | 28 --- ...DataserviceRiskAntiscalperQueryResponse.cs | 28 --- .../SsdataDataserviceRiskCodeQueryResponse.cs | 35 --- ...taDataserviceRiskIpprofileQueryResponse.cs | 209 ------------------ ...taDataserviceRiskRainscoreQueryResponse.cs | 36 --- ...imaMerchantContractCommonCancelResponse.cs | 34 +++ .../ZhimaMerchantContractPageQueryResponse.cs | 36 +++ ...himaMerchantContractQuickCreateResponse.cs | 12 + 331 files changed, 15179 insertions(+), 1192 deletions(-) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncInvmodeCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleCaptureCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleReceivableConfirmModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleSettlementbillCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlawOrderhitstatusQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainNotaryprocsumQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainOrderApplyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubCloseModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubDisburseModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubPayModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubRefundModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateAuthenticateCampuscardCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskproblemQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskremarkCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotAdvertiserDeviceQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceLogisticsWaybillMinimctSyncModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportEtcBindModifyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsModifyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsOnlineModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingReserveConfirmModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerMessageSendModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldCardscriptQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldVirtualcardBatchqueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryAntforestEventSendModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeVerifyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractMerchantSyncModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessDeleteModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessSyncModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDocTemplateCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDoctemplateSettingurlQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayIserviceMindvTroublefreeruleConsultModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCampaignWarmcardQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageNewcontextTransferModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageOldcontextTransferModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitWithdrawNotifyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderStatusSyncModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferCertifyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferConfirmModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateCurrencyBatchqueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRatePromotionVerifyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateRateinfoQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalIpprofileQueryModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalRainscoreQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintSendModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintUploadModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinancePayModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinanceRefundModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayOtpresolutionmethodsQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayPbstatusQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayProvisioningbundleModifyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserInfoInnerQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterApplyModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterSubmitModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/Appinfos.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityFundInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiResult.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/CampaignExtInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateDTO.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateOrder.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ClassRateInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/CloudbusUserInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ConfirmReceivableDTO.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerAttachmentsSyncrequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerParticipantsSyncRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerProcessSyncRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerSignDocsRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/CorpEntity.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/CreditFinancePayAccountInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/DefaultSettleRule.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/EinvTrade.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixCooperationDTO.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixExtData.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixFileInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixProblemDTO.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/GoodsDetailInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/IgAuthQuota.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbGoodsInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopCategoryDishInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupDetailInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleShowInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCookCateTopInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroup.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroupDetail.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualCategoryInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualDishInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideConsultModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideOrderModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiTradeOrderAggregateConsultModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/MerchantConfigRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdDetailResult.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdItem.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankCreditSupplychainCreditpaySyncnameCreateModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/NameOuterIdPair.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/NormalBusinessTimeRule.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/NotaryFileVO.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiPassStatus.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiResolutionMethod.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParamExtInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParkingGoodsDetail.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/QueryRecord.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/RateCurrency.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ReceivableConfirmOrder.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendCard.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendServiceInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementBillCreateOrder.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementbillOpenApiDTO.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SpecialBusinessTimeRule.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudVerifyModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudintegrationQueryModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntijunkregisterQueryModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntiscalperQueryModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskCodeQueryModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskIpprofileQueryModel.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskRainscoreQueryModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/StoreInfo.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountBizContent.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/TimeRange.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/UserIdentityExt.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehMessageEntity.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehicleMsgSendResultEntity.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZftSubMerchantOrder.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractCommonCancelModel.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractPageQueryModel.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{SsdataDataserviceRiskCodeQueryRequest.cs => AlipayBossFncInvmodeCreateRequest.cs} (91%) rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{SsdataDataserviceRiskAntifraudVerifyRequest.cs => AlipayBossFncSettleCaptureCreateRequest.cs} (90%) rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{SsdataDataserviceRiskRainscoreQueryRequest.cs => AlipayBossFncSettleReceivableConfirmRequest.cs} (90%) rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{SsdataDataserviceRiskIpprofileQueryRequest.cs => AlipayBossFncSettleSettlementbillCreateRequest.cs} (90%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlawOrderhitstatusQueryRequest.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{SsdataDataserviceRiskAntifraudintegrationQueryRequest.cs => AlipayBossProdAntlegalchainNotaryprocsumQueryRequest.cs} (89%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlegalchainOrderApplyRequest.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{SsdataDataserviceRiskAntiscalperQueryRequest.cs => AlipayBusinessPaymenthubCloseRequest.cs} (90%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubDisburseRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubPayRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubRefundRequest.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{AlipaySecurityRiskDirectionalIpprofileQueryRequest.cs => AlipayCommerceEducateAuthenticateCampuscardCreateRequest.cs} (88%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixAttachmentUploadRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskCreateRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskproblemQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskremarkCreateRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceLogisticsWaybillMinimctSyncRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportEtcBindModifyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsCreateRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsModifyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsOnlineRequest.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{SsdataDataserviceRiskAntijunkregisterQueryRequest.cs => AlipayCommerceTransportParkingGoodsQueryRequest.cs} (89%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingReserveConfirmRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportVehicleownerMessageSendRequest.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{AlipayDataDataserviceAntdacEasyserviceQueryRequest.cs => AlipayCommerceTransportWorldCardscriptQueryRequest.cs} (90%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportWorldVirtualcardBatchqueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryAntforestEventSendRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryGovHealthcodeQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryGovHealthcodeVerifyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractMerchantSyncRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractProcessDeleteRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractProcessSyncRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoDocTemplateCreateRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoDoctemplateSettingurlQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayIserviceMindvTroublefreeruleConsultRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayMarketingCampaignWarmcardQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPageNewcontextTransferRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPageOldcontextTransferRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasRemitWithdrawNotifyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTaxNeworderCreateRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTaxNeworderStatusSyncRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferCertifyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferConfirmRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferQueryRequest.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{AlipayDataDataserviceLbsDiscountBatchqueryRequest.cs => AlipayOverseasTravelRateCurrencyBatchqueryRequest.cs} (89%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRatePromotionVerifyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRateRateinfoQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySocialBaseMcommentFootprintSendRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySocialBaseMcommentFootprintUploadRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeCreditFinancePayRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeCreditFinanceRefundRequest.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Request/{AlipaySecurityRiskDirectionalRainscoreQueryRequest.cs => AlipayUserApplepayOtpresolutionmethodsQueryRequest.cs} (89%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayPbstatusQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayProvisioningbundleModifyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserInfoInnerQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayZdataserviceUnidataQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceAssetRegisterApplyRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceAssetRegisterSubmitRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoGuidequotaQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoIntelligentguideConsultRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoIntelligentguideOrderRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiTradeOrderAggregateConsultRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/MybankCreditSupplychainCreditpaySyncnameCreateRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/ZhimaMerchantContractCommonCancelRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Request/ZhimaMerchantContractPageQueryRequest.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncInvmodeCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleCaptureCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleReceivableConfirmResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleSettlementbillCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlawOrderhitstatusQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainNotaryprocsumQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainOrderApplyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubCloseResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubDisburseResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubPayResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubRefundResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceEducateAuthenticateCampuscardCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixAttachmentUploadResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskproblemQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskremarkCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceLogisticsWaybillMinimctSyncResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportEtcBindModifyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsModifyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsOnlineResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingReserveConfirmResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerMessageSendResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldCardscriptQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldVirtualcardBatchqueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataDataserviceAntdacEasyserviceQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryAntforestEventSendResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeVerifyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractMerchantSyncResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessDeleteResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessSyncResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDocTemplateCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDoctemplateSettingurlQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayIserviceMindvTroublefreeruleConsultResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMarketingCampaignWarmcardQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageNewcontextTransferResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageOldcontextTransferResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasRemitWithdrawNotifyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderCreateResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderStatusSyncResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferCertifyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferConfirmResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferQueryResponse.cs rename src/Essensoft.AspNetCore.Payment.Alipay/Response/{AlipayDataDataserviceLbsDiscountBatchqueryResponse.cs => AlipayOverseasTravelRateCurrencyBatchqueryResponse.cs} (52%) create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRatePromotionVerifyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRateRateinfoQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalIpprofileQueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalRainscoreQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintSendResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintUploadResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinancePayResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinanceRefundResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayOtpresolutionmethodsQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayPbstatusQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleModifyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserInfoInnerQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayZdataserviceUnidataQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterApplyResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterSubmitResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoGuidequotaQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideConsultResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideOrderResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiTradeOrderAggregateConsultResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditSupplychainCreditpaySyncnameCreateResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudVerifyResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudintegrationQueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntijunkregisterQueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntiscalperQueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskCodeQueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskIpprofileQueryResponse.cs delete mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskRainscoreQueryResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractCommonCancelResponse.cs create mode 100644 src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractPageQueryResponse.cs diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncInvmodeCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncInvmodeCreateModel.cs new file mode 100644 index 000000000..f4f7a3e2c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncInvmodeCreateModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBossFncInvmodeCreateModel Data Structure. + /// + public class AlipayBossFncInvmodeCreateModel : AlipayObject + { + /// + /// 所属ou + /// + [JsonPropertyName("inst_id")] + public string InstId { get; set; } + + /// + /// 开票模式 01:实收开票(先款后票) 02:应收开票(先票后款) + /// + [JsonPropertyName("invoice_mode")] + public string InvoiceMode { get; set; } + + /// + /// 商户pid + /// + [JsonPropertyName("ip_role_id")] + public string IpRoleId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleCaptureCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleCaptureCreateModel.cs new file mode 100644 index 000000000..ba139cbb0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleCaptureCreateModel.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBossFncSettleCaptureCreateModel Data Structure. + /// + public class AlipayBossFncSettleCaptureCreateModel : AlipayObject + { + /// + /// 请款创建单列表 + /// + [JsonPropertyName("capture_create_order_list")] + public List CaptureCreateOrderList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleReceivableConfirmModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleReceivableConfirmModel.cs new file mode 100644 index 000000000..f98739df6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleReceivableConfirmModel.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBossFncSettleReceivableConfirmModel Data Structure. + /// + public class AlipayBossFncSettleReceivableConfirmModel : AlipayObject + { + /// + /// 批量应收确认请求列表 + /// + [JsonPropertyName("receivable_confirm_order_list")] + public List ReceivableConfirmOrderList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleSettlementbillCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleSettlementbillCreateModel.cs new file mode 100644 index 000000000..1aa13733e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossFncSettleSettlementbillCreateModel.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBossFncSettleSettlementbillCreateModel Data Structure. + /// + public class AlipayBossFncSettleSettlementbillCreateModel : AlipayObject + { + /// + /// 结算单创建请求列表 + /// + [JsonPropertyName("settlement_bill_create_order")] + public List SettlementBillCreateOrder { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlawOrderhitstatusQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlawOrderhitstatusQueryModel.cs new file mode 100644 index 000000000..d0aaa0d03 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlawOrderhitstatusQueryModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBossProdAntlawOrderhitstatusQueryModel Data Structure. + /// + public class AlipayBossProdAntlawOrderhitstatusQueryModel : AlipayObject + { + /// + /// 请求来源系统英文名称 + /// + [JsonPropertyName("request_app_name")] + public string RequestAppName { get; set; } + + /// + /// 关联业务数据编号 + /// + [JsonPropertyName("request_biz_num")] + public string RequestBizNum { get; set; } + + /// + /// 请求token + /// + [JsonPropertyName("request_hash_value")] + public string RequestHashValue { get; set; } + + /// + /// 请求时间戳(请求时间的毫秒值) + /// + [JsonPropertyName("request_time_stamp")] + public string RequestTimeStamp { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainNotaryprocsumQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainNotaryprocsumQueryModel.cs new file mode 100644 index 000000000..f3a926d83 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainNotaryprocsumQueryModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBossProdAntlegalchainNotaryprocsumQueryModel Data Structure. + /// + public class AlipayBossProdAntlegalchainNotaryprocsumQueryModel : AlipayObject + { + /// + /// 法链签约业务ID,发起签约会返回对应的ID值 + /// + [JsonPropertyName("bas_data_id")] + public string BasDataId { get; set; } + + /// + /// 请求来源系统英文名称 + /// + [JsonPropertyName("request_app_name")] + public string RequestAppName { get; set; } + + /// + /// 请求时间戳(请求时间的毫秒值) + /// + [JsonPropertyName("request_time_stamp")] + public string RequestTimeStamp { get; set; } + + /// + /// 请求token + /// + [JsonPropertyName("request_token")] + public string RequestToken { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainOrderApplyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainOrderApplyModel.cs new file mode 100644 index 000000000..a095a5fa4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBossProdAntlegalchainOrderApplyModel.cs @@ -0,0 +1,113 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBossProdAntlegalchainOrderApplyModel Data Structure. + /// + public class AlipayBossProdAntlegalchainOrderApplyModel : AlipayObject + { + /// + /// 关联业务数据编号 + /// + [JsonPropertyName("biz_code")] + public string BizCode { get; set; } + + /// + /// 业务数据请求唯一标识,唯一 + /// + [JsonPropertyName("biz_unique_id")] + public string BizUniqueId { get; set; } + + /// + /// 我方经办人工号(内部buc工号) + /// + [JsonPropertyName("main_agent_buc_user_no")] + public string MainAgentBucUserNo { get; set; } + + /// + /// 我方经办人真实姓名 + /// + [JsonPropertyName("main_agent_person_cert_name")] + public string MainAgentPersonCertName { get; set; } + + /// + /// 我方经办人证件上的身份证号 + /// + [JsonPropertyName("main_agent_person_cert_no")] + public string MainAgentPersonCertNo { get; set; } + + /// + /// 我方签约公司信息:公司名称(必传) 公司支付宝账号(可传) 公司统一社会信用编码(可传) + /// + [JsonPropertyName("main_corp_entity")] + public CorpEntity MainCorpEntity { get; set; } + + /// + /// 我方通知人邮箱地址 + /// + [JsonPropertyName("main_corp_notify_email")] + public string MainCorpNotifyEmail { get; set; } + + /// + /// 我方通知人姓名 + /// + [JsonPropertyName("main_corp_notify_name")] + public string MainCorpNotifyName { get; set; } + + /// + /// 我方通知人手机号 + /// + [JsonPropertyName("main_corp_notify_phone")] + public string MainCorpNotifyPhone { get; set; } + + /// + /// 签约文件对象信息列表 + /// + [JsonPropertyName("notary_file_list")] + public List NotaryFileList { get; set; } + + /// + /// 签约相对方企业信息: 对方公司支付宝账号(必传) 公司名称(必传) 统一社会信用编码(必传) + /// + [JsonPropertyName("rela_corp_entity")] + public CorpEntity RelaCorpEntity { get; set; } + + /// + /// 对方通知人邮箱地址 + /// + [JsonPropertyName("rela_corp_notify_email")] + public string RelaCorpNotifyEmail { get; set; } + + /// + /// 对方通知人手机号 + /// + [JsonPropertyName("rela_corp_notify_phone")] + public string RelaCorpNotifyPhone { get; set; } + + /// + /// 请求来源系统英文名称 + /// + [JsonPropertyName("request_app_name")] + public string RequestAppName { get; set; } + + /// + /// 请求时间戳(请求时间的毫秒值) + /// + [JsonPropertyName("request_time_stamp")] + public string RequestTimeStamp { get; set; } + + /// + /// 请求token + /// + [JsonPropertyName("request_token")] + public string RequestToken { get; set; } + + /// + /// 发起签约时间/我方签约时间 + /// + [JsonPropertyName("submit_time")] + public string SubmitTime { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubCloseModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubCloseModel.cs new file mode 100644 index 000000000..3a6fe71ac --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubCloseModel.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBusinessPaymenthubCloseModel Data Structure. + /// + public class AlipayBusinessPaymenthubCloseModel : AlipayObject + { + /// + /// 支付id,支付宝针对每一笔支付请求生成的唯一支付凭证 + /// + [JsonPropertyName("payment_id")] + public string PaymentId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubDisburseModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubDisburseModel.cs new file mode 100644 index 000000000..8e2cb67e5 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubDisburseModel.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBusinessPaymenthubDisburseModel Data Structure. + /// + public class AlipayBusinessPaymenthubDisburseModel : AlipayObject + { + /// + /// 打款金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("disburse_amount")] + public string DisburseAmount { get; set; } + + /// + /// 打款请求号,对应一笔业务订单下的一次打款请求,不同打款请求需保证请求号唯一 + /// + [JsonPropertyName("disburse_request_no")] + public string DisburseRequestNo { get; set; } + + /// + /// 收款方信息 + /// + [JsonPropertyName("payee")] + public UserIdentity Payee { get; set; } + + /// + /// 收款方的额外信息,包含会员信息和支付机构账号信息 + /// + [JsonPropertyName("payee_ext")] + public UserIdentityExt PayeeExt { get; set; } + + /// + /// 支付id,支付宝针对每一笔支付请求生成的唯一支付凭证 + /// + [JsonPropertyName("payment_id")] + public string PaymentId { get; set; } + + /// + /// 打款说明 + /// + [JsonPropertyName("remark")] + public string Remark { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubPayModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubPayModel.cs new file mode 100644 index 000000000..29c602ecd --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubPayModel.cs @@ -0,0 +1,95 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBusinessPaymenthubPayModel Data Structure. + /// + public class AlipayBusinessPaymenthubPayModel : AlipayObject + { + /// + /// 聚合支付的支付渠道,支付宝分配。 + /// + [JsonPropertyName("channel")] + public string Channel { get; set; } + + /// + /// 商品详情 + /// + [JsonPropertyName("goods_infos")] + public List GoodsInfos { get; set; } + + /// + /// 是否异步支付,true/false,不传默认为false。 + /// + [JsonPropertyName("is_async_pay")] + public bool IsAsyncPay { get; set; } + + /// + /// 商户订单号,merchant_order_no唯一对应业务上一笔订单,相同的订单需传入相同的merchant_order_no + /// + [JsonPropertyName("merchant_order_no")] + public string MerchantOrderNo { get; set; } + + /// + /// 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("order_amount")] + public string OrderAmount { get; set; } + + /// + /// 支付金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("pay_amount")] + public string PayAmount { get; set; } + + /// + /// 支付模式,支付宝分配,目前只支持GUARANTEE_PAY(担保支付模式) + /// + [JsonPropertyName("pay_mode")] + public string PayMode { get; set; } + + /// + /// 支付请求号,对应一笔业务订单下的一次支付请求,不同支付请求需保证请求号唯一 + /// + [JsonPropertyName("pay_request_no")] + public string PayRequestNo { get; set; } + + /// + /// 支付终端,指支付来源的设备端,支付宝分配,目前支持PC/APP + /// + [JsonPropertyName("pay_terminal")] + public string PayTerminal { get; set; } + + /// + /// 收款方信息 + /// + [JsonPropertyName("payee")] + public UserIdentity Payee { get; set; } + + /// + /// 收款方的额外信息,包含会员信息和支付机构账号信息 + /// + [JsonPropertyName("payee_ext")] + public UserIdentityExt PayeeExt { get; set; } + + /// + /// 付款方信息 + /// + [JsonPropertyName("payer")] + public UserIdentity Payer { get; set; } + + /// + /// 付款方的额外信息,包含会员信息和支付机构账号信息 + /// + [JsonPropertyName("payer_ext")] + public UserIdentityExt PayerExt { get; set; } + + /// + /// 支付说明 + /// + [JsonPropertyName("remark")] + public string Remark { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubQueryModel.cs new file mode 100644 index 000000000..c82c768c4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubQueryModel.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBusinessPaymenthubQueryModel Data Structure. + /// + public class AlipayBusinessPaymenthubQueryModel : AlipayObject + { + /// + /// 支付、打款、退款时候支付宝返回的唯一凭证id,调用方查询时候建议优先传入该值,内部处理时优先以该值为准。instruction_id和out_request_no不能同时为空。 + /// + [JsonPropertyName("instruction_id")] + public string InstructionId { get; set; } + + /// + /// 指令类型,表明该笔查询是支付,打款还是退款,跟out_request_no一起使用。 支付:PAY 打款:DISBURSE 退款:REFUND + /// + [JsonPropertyName("instruction_type")] + public string InstructionType { get; set; } + + /// + /// 商户订单号,merchant_order_no和out_request_no是一起使用。 + /// + [JsonPropertyName("merchant_order_no")] + public string MerchantOrderNo { get; set; } + + /// + /// 支付、打款或退款请求号,out_request_no和instruction_id不能同时为空。 + /// + [JsonPropertyName("out_request_no")] + public string OutRequestNo { get; set; } + + /// + /// 支付请求号,out_request_no是一起使用。 + /// + [JsonPropertyName("pay_request_no")] + public string PayRequestNo { get; set; } + + /// + /// 付款方信息,跟out_request_no一起使用。 + /// + [JsonPropertyName("payer")] + public UserIdentity Payer { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubRefundModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubRefundModel.cs new file mode 100644 index 000000000..5cd3ba6d6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessPaymenthubRefundModel.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayBusinessPaymenthubRefundModel Data Structure. + /// + public class AlipayBusinessPaymenthubRefundModel : AlipayObject + { + /// + /// 支付的收款方信息,如果涉及多收款方需传入该信息 + /// + [JsonPropertyName("payee")] + public UserIdentity Payee { get; set; } + + /// + /// 收款方的额外信息,包含会员信息和支付机构账号信息 + /// + [JsonPropertyName("payee_ext")] + public UserIdentityExt PayeeExt { get; set; } + + /// + /// 支付id,支付宝针对每一笔支付请求生成的唯一支付凭证 + /// + [JsonPropertyName("payment_id")] + public string PaymentId { get; set; } + + /// + /// 退款金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("refund_amount")] + public string RefundAmount { get; set; } + + /// + /// 退款请求号,对应一笔业务订单下的一次退款请求,不同退款请求需保证请求号唯一 + /// + [JsonPropertyName("refund_request_no")] + public string RefundRequestNo { get; set; } + + /// + /// 退款说明 + /// + [JsonPropertyName("remark")] + public string Remark { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateAuthenticateCampuscardCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateAuthenticateCampuscardCreateModel.cs new file mode 100644 index 000000000..9fc03fbb8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceEducateAuthenticateCampuscardCreateModel.cs @@ -0,0 +1,88 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceEducateAuthenticateCampuscardCreateModel Data Structure. + /// + public class AlipayCommerceEducateAuthenticateCampuscardCreateModel : AlipayObject + { + /// + /// 校区 + /// + [JsonPropertyName("campus")] + public string Campus { get; set; } + + /// + /// 自然人在学校唯一编号 + /// + [JsonPropertyName("campus_no")] + public string CampusNo { get; set; } + + /// + /// 1学生卡,2教工卡,3临时卡,4其他 不传默认是学生卡 + /// + [JsonPropertyName("card_type")] + public string CardType { get; set; } + + /// + /// 证件号 + /// + [JsonPropertyName("cert_no")] + public string CertNo { get; set; } + + /// + /// 证件类型 + /// + [JsonPropertyName("cert_type")] + public string CertType { get; set; } + + /// + /// 毕业时间 + /// + [JsonPropertyName("expire_at")] + public string ExpireAt { get; set; } + + /// + /// 扩展字段,json格式 + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 性别 + /// + [JsonPropertyName("gender")] + public string Gender { get; set; } + + /// + /// 学生/教职工在学校唯一短号,由isv分配 + /// + [JsonPropertyName("isv_short_code")] + public string IsvShortCode { get; set; } + + /// + /// 组织信息,多个分组以;隔开:AA/BB/CC;A/B/C + /// + [JsonPropertyName("organization")] + public string Organization { get; set; } + + /// + /// 学校名称 + /// + [JsonPropertyName("school_name")] + public string SchoolName { get; set; } + + /// + /// 学校国标码 + /// + [JsonPropertyName("school_stdcode")] + public string SchoolStdcode { get; set; } + + /// + /// 用户姓名 + /// + [JsonPropertyName("user_name")] + public string UserName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskCreateModel.cs new file mode 100644 index 000000000..7f37fc8fb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskCreateModel.cs @@ -0,0 +1,89 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceFixTaskCreateModel Data Structure. + /// + public class AlipayCommerceFixTaskCreateModel : AlipayObject + { + /// + /// 应用场景: 用于在ruleScene规则场景下,对提报问题进行二次分类。 如何获取:与业务对接同学沟通后确定。 + /// + [JsonPropertyName("biz_type")] + public string BizType { get; set; } + + /// + /// 提交工单时的联系人名称 + /// + [JsonPropertyName("contact")] + public string Contact { get; set; } + + /// + /// 提报问题的联系人电话 + /// + [JsonPropertyName("contact_phone")] + public string ContactPhone { get; set; } + + /// + /// 描述提报问题的详情。 + /// + [JsonPropertyName("description")] + public string Description { get; set; } + + /// + /// 定向开放场景中,可能同时支持多个业务场景,允许各业务场景自定义个性化提交的数据。数据格式请提前与业务接口人确定 + /// + [JsonPropertyName("extra")] + public List Extra { get; set; } + + /// + /// 如果工单包含图片等附件信息,首先通过文件上传接口进行文件上传,并从接口返回中获得id。此处构造的FixFileInfo对象只需包含id即可。 + /// + [JsonPropertyName("files")] + public List Files { get; set; } + + /// + /// 特殊场景下需要直接指定任务处理方时使用(非必须)。 通常需要和问题分类id配合使用。 + /// + [JsonPropertyName("handler_id")] + public string HandlerId { get; set; } + + /// + /// 对接系统中该任务的唯一标识,幂等使用,如果该id对应的工单已经创建则会报错。 如何获取:对接系统自行维护的需要创建工单的唯一标识。 + /// + [JsonPropertyName("outer_id")] + public string OuterId { get; set; } + + /// + /// 对接系统自行设置自己的唯一标识。 如何获取:使用时需要与业务对接同学,确保系统名没有与现有的其他系统名重复。 + /// + [JsonPropertyName("outer_system")] + public string OuterSystem { get; set; } + + /// + /// 提报问题的分类id。 如何获取:根据问题现象分类查询接口的查询结果。 + /// + [JsonPropertyName("problem_id")] + public long ProblemId { get; set; } + + /// + /// 工单的业务类型。 枚举值:IoTMTN:IoT维保场景;jfMTN:生活缴费;C2B:C2B;riskControl:行业风险任务。 + /// + [JsonPropertyName("rule_scene")] + public string RuleScene { get; set; } + + /// + /// 工单创建来源。对接方使用时请先与业务接口人沟通 + /// + [JsonPropertyName("source")] + public string Source { get; set; } + + /// + /// 用来标识任务类型。 枚举值:techConsult:技术咨询;malfunctionReport:设备报障 + /// + [JsonPropertyName("task_category")] + public string TaskCategory { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskQueryModel.cs new file mode 100644 index 000000000..49bbe32c1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskQueryModel.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceFixTaskQueryModel Data Structure. + /// + public class AlipayCommerceFixTaskQueryModel : AlipayObject + { + /// + /// 工单唯一id。 获取途径:创建工单的返回结果id,或者通知消息中的工单id进行查询。 + /// + [JsonPropertyName("task_id")] + public long TaskId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskproblemQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskproblemQueryModel.cs new file mode 100644 index 000000000..4095ed8a9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskproblemQueryModel.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceFixTaskproblemQueryModel Data Structure. + /// + public class AlipayCommerceFixTaskproblemQueryModel : AlipayObject + { + /// + /// 非必须,仅用在部分行业,请与业务对接同学沟通后确定是否使用。 + /// + [JsonPropertyName("biz_type")] + public string BizType { get; set; } + + /// + /// 非必须,只在iot场景下使用。机型的itemId。 + /// + [JsonPropertyName("item_id")] + public string ItemId { get; set; } + + /// + /// 问题类型的一级分类。 如何获取:与业务对接同学确认 + /// + [JsonPropertyName("problem_level_1")] + public string ProblemLevel1 { get; set; } + + /// + /// 问题类型的二级分类。 如何获取:根据一级分类的查询结果。 + /// + [JsonPropertyName("problem_level_2")] + public string ProblemLevel2 { get; set; } + + /// + /// 生态协同单的业务类型。 枚举值:IoTMTN:IoT维保场景;jfMTN:生活缴费;C2B:C2B;riskControl:行业风险任务。 + /// + [JsonPropertyName("rule_scene")] + public string RuleScene { get; set; } + + /// + /// 用来标识接口返回的是提报端,还是处理端使用的问题分类列表。 枚举值:SUBMIT:维保提报端;DEAL:维保处理端 + /// + [JsonPropertyName("scope")] + public string Scope { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskremarkCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskremarkCreateModel.cs new file mode 100644 index 000000000..930b79fc7 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskremarkCreateModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceFixTaskremarkCreateModel Data Structure. + /// + public class AlipayCommerceFixTaskremarkCreateModel : AlipayObject + { + /// + /// 针对工单的补充备注信息 + /// + [JsonPropertyName("remark")] + public string Remark { get; set; } + + /// + /// 添加备注的工单id + /// + [JsonPropertyName("task_id")] + public long TaskId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotAdvertiserDeviceQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotAdvertiserDeviceQueryModel.cs new file mode 100644 index 000000000..000cd115a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotAdvertiserDeviceQueryModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceIotAdvertiserDeviceQueryModel Data Structure. + /// + public class AlipayCommerceIotAdvertiserDeviceQueryModel : AlipayObject + { + /// + /// 设备类型,比如qt 或 pos + /// + [JsonPropertyName("device_type")] + public string DeviceType { get; set; } + + /// + /// 页码 + /// + [JsonPropertyName("page_num")] + public long PageNum { get; set; } + + /// + /// 20 + /// + [JsonPropertyName("page_size")] + public long PageSize { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotSnCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotSnCreateModel.cs index a5b0c7fea..f82b8350e 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotSnCreateModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotSnCreateModel.cs @@ -31,6 +31,18 @@ public class AlipayCommerceIotSnCreateModel : AlipayObject [JsonPropertyName("item_id")] public string ItemId { get; set; } + /// + /// pcba板厂商 + /// + [JsonPropertyName("pcba")] + public string Pcba { get; set; } + + /// + /// 产品系列 + /// + [JsonPropertyName("product_series")] + public string ProductSeries { get; set; } + /// /// 厂商id /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceLogisticsWaybillMinimctSyncModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceLogisticsWaybillMinimctSyncModel.cs new file mode 100644 index 000000000..565c16e00 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceLogisticsWaybillMinimctSyncModel.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceLogisticsWaybillMinimctSyncModel Data Structure. + /// + public class AlipayCommerceLogisticsWaybillMinimctSyncModel : AlipayObject + { + /// + /// 物流公司编码,具体详见接口开发文档 + /// + [JsonPropertyName("logistics_code")] + public string LogisticsCode { get; set; } + + /// + /// 运单参数扩展列表 + /// + [JsonPropertyName("merchant_ext_info")] + public List MerchantExtInfo { get; set; } + + /// + /// 运单号 + /// + [JsonPropertyName("waybill_no")] + public string WaybillNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportEtcBindModifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportEtcBindModifyModel.cs new file mode 100644 index 000000000..f14d2c84a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportEtcBindModifyModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportEtcBindModifyModel Data Structure. + /// + public class AlipayCommerceTransportEtcBindModifyModel : AlipayObject + { + /// + /// 绑定申请协议号 + /// + [JsonPropertyName("bind_agreement_no")] + public string BindAgreementNo { get; set; } + + /// + /// 用户办理ETC时预留的手机号 + /// + [JsonPropertyName("binded_mobile")] + public string BindedMobile { get; set; } + + /// + /// 卡号,带省份前缀 + /// + [JsonPropertyName("card_no")] + public string CardNo { get; set; } + + /// + /// OBUID,设备号 + /// + [JsonPropertyName("device_no")] + public string DeviceNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsCreateModel.cs new file mode 100644 index 000000000..fea2e22fb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsCreateModel.cs @@ -0,0 +1,136 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportParkingGoodsCreateModel Data Structure. + /// + public class AlipayCommerceTransportParkingGoodsCreateModel : AlipayObject + { + /// + /// 1^2^3(表示周一、周二、周三),此时间与商品履约开始、结束时间取交集,如2019-01-01到2019-03-01期间的周一、周二、周三 + /// + [JsonPropertyName("arg_date_week")] + public string ArgDateWeek { get; set; } + + /// + /// 商品有效时间结束时间,此时间属于日范围内结束时间,如果 结束时间小于开始时间,则默认跨天 + /// + [JsonPropertyName("arg_end_time")] + public string ArgEndTime { get; set; } + + /// + /// 商品有效时间开始时间,此时间属于日范围内开始时间 + /// + [JsonPropertyName("arg_start_time")] + public string ArgStartTime { get; set; } + + /// + /// 业务参数 json + /// + [JsonPropertyName("biz_data")] + public string BizData { get; set; } + + /// + /// 商品可购买结束日期,截止此时间次日0点(针对日租),会按照日期跨度,按照日维度创建多个商品 + /// + [JsonPropertyName("buy_end_date")] + public string BuyEndDate { get; set; } + + /// + /// 商品可购买开始日期(针对日租) + /// + [JsonPropertyName("buy_start_date")] + public string BuyStartDate { get; set; } + + /// + /// 原价,保留小数点后两位 + /// + [JsonPropertyName("cost_price")] + public string CostPrice { get; set; } + + /// + /// 总次数(本期暂不支持) + /// + [JsonPropertyName("count_num")] + public string CountNum { get; set; } + + /// + /// 现价,保留小数点后两位 + /// + [JsonPropertyName("current_price")] + public string CurrentPrice { get; set; } + + /// + /// 日次数(本期暂不支持) + /// + [JsonPropertyName("date_num")] + public string DateNum { get; set; } + + /// + /// 商品描述 + /// + [JsonPropertyName("desc")] + public string Desc { get; set; } + + /// + /// 销售结束时间,格式"YYYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("end_sell_time")] + public string EndSellTime { get; set; } + + /// + /// 库存 + /// + [JsonPropertyName("goods_num")] + public string GoodsNum { get; set; } + + /// + /// 租期类型,01 时租(本期暂不支持),02 日租,03 周租(本期暂 不支持),04月租(本期暂不支持) + /// + [JsonPropertyName("goods_rent_type")] + public string GoodsRentType { get; set; } + + /// + /// 商品类型01-按时,02-按次(本期暂不支持) + /// + [JsonPropertyName("goods_type")] + public string GoodsType { get; set; } + + /// + /// 商品关键字 + /// + [JsonPropertyName("keywords")] + public string Keywords { get; set; } + + /// + /// 商品名称 + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// isv内部产生商品ID + /// + [JsonPropertyName("out_id")] + public string OutId { get; set; } + + /// + /// 支付宝返回停车场ID + /// + [JsonPropertyName("parking_id")] + public string ParkingId { get; set; } + + /// + /// 上架时间,格式"YYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("put_time")] + public string PutTime { get; set; } + + /// + /// 销售开始时间,格式"YYYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("start_sell_time")] + public string StartSellTime { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsModifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsModifyModel.cs new file mode 100644 index 000000000..630d4667d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsModifyModel.cs @@ -0,0 +1,118 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportParkingGoodsModifyModel Data Structure. + /// + public class AlipayCommerceTransportParkingGoodsModifyModel : AlipayObject + { + /// + /// 1^2^3(表示周一、周二、周三),此时间与商品履约开始、结束时间取交集,如2019-01-01到2019-03-01期间的周一、周二、周三 + /// + [JsonPropertyName("arg_date_week")] + public string ArgDateWeek { get; set; } + + /// + /// "商品履约结束时间,此时间属于日范围内结束时间,如果 结束时间小于开始时间,则默认跨天" + /// + [JsonPropertyName("arg_end_time")] + public string ArgEndTime { get; set; } + + /// + /// 商品履约开始结束时间,此时间属于日范围内开始时间 + /// + [JsonPropertyName("arg_start_time")] + public string ArgStartTime { get; set; } + + /// + /// 业务参数 json + /// + [JsonPropertyName("biz_data")] + public string BizData { get; set; } + + /// + /// 原价,保留小数点后两位 + /// + [JsonPropertyName("cost_price")] + public string CostPrice { get; set; } + + /// + /// 总次数(本期暂不支持) + /// + [JsonPropertyName("count_num")] + public string CountNum { get; set; } + + /// + /// 现价,保留小数点后两位 + /// + [JsonPropertyName("current_price")] + public string CurrentPrice { get; set; } + + /// + /// 日次数(本期暂不支持) + /// + [JsonPropertyName("date_num")] + public string DateNum { get; set; } + + /// + /// 商品描述 + /// + [JsonPropertyName("desc")] + public string Desc { get; set; } + + /// + /// 销售结束时间,格式"YYYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("end_sell_time")] + public string EndSellTime { get; set; } + + /// + /// 支付宝商品唯一ID + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// 库存 + /// + [JsonPropertyName("goods_num")] + public string GoodsNum { get; set; } + + /// + /// 商品关键字 + /// + [JsonPropertyName("keywords")] + public string Keywords { get; set; } + + /// + /// 商品名称 + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// isv内部产生商品ID(goods_id和out_id不能同时为空) + /// + [JsonPropertyName("out_id")] + public string OutId { get; set; } + + /// + /// 支付宝返回停车场ID + /// + [JsonPropertyName("parking_id")] + public string ParkingId { get; set; } + + /// + /// 上架时间,格式"YYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("put_time")] + public string PutTime { get; set; } + + /// + /// 销售开始时间,格式"YYYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("start_sell_time")] + public string StartSellTime { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsOnlineModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsOnlineModel.cs new file mode 100644 index 000000000..b8be0b34c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsOnlineModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportParkingGoodsOnlineModel Data Structure. + /// + public class AlipayCommerceTransportParkingGoodsOnlineModel : AlipayObject + { + /// + /// 支付宝商品唯一ID + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// 操作类型:put-上架,pull-下架 + /// + [JsonPropertyName("op_type")] + public string OpType { get; set; } + + /// + /// isv内部产生商品ID(goods_id和out_id不能同时为空) + /// + [JsonPropertyName("out_id")] + public string OutId { get; set; } + + /// + /// 支付宝返回停车场ID + /// + [JsonPropertyName("parking_id")] + public string ParkingId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsQueryModel.cs new file mode 100644 index 000000000..d5c5f149b --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingGoodsQueryModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportParkingGoodsQueryModel Data Structure. + /// + public class AlipayCommerceTransportParkingGoodsQueryModel : AlipayObject + { + /// + /// isv内部产生商品ID(goods_id和out_id不能同时为空) + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// isv内部产生商品ID + /// + [JsonPropertyName("out_id")] + public string OutId { get; set; } + + /// + /// 支付宝返回停车场ID + /// + [JsonPropertyName("parking_id")] + public string ParkingId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingReserveConfirmModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingReserveConfirmModel.cs new file mode 100644 index 000000000..dbbeed971 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportParkingReserveConfirmModel.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportParkingReserveConfirmModel Data Structure. + /// + public class AlipayCommerceTransportParkingReserveConfirmModel : AlipayObject + { + /// + /// true-预约成功,false-预约失败 + /// + [JsonPropertyName("conf_reslut")] + public string ConfReslut { get; set; } + + /// + /// 描述 + /// + [JsonPropertyName("desc")] + public string Desc { get; set; } + + /// + /// 支付宝预约单唯一ID + /// + [JsonPropertyName("order_id")] + public string OrderId { get; set; } + + /// + /// isv内部生成唯一订单号 + /// + [JsonPropertyName("out_trade_no")] + public string OutTradeNo { get; set; } + + /// + /// 支付宝返回停车场ID + /// + [JsonPropertyName("parking_id")] + public string ParkingId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerMessageSendModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerMessageSendModel.cs new file mode 100644 index 000000000..3a4fe7e04 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerMessageSendModel.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportVehicleownerMessageSendModel Data Structure. + /// + public class AlipayCommerceTransportVehicleownerMessageSendModel : AlipayObject + { + /// + /// 消息条数,需和msg_list数组中消息实际条数保持一致,上限20条 + /// + [JsonPropertyName("batch_size")] + public long BatchSize { get; set; } + + /// + /// 敏感字段加密类型,目前支持md5,默认加密字段是msg_list中每条消息的“certificate_number”字段 + /// + [JsonPropertyName("encrypt_type")] + public string EncryptType { get; set; } + + /// + /// 消息列表 + /// + [JsonPropertyName("msg_list")] + public List MsgList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerSettlementRefundModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerSettlementRefundModel.cs index 1eff3dd12..b256f690c 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerSettlementRefundModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportVehicleownerSettlementRefundModel.cs @@ -7,6 +7,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain /// public class AlipayCommerceTransportVehicleownerSettlementRefundModel : AlipayObject { + /// + /// 业务协议号,通过外部单号发起时这个参数必传; 以下两个传参方法二选一: 1、协议号+外部订单号 2、交易号 + /// + [JsonPropertyName("biz_agreement_no")] + public string BizAgreementNo { get; set; } + /// /// 标识一次退款请求,同一笔交易多次退款需要保证唯一,如需部分退款,则此参数必传。 /// @@ -14,7 +20,7 @@ public class AlipayCommerceTransportVehicleownerSettlementRefundModel : AlipayOb public string OutRequestNo { get; set; } /// - /// 订单支付时传入的商户订单号,支付宝交易号和商户订单号不能同时为空 + /// 订单支付时传入的商户订单号,支付宝交易号和(商户订单号+协议号)不能同时为空 /// [JsonPropertyName("out_trade_no")] public string OutTradeNo { get; set; } @@ -26,7 +32,7 @@ public class AlipayCommerceTransportVehicleownerSettlementRefundModel : AlipayOb public string RefundAmount { get; set; } /// - /// 支付宝交易号,支付宝交易号和商户订单号不能同时为空 + /// 支付宝交易号,支付宝交易号和(商户订单号+协议号)不能同时为空 /// [JsonPropertyName("trade_no")] public string TradeNo { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldCardscriptQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldCardscriptQueryModel.cs new file mode 100644 index 000000000..556c50aab --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldCardscriptQueryModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportWorldCardscriptQueryModel Data Structure. + /// + public class AlipayCommerceTransportWorldCardscriptQueryModel : AlipayObject + { + /// + /// 脚本名称 + /// + [JsonPropertyName("script_name")] + public string ScriptName { get; set; } + + /// + /// 脚本类型 + /// + [JsonPropertyName("script_type")] + public string ScriptType { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldVirtualcardBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldVirtualcardBatchqueryModel.cs new file mode 100644 index 000000000..9a9607576 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceTransportWorldVirtualcardBatchqueryModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayCommerceTransportWorldVirtualcardBatchqueryModel Data Structure. + /// + public class AlipayCommerceTransportWorldVirtualcardBatchqueryModel : AlipayObject + { + /// + /// 卡号。和卡类型一起,唯一确定一张卡。为空时将返回该用户该卡类型下的所有卡。 + /// + [JsonPropertyName("card_no")] + public string CardNo { get; set; } + + /// + /// 卡类型。每种虚拟卡都有对应的卡类型,该值由支付宝分配给商户。 + /// + [JsonPropertyName("card_type")] + public string CardType { get; set; } + + /// + /// 是否返回包含已删除卡片 false:不返回已删除卡片,默认值; true:返回已删除卡片 + /// + [JsonPropertyName("include_deleted")] + public bool IncludeDeleted { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryAntforestEventSendModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryAntforestEventSendModel.cs new file mode 100644 index 000000000..39c7edde9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryAntforestEventSendModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEbppIndustryAntforestEventSendModel Data Structure. + /// + public class AlipayEbppIndustryAntforestEventSendModel : AlipayObject + { + /// + /// 用于标识行业-蚂蚁森林能量事件的类别 + /// + [JsonPropertyName("type")] + public string Type { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeQueryModel.cs new file mode 100644 index 000000000..7538c6b25 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeQueryModel.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEbppIndustryGovHealthcodeQueryModel Data Structure. + /// + public class AlipayEbppIndustryGovHealthcodeQueryModel : AlipayObject + { + /// + /// 市 + /// + [JsonPropertyName("city_code")] + public string CityCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeVerifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeVerifyModel.cs new file mode 100644 index 000000000..f2b2cc21d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppIndustryGovHealthcodeVerifyModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEbppIndustryGovHealthcodeVerifyModel Data Structure. + /// + public class AlipayEbppIndustryGovHealthcodeVerifyModel : AlipayObject + { + /// + /// 市 + /// + [JsonPropertyName("city_code")] + public string CityCode { get; set; } + + /// + /// 扫描或查询到的健康码码值 + /// + [JsonPropertyName("code_content")] + public string CodeContent { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppInvoiceTaxnoBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppInvoiceTaxnoBatchqueryModel.cs index 180ee4895..ebdb81e61 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppInvoiceTaxnoBatchqueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEbppInvoiceTaxnoBatchqueryModel.cs @@ -8,6 +8,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Domain /// public class AlipayEbppInvoiceTaxnoBatchqueryModel : AlipayObject { + /// + /// 默认值为false。true为输出交易信息,false为不输出交易信息。 + /// + [JsonPropertyName("enable_trade_out")] + public string EnableTradeOut { get; set; } + /// /// 查询结束时间,精确到天(按开票日期查询) start_invoice_date和end_invoice_date传值要求 1.同时为空时,返回最近半年200条数据 2.其中一个值不能为空 3.结束日期不能大于当前日期 4.开始时间和结束时间跨度不能超过6个月 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractMerchantSyncModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractMerchantSyncModel.cs new file mode 100644 index 000000000..e02e4069c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractMerchantSyncModel.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEcoContractMerchantSyncModel Data Structure. + /// + public class AlipayEcoContractMerchantSyncModel : AlipayObject + { + /// + /// 业务编号 + /// + [JsonPropertyName("batch_no")] + public string BatchNo { get; set; } + + /// + /// 商家配置信息 + /// + [JsonPropertyName("merchant_configs")] + public List MerchantConfigs { get; set; } + + /// + /// 签署平台的代码 + /// + [JsonPropertyName("sign_platform_code")] + public string SignPlatformCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessDeleteModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessDeleteModel.cs new file mode 100644 index 000000000..0ce168672 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessDeleteModel.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEcoContractProcessDeleteModel Data Structure. + /// + public class AlipayEcoContractProcessDeleteModel : AlipayObject + { + /// + /// MCCCode + /// + [JsonPropertyName("batch_no")] + public string BatchNo { get; set; } + + /// + /// 流程Id + /// + [JsonPropertyName("flow_ids")] + public List FlowIds { get; set; } + + /// + /// 签署平台的代码 + /// + [JsonPropertyName("sign_platform_code")] + public string SignPlatformCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessSyncModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessSyncModel.cs new file mode 100644 index 000000000..fd4a06ab9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoContractProcessSyncModel.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEcoContractProcessSyncModel Data Structure. + /// + public class AlipayEcoContractProcessSyncModel : AlipayObject + { + /// + /// MCCCode + /// + [JsonPropertyName("batch_no")] + public string BatchNo { get; set; } + + /// + /// 流程信息 + /// + [JsonPropertyName("flows")] + public List Flows { get; set; } + + /// + /// 签署平台的代码 + /// + [JsonPropertyName("sign_platform_code")] + public string SignPlatformCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDocTemplateCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDocTemplateCreateModel.cs new file mode 100644 index 000000000..95abe4766 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDocTemplateCreateModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEcoDocTemplateCreateModel Data Structure. + /// + public class AlipayEcoDocTemplateCreateModel : AlipayObject + { + /// + /// 模版文件的md5值 + /// + [JsonPropertyName("content_md_5")] + public string ContentMd5 { get; set; } + + /// + /// 目标文件的MIME类型 + /// + [JsonPropertyName("content_type")] + public string ContentType { get; set; } + + /// + /// 是否需要转成pdf,如果模板文件为.doc/.docx 传true,为pdf传false + /// + [JsonPropertyName("convert_to_pdf")] + public string ConvertToPdf { get; set; } + + /// + /// 文件名称(必须带上文件扩展名如:.pdf,.doc,.docx,不然会导致后续发起流程校验异常) + /// + [JsonPropertyName("file_name")] + public string FileName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDoctemplateSettingurlQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDoctemplateSettingurlQueryModel.cs new file mode 100644 index 000000000..a183fbd49 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoDoctemplateSettingurlQueryModel.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayEcoDoctemplateSettingurlQueryModel Data Structure. + /// + public class AlipayEcoDoctemplateSettingurlQueryModel : AlipayObject + { + /// + /// 模板id + /// + [JsonPropertyName("template_id")] + public string TemplateId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundTransCommonQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundTransCommonQueryModel.cs index 5c2c78d96..3503f71a8 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundTransCommonQueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayFundTransCommonQueryModel.cs @@ -32,7 +32,7 @@ public class AlipayFundTransCommonQueryModel : AlipayObject public string PayFundOrderId { get; set; } /// - /// 销售产品码,商家和支付宝签约的产品码,如果传递了out_biz_no则该字段为必传。可传值如下: STD_RED_PACKET:现金红包 TRANS_ACCOUNT_NO_PWD:单笔无密转账 + /// 销售产品码,商家和支付宝签约的产品码,如果传递了out_biz_no则该字段为必传。可传值如下: STD_RED_PACKET:现金红包 TRANS_ACCOUNT_NO_PWD:单笔无密转账到支付宝账户 TRANS_BANKCARD_NO_PWD:单笔无密转账到银行卡 /// [JsonPropertyName("product_code")] public string ProductCode { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayIserviceMindvTroublefreeruleConsultModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayIserviceMindvTroublefreeruleConsultModel.cs new file mode 100644 index 000000000..ee77c4557 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayIserviceMindvTroublefreeruleConsultModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayIserviceMindvTroublefreeruleConsultModel Data Structure. + /// + public class AlipayIserviceMindvTroublefreeruleConsultModel : AlipayObject + { + /// + /// 问卷ID值,调研平台获取 + /// + [JsonPropertyName("job_id")] + public string JobId { get; set; } + + /// + /// 产品ID值,调研平台进行查询 + /// + [JsonPropertyName("product_id")] + public long ProductId { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCampaignWarmcardQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCampaignWarmcardQueryModel.cs new file mode 100644 index 000000000..0f0090ce0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCampaignWarmcardQueryModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayMarketingCampaignWarmcardQueryModel Data Structure. + /// + public class AlipayMarketingCampaignWarmcardQueryModel : AlipayObject + { + /// + /// 春暖花开活动场景码 + /// + [JsonPropertyName("biz_code")] + public string BizCode { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCashlessvoucherTemplateCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCashlessvoucherTemplateCreateModel.cs index 190db03fb..cf834a2c5 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCashlessvoucherTemplateCreateModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingCashlessvoucherTemplateCreateModel.cs @@ -14,13 +14,13 @@ public class AlipayMarketingCashlessvoucherTemplateCreateModel : AlipayObject public string Amount { get; set; } /// - /// 品牌名。用于在卡包中展示,长度不能超过12个字符,voucher_type值为代金券时:券名称=券面额+’元代金券’,voucher_type值为兑换券时:券名称=品牌名+“兑换券”组成 ,券名称最终用于卡包展示 + /// 品牌名。用于在卡包中展示,长度不能超过12个字符,voucher_type值为代金券时:券名称=券面额+’元代金券’ ,券名称最终用于卡包展示 /// [JsonPropertyName("brand_name")] public string BrandName { get; set; } /// - /// 扩展字段,JSON字符串。目前支持使用模式扩展:{"useMode":"H5","useModeData":{"url":"http://www.yourdomian.com/yourusepage.htm","signKeys":"voucherId,userId,tag","charset":"UTF-8","signType":"RSA2","tag":"this is my tag"}} 其中如果useMode表示自定义的使用模式类型,目前仅支持"H5",表示在券详情页按钮跳转至自定义H5页面,当传入useMode参数后,将会检查useModeData对象数据,其中的url为必传参数;url字段表示客制化使用按钮跳转链接,传入该字段后在券详情使用时点击效果将会跳转此链接,链接将进行白名单过滤,如果无法接入成功请联系技术支持;signKeys字段表示跳转至客制链接时的加签字段,如果不传默认为voucherId,userId,tag;signType为加签类型,目前支持RSA及RSA2,如果不传则不会加签;charset为链接编码格式,不传默认为UTF-8;tag为自定义参数,会直接透传回使用链接;当传入合法加签信息后,券使用链接将为http://www.yourdomain.com/yourusepage.htm?voucherId=当前券id&userId=当前用户id&tag=传入tag&sign=对应算法及key生成的加签数据 + /// 扩展字段,JSON字符串。 /// [JsonPropertyName("extension_info")] public string ExtensionInfo { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestConsumerBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestConsumerBatchqueryModel.cs index 4dd7bf5fd..a465210e5 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestConsumerBatchqueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestConsumerBatchqueryModel.cs @@ -14,7 +14,7 @@ public class AlipayMerchantOrderDigestConsumerBatchqueryModel : AlipayObject public string BuyerId { get; set; } /// - /// 结束时间,格式为:yyyy-MM-dd hh:mm:ss 查询返回的订单支付时间在end_time之前,不包括end_time 注:为了避免数据重复,可在start_time不变的情况下利用上一次返回列表中最后一条数据的支付时间作为下一次end_time的入参,实现分页查询 + /// 结束时间,格式为:yyyy-MM-dd hh:mm:ss 查询返回的订单支付时间在end_time之前,不包括end_time 注:为了避免数据重复,可在start_time不变的情况下利用上一次返回中的next_end_time作为下一次end_time的入参,实现分页查询 /// [JsonPropertyName("end_time")] public string EndTime { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestUnlimitedBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestUnlimitedBatchqueryModel.cs index e9c613917..c3628244e 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestUnlimitedBatchqueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderDigestUnlimitedBatchqueryModel.cs @@ -14,7 +14,7 @@ public class AlipayMerchantOrderDigestUnlimitedBatchqueryModel : AlipayObject public string BuyerId { get; set; } /// - /// 结束时间,格式为:yyyy-MM-dd hh:mm:ss 查询返回的订单支付时间在end_time之前,不包括end_time 注:为了避免数据重复,可在start_time不变的情况下利用上一次返回列表中最后一条数据的支付时间作为下一次end_time的入参,实现分页查询 + /// 结束时间,格式为:yyyy-MM-dd hh:mm:ss 查询返回的订单支付时间在end_time之前,不包括end_time 注:为了避免数据重复,可在start_time不变的情况下利用上一次返回中的next_end_time作为下一次end_time的入参,实现分页查询 /// [JsonPropertyName("end_time")] public string EndTime { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel.cs index 566f95b9e..2e0a159b3 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel.cs @@ -14,7 +14,7 @@ public class AlipayMerchantOrderSecuritydigestConsumerBatchqueryModel : AlipayOb public string BuyerId { get; set; } /// - /// 结束时间,格式为:yyyy-MM-dd hh:mm:ss 查询返回的订单支付时间在end_time之前,不包括end_time 注:为了避免数据重复,可在start_time不变的情况下利用上一次返回列表中最后一条数据的支付时间作为下一次end_time的入参,实现分页查询 + /// 结束时间,格式为:yyyy-MM-dd hh:mm:ss 查询返回的订单支付时间在end_time之前,不包括end_time 注:为了避免数据重复,可在start_time不变的情况下利用上一次返回中的next_end_time作为下一次end_time的入参,实现分页查询 /// [JsonPropertyName("end_time")] public string EndTime { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSyncModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSyncModel.cs index aff9dfa4e..b4d2afb40 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSyncModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMerchantOrderSyncModel.cs @@ -26,6 +26,12 @@ public class AlipayMerchantOrderSyncModel : AlipayObject [JsonPropertyName("buyer_info")] public UserInfomation BuyerInfo { get; set; } + /// + /// 优惠金额 + /// + [JsonPropertyName("discount_amount")] + public string DiscountAmount { get; set; } + /// /// 扩展信息,请参见产品文档 /// @@ -44,6 +50,30 @@ public class AlipayMerchantOrderSyncModel : AlipayObject [JsonPropertyName("logistics_info_list")] public List LogisticsInfoList { get; set; } + /// + /// 订单授权码(与订单一一对应,不是请求维度的,服务订单首次同步必传) 利用订单同步前获取的formId作为订单授权码。订单授权码对应的小程序id与买家uid与同步订单的小程序id和买家uid一致 注:当order_type为SERVICE_ORDER时必填 + /// + [JsonPropertyName("order_auth_code")] + public string OrderAuthCode { get; set; } + + /// + /// 订单创建时间 当order_type为SERVICE_ORDER时必传 + /// + [JsonPropertyName("order_create_time")] + public string OrderCreateTime { get; set; } + + /// + /// 订单支付时间 当pay_channel为非ALIPAY时,且订单状态已流转到“支付”或支付后时,需要将支付时间传入 + /// + [JsonPropertyName("order_pay_time")] + public string OrderPayTime { get; set; } + + /// + /// 订单类型,若为空,默认为交易订单,每次请求必传 -SERVICE_ORDER:服务订单 -TRADE_ORDER:交易订单 + /// + [JsonPropertyName("order_type")] + public string OrderType { get; set; } + /// /// 外部订单号 out_biz_no唯一对应一笔订单,相同的订单需传入相同的out_biz_no /// @@ -51,7 +81,7 @@ public class AlipayMerchantOrderSyncModel : AlipayObject public string OutBizNo { get; set; } /// - /// 签约商户userId + /// 交易对应的签约商户userId 注意:该字段自2020-02-16日起,可以不传入 /// [JsonPropertyName("partner_id")] public string PartnerId { get; set; } @@ -75,15 +105,33 @@ public class AlipayMerchantOrderSyncModel : AlipayObject public string RecordId { get; set; } /// - /// 卖家userId + /// 卖家userId 注意:该字段自2020-02-16日起,可以不传入 /// [JsonPropertyName("seller_id")] public string SellerId { get; set; } + /// + /// 门店信息 + /// + [JsonPropertyName("shop_info")] + public OrderShopInfo ShopInfo { get; set; } + + /// + /// 凭证信息 + /// + [JsonPropertyName("ticket_info")] + public TicketInfo TicketInfo { get; set; } + /// /// 订单所对应的支付宝交易号 /// [JsonPropertyName("trade_no")] public string TradeNo { get; set; } + + /// + /// 交易号类型 1. TRADE-交易,为空默认为TRADE 2. TRANSFER-转账 3. ENTRUST-受托 + /// + [JsonPropertyName("trade_type")] + public string TradeType { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionBuildQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionBuildQueryModel.cs index ea1907598..4dc43dd51 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionBuildQueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionBuildQueryModel.cs @@ -14,7 +14,7 @@ public class AlipayOpenMiniVersionBuildQueryModel : AlipayObject public string AppVersion { get; set; } /// - /// 小程序投放的端参数,例如投放到支付宝钱包是支付宝端。该参数可选,默认支付宝端 com.alipay.alipaywallet:支付宝端 + /// 小程序投放的端参数,例如投放到支付宝钱包是支付宝端。该参数可选,默认支付宝端 com.alipay.alipaywallet:支付宝端,com.alipay.iot.xpaas:IOT端 /// [JsonPropertyName("bundle_id")] public string BundleId { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageNewcontextTransferModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageNewcontextTransferModel.cs new file mode 100644 index 000000000..1db627204 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageNewcontextTransferModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOpenPageNewcontextTransferModel Data Structure. + /// + public class AlipayOpenPageNewcontextTransferModel : AlipayObject + { + /// + /// 参数1 + /// + [JsonPropertyName("param_one")] + public string ParamOne { get; set; } + + /// + /// 参数3 + /// + [JsonPropertyName("param_three")] + public string ParamThree { get; set; } + + /// + /// 参数2 + /// + [JsonPropertyName("param_two")] + public string ParamTwo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageOldcontextTransferModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageOldcontextTransferModel.cs new file mode 100644 index 000000000..8a0798d08 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenPageOldcontextTransferModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOpenPageOldcontextTransferModel Data Structure. + /// + public class AlipayOpenPageOldcontextTransferModel : AlipayObject + { + /// + /// 参数1 + /// + [JsonPropertyName("param_one")] + public string ParamOne { get; set; } + + /// + /// 参数3 + /// + [JsonPropertyName("param_three")] + public string ParamThree { get; set; } + + /// + /// 参数2 + /// + [JsonPropertyName("param_two")] + public string ParamTwo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitWithdrawNotifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitWithdrawNotifyModel.cs new file mode 100644 index 000000000..ca7603ac4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasRemitWithdrawNotifyModel.cs @@ -0,0 +1,70 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasRemitWithdrawNotifyModel Data Structure. + /// + public class AlipayOverseasRemitWithdrawNotifyModel : AlipayObject + { + /// + /// APS定义的机构ID + /// + [JsonPropertyName("participant_id")] + public string ParticipantId { get; set; } + + /// + /// json map 对象,透传一些额外的信息 + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + + /// + /// ISO 4217规范的三位货币码 + /// + [JsonPropertyName("withdraw_amount_currency")] + public string WithdrawAmountCurrency { get; set; } + + /// + /// 对应货币的最小单位的货币值,例如 CNY,1就是1分 + /// + [JsonPropertyName("withdraw_amount_value")] + public string WithdrawAmountValue { get; set; } + + /// + /// 提现唯一id,由APS生成 + /// + [JsonPropertyName("withdraw_id")] + public string WithdrawId { get; set; } + + /// + /// 提现申请ID,由提现申请方定义 + /// + [JsonPropertyName("withdraw_request_id")] + public string WithdrawRequestId { get; set; } + + /// + /// 提现申请结果 + /// + [JsonPropertyName("withdraw_result_code")] + public string WithdrawResultCode { get; set; } + + /// + /// 提现结果消息 + /// + [JsonPropertyName("withdraw_result_message")] + public string WithdrawResultMessage { get; set; } + + /// + /// S 成功 F 失败 + /// + [JsonPropertyName("withdraw_result_status")] + public string WithdrawResultStatus { get; set; } + + /// + /// 提现结束时间 + /// + [JsonPropertyName("withdraw_time")] + public string WithdrawTime { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderCreateModel.cs new file mode 100644 index 000000000..0d1a2a934 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderCreateModel.cs @@ -0,0 +1,100 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTaxNeworderCreateModel Data Structure. + /// + public class AlipayOverseasTaxNeworderCreateModel : AlipayObject + { + /// + /// 支付宝userId + /// + [JsonPropertyName("alipay_user_id")] + public string AlipayUserId { get; set; } + + /// + /// 退税单过期时间,退税单据的有效期是6个月,退税打印时间+6个月,格式 : yyyy-MM-dd HH:mm:ss,北京时间24小时制,时区东八区 + /// + [JsonPropertyName("doc_expire_date")] + public string DocExpireDate { get; set; } + + /// + /// 纸质退税单号,应保证和单笔退税接口的doc_id一致 + /// + [JsonPropertyName("doc_id")] + public string DocId { get; set; } + + /// + /// 退税单打印时间,格式 : yyyy-MM-dd HH:mm:ss,北京时间24小时制,时区东八区 + /// + [JsonPropertyName("doc_print_date")] + public string DocPrintDate { get; set; } + + /// + /// 扩展参数json格式,1.机构退税单页面标识符,key为page_identifier,value为唯一加密串,跳转机构退税单页面时携带此参数 + /// + [JsonPropertyName("extend_param")] + public string ExtendParam { get; set; } + + /// + /// 国籍,用户护照上的国家码 + /// + [JsonPropertyName("nationality")] + public string Nationality { get; set; } + + /// + /// 外部退税商户ID,商户在退税机构的ID,一键退税必填 + /// + [JsonPropertyName("out_merchant_id")] + public string OutMerchantId { get; set; } + + /// + /// 护照姓名,用户护照上的英文姓名,不允许特殊字符 + /// + [JsonPropertyName("passport_name")] + public string PassportName { get; set; } + + /// + /// 护照号码,英文或数据,不允许特殊字符 + /// + [JsonPropertyName("passport_no")] + public string PassportNo { get; set; } + + /// + /// 当前状态,新建(INIT),海关已盖章(STAMPED),海关拒绝(REJECTED_BY_CUSTOMS),退税机构收到退税单(RECEIVED),作废(VOIDED),失败(FAILED),过期(EXPIRED),已退税(REFUNDED),已使用非支付宝退税(REFUNDED_NON_ALIPAY) + /// + [JsonPropertyName("status")] + public string Status { get; set; } + + /// + /// 当前状态发生的时间(UTC+8),格式yyyy-MM-dd HH:mm:ss,默认为当前时间 + /// + [JsonPropertyName("status_change_time")] + public string StatusChangeTime { get; set; } + + /// + /// 支付宝资金订单号,预授权退税下单接口返回的tax_refund_no,原单笔退税接口返回的refund_order_no,批量退税结果文件倒数第二列。当且status为REFUNDED时必选,其余状态忽略 + /// + [JsonPropertyName("tax_payment_no")] + public string TaxPaymentNo { get; set; } + + /// + /// 退税金额,退税公司退税金额,币种由tax_refund_currency指定,精确到币种最小单位,金额大于0,如tax_refund_currency为SGD,币种最小单位为分,100元新币,则tax_refund_amount传入10000. + /// + [JsonPropertyName("tax_refund_amount")] + public string TaxRefundAmount { get; set; } + + /// + /// 退税发生国家, ISO标准alpha-2国家代码 + /// + [JsonPropertyName("tax_refund_country")] + public string TaxRefundCountry { get; set; } + + /// + /// 退税公司退税币种,一般指外币,ISO标准退税国家alpha-3币种代码 + /// + [JsonPropertyName("tax_refund_currency")] + public string TaxRefundCurrency { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderStatusSyncModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderStatusSyncModel.cs new file mode 100644 index 000000000..eec290b0d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTaxNeworderStatusSyncModel.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTaxNeworderStatusSyncModel Data Structure. + /// + public class AlipayOverseasTaxNeworderStatusSyncModel : AlipayObject + { + /// + /// 纸质退税单号 + /// + [JsonPropertyName("doc_id")] + public string DocId { get; set; } + + /// + /// 扩展参数json格式 + /// + [JsonPropertyName("extend_param")] + public string ExtendParam { get; set; } + + /// + /// 当前状态,海关已盖章(STAMPED),海关拒绝(REJECTED_BY_CUSTOMS),退税机构收到退税单(RECEIVED),作废(VOIDED),失败(FAILED),过期(EXPIRED),已退税(REFUNDED),已使用非支付宝退税(REFUNDED_NON_ALIPAY) + /// + [JsonPropertyName("status")] + public string Status { get; set; } + + /// + /// 当前状态发生变更的时间(UTC+8),格式yyyy-MM-dd HH:mm:ss + /// + [JsonPropertyName("status_change_time")] + public string StatusChangeTime { get; set; } + + /// + /// 当前状态要给用户的提示信息 + /// + [JsonPropertyName("status_msg")] + public string StatusMsg { get; set; } + + /// + /// 支付宝退税单号 + /// + [JsonPropertyName("tax_order_no")] + public string TaxOrderNo { get; set; } + + /// + /// 支付宝资金订单号,预授权退税下单接口返回的tax_refund_no,原单笔退税接口返回的refund_order_no,批量退税结果文件倒数第二列。当且status为REFUNDED时必选,其余状态忽略 + /// + [JsonPropertyName("tax_payment_no")] + public string TaxPaymentNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferCertifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferCertifyModel.cs new file mode 100644 index 000000000..631638462 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferCertifyModel.cs @@ -0,0 +1,82 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTransferCertifyModel Data Structure. + /// + public class AlipayOverseasTransferCertifyModel : AlipayObject + { + /// + /// 收端用户信息 + /// + [JsonPropertyName("beneficiary")] + public string Beneficiary { get; set; } + + /// + /// 收端机构的id + /// + [JsonPropertyName("beneficiary_agent_id")] + public string BeneficiaryAgentId { get; set; } + + /// + /// 收款方式 + /// + [JsonPropertyName("beneficiary_receipt_method")] + public string BeneficiaryReceiptMethod { get; set; } + + /// + /// 业务类型 + /// + [JsonPropertyName("biz_scene_type")] + public string BizSceneType { get; set; } + + /// + /// 金额类型 + /// + [JsonPropertyName("instructed_amount_type")] + public string InstructedAmountType { get; set; } + + /// + /// 透传信息 + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + + /// + /// 发端用户信息 + /// + [JsonPropertyName("payer")] + public string Payer { get; set; } + + /// + /// 发端机构的id + /// + [JsonPropertyName("payer_agent_id")] + public string PayerAgentId { get; set; } + + /// + /// 汇款的金额 + /// + [JsonPropertyName("transfer_from_amount")] + public Money TransferFromAmount { get; set; } + + /// + /// HK + /// + [JsonPropertyName("transfer_from_region")] + public string TransferFromRegion { get; set; } + + /// + /// 收款的金额 + /// + [JsonPropertyName("transfer_to_amount")] + public Money TransferToAmount { get; set; } + + /// + /// 收款地区 + /// + [JsonPropertyName("transfer_to_region")] + public string TransferToRegion { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferConfirmModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferConfirmModel.cs new file mode 100644 index 000000000..eac72e376 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferConfirmModel.cs @@ -0,0 +1,88 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTransferConfirmModel Data Structure. + /// + public class AlipayOverseasTransferConfirmModel : AlipayObject + { + /// + /// 汇款相关的信息 + /// + [JsonPropertyName("additional_transfer_details")] + public string AdditionalTransferDetails { get; set; } + + /// + /// 收端机构id + /// + [JsonPropertyName("beneficiary_agent_id")] + public string BeneficiaryAgentId { get; set; } + + /// + /// {} + /// + [JsonPropertyName("beneficiary_receipt_method")] + public string BeneficiaryReceiptMethod { get; set; } + + /// + /// 业务类型 + /// + [JsonPropertyName("biz_scene_type")] + public string BizSceneType { get; set; } + + /// + /// 汇款过程中的金额类型 + /// + [JsonPropertyName("instructed_amount_type")] + public string InstructedAmountType { get; set; } + + /// + /// 透传信息 + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + + /// + /// 发端机构id + /// + [JsonPropertyName("payer_agent_id")] + public string PayerAgentId { get; set; } + + /// + /// 汇款用户的支付方式 + /// + [JsonPropertyName("payer_payment_method")] + public string PayerPaymentMethod { get; set; } + + /// + /// 汇款用户汇款的金额 + /// + [JsonPropertyName("transfer_from_amount")] + public Money TransferFromAmount { get; set; } + + /// + /// 汇款通知地址 + /// + [JsonPropertyName("transfer_notify_url")] + public string TransferNotifyUrl { get; set; } + + /// + /// 报价信息 + /// + [JsonPropertyName("transfer_quote")] + public string TransferQuote { get; set; } + + /// + /// 汇款请求id + /// + [JsonPropertyName("transfer_request_id")] + public string TransferRequestId { get; set; } + + /// + /// 收款用户收到的金额 + /// + [JsonPropertyName("transfer_to_amount")] + public Money TransferToAmount { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferQueryModel.cs new file mode 100644 index 000000000..d6840b387 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTransferQueryModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTransferQueryModel Data Structure. + /// + public class AlipayOverseasTransferQueryModel : AlipayObject + { + /// + /// 透传信息 + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + + /// + /// 汇款请求id + /// + [JsonPropertyName("transfer_request_id")] + public string TransferRequestId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateCurrencyBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateCurrencyBatchqueryModel.cs new file mode 100644 index 000000000..f327efed6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateCurrencyBatchqueryModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTravelRateCurrencyBatchqueryModel Data Structure. + /// + public class AlipayOverseasTravelRateCurrencyBatchqueryModel : AlipayObject + { + /// + /// 业务类型: 1.MBARCODE(支持境外当面付的币种); 2.CLASS_RATE(支持分级汇率的币种); 3.为空时默认查询所有的币种; + /// + [JsonPropertyName("biz_type")] + public string BizType { get; set; } + + /// + /// 业务扩展参数 + /// + [JsonPropertyName("extend_param")] + public string ExtendParam { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRatePromotionVerifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRatePromotionVerifyModel.cs new file mode 100644 index 000000000..b873fdb40 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRatePromotionVerifyModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTravelRatePromotionVerifyModel Data Structure. + /// + public class AlipayOverseasTravelRatePromotionVerifyModel : AlipayObject + { + /// + /// 业务扩展参数 + /// + [JsonPropertyName("extend_param")] + public string ExtendParam { get; set; } + + /// + /// 跨境游发现平台优惠id + /// + [JsonPropertyName("travel_promotion_id")] + public string TravelPromotionId { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateRateinfoQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateRateinfoQueryModel.cs new file mode 100644 index 000000000..5ccfa2dd0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOverseasTravelRateRateinfoQueryModel.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayOverseasTravelRateRateinfoQueryModel Data Structure. + /// + public class AlipayOverseasTravelRateRateinfoQueryModel : AlipayObject + { + /// + /// 用户当前所在国家的国家码,ISO-3166标准三位数字国家码。 1.currency、country_code、longitude&latitude三者不能同时为空; 2.同时存在时优先级:currency>country_code>longitude&latitude; + /// + [JsonPropertyName("country_code")] + public string CountryCode { get; set; } + + /// + /// 货币代码,ISO标准alpha-3币种代码 1.currency、country_code、longitude&latitude三者不能同时为空 2.同时存在时优先级:currency>country_code>longitude&latitude; + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + + /// + /// 币种金额:不传的时候默认100,单位元 + /// + [JsonPropertyName("currency_amount")] + public string CurrencyAmount { get; set; } + + /// + /// 业务扩展参数 + /// + [JsonPropertyName("extend_param")] + public string ExtendParam { get; set; } + + /// + /// 纬度;currency、country_code、longitude & latitude三者不能同时为空,同时存在时优先级:currency>country_code>longitude&latitude; + /// + [JsonPropertyName("latitude")] + public string Latitude { get; set; } + + /// + /// 经度; 1.currency、country_code、longitude&latitude三者不能同时为空; 2.同时存在时优先级:currency>country_code>longitude&latitude; + /// + [JsonPropertyName("longitude")] + public string Longitude { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecQrcodecacheAddModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecQrcodecacheAddModel.cs index 7edde9c69..f30f6f915 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecQrcodecacheAddModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPayCodecQrcodecacheAddModel.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 { @@ -13,6 +14,12 @@ public class AlipayPayCodecQrcodecacheAddModel : AlipayObject [JsonPropertyName("compress")] public bool Compress { get; set; } + /// + /// 批量json的键值对 + /// + [JsonPropertyName("json")] + public List Json { get; set; } + /// /// bizType_gridId /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryModel.cs new file mode 100644 index 000000000..0ec54efe6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryModel.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryModel Data Structure. + /// + public class AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryModel : AlipayObject + { + /// + /// 商户ID + /// + [JsonPropertyName("partner_id")] + public string PartnerId { get; set; } + + /// + /// 活动类型,传空默认查所有 + /// + [JsonPropertyName("product_ids")] + public List ProductIds { get; set; } + + /// + /// 来源系统 + /// + [JsonPropertyName("request_from")] + public string RequestFrom { get; set; } + + /// + /// 查询对应状态活动,默认所有状态活动类型 + /// + [JsonPropertyName("status")] + public List Status { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryModel.cs new file mode 100644 index 000000000..5beaefbda --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayPcreditHuabeiPcreditamountQueryprocessorQueryModel Data Structure. + /// + public class AlipayPcreditHuabeiPcreditamountQueryprocessorQueryModel : AlipayObject + { + /// + /// 请求参数 + /// + [JsonPropertyName("params")] + public TbapiQueryAmountBizContent Params { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalIpprofileQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalIpprofileQueryModel.cs deleted file mode 100644 index b4d5b05ab..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalIpprofileQueryModel.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// AlipaySecurityRiskDirectionalIpprofileQueryModel Data Structure. - /// - public class AlipaySecurityRiskDirectionalIpprofileQueryModel : AlipayObject - { - /// - /// 身份证号码,非必填参数,用于查询"身份证持有人使用当前IP的概率"属性 - /// - [JsonPropertyName("cert_no")] - public string CertNo { get; set; } - - /// - /// IP地址,IP检测服务接口主键,必填 - /// - [JsonPropertyName("ip_address")] - public string IpAddress { get; set; } - - /// - /// 手机号码,非必填参数,用于用户更多维度的识别,如"手机号持有人使用当前IP的概率"属性等 - /// - [JsonPropertyName("phone")] - public string Phone { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalRainscoreQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalRainscoreQueryModel.cs deleted file mode 100644 index b6fa36284..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySecurityRiskDirectionalRainscoreQueryModel.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// AlipaySecurityRiskDirectionalRainscoreQueryModel Data Structure. - /// - public class AlipaySecurityRiskDirectionalRainscoreQueryModel : AlipayObject - { - /// - /// 帐号内容,目前为中国大陆手机号(11位阿拉伯数字,不包含特殊符号或空格) - /// - [JsonPropertyName("account")] - public string Account { get; set; } - - /// - /// 账号类型,目前仅支持手机号(MOBILE_NO) - /// - [JsonPropertyName("account_type")] - public string AccountType { get; set; } - - /// - /// “蚁盾”风险评分服务版本号,当前版本为2.0 - /// - [JsonPropertyName("version")] - public string Version { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintSendModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintSendModel.cs new file mode 100644 index 000000000..3fa474736 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintSendModel.cs @@ -0,0 +1,58 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipaySocialBaseMcommentFootprintSendModel Data Structure. + /// + public class AlipaySocialBaseMcommentFootprintSendModel : AlipayObject + { + /// + /// 足迹服务分配的业务码 + /// + [JsonPropertyName("biz_type")] + public string BizType { get; set; } + + /// + /// 扩展字段,某些特殊业务需要传,JSON格式 + /// + [JsonPropertyName("ext_data")] + public string ExtData { get; set; } + + /// + /// 足迹内容的模版号 + /// + [JsonPropertyName("footprint_model_code")] + public string FootprintModelCode { get; set; } + + /// + /// 模板内容,JSON格式 + /// + [JsonPropertyName("footprint_model_data")] + public string FootprintModelData { get; set; } + + /// + /// 产生足迹的unix毫秒时间戳 + /// + [JsonPropertyName("footprint_time")] + public long FootprintTime { get; set; } + + /// + /// 业务场景下的唯一键,例如店铺id,访问对象的id + /// + [JsonPropertyName("item_id")] + public string ItemId { get; set; } + + /// + /// 上报数据来源 + /// + [JsonPropertyName("source")] + public string Source { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintUploadModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintUploadModel.cs new file mode 100644 index 000000000..198edcb0e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseMcommentFootprintUploadModel.cs @@ -0,0 +1,58 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipaySocialBaseMcommentFootprintUploadModel Data Structure. + /// + public class AlipaySocialBaseMcommentFootprintUploadModel : AlipayObject + { + /// + /// 足迹服务分配的业务码 + /// + [JsonPropertyName("biz_type")] + public string BizType { get; set; } + + /// + /// 扩展字段,某些特殊业务需要传的指 + /// + [JsonPropertyName("ext_data")] + public string ExtData { get; set; } + + /// + /// 足迹内容的模版号 + /// + [JsonPropertyName("footprint_model_code")] + public string FootprintModelCode { get; set; } + + /// + /// 模版的内容 + /// + [JsonPropertyName("footprint_model_data")] + public string FootprintModelData { get; set; } + + /// + /// 产生足迹的unix毫秒时间戳 + /// + [JsonPropertyName("footprint_time")] + public long FootprintTime { get; set; } + + /// + /// 在某个场景下的唯一键,比如appId/shopId + /// + [JsonPropertyName("item_id")] + public string ItemId { get; set; } + + /// + /// 上报数据来源 + /// + [JsonPropertyName("source")] + public string Source { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseRelationFriendsQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseRelationFriendsQueryModel.cs index 813b55cbb..e7d78b827 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseRelationFriendsQueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseRelationFriendsQueryModel.cs @@ -11,7 +11,7 @@ public class AlipaySocialBaseRelationFriendsQueryModel : AlipayObject /// 获取类型。1=获取双向好友 2=获取双向+单向好友 /// [JsonPropertyName("get_type")] - public new long GetType { get; set; } + public long GetType { get; set; } /// /// 好友列表中是否返回自己, true=返回 false=不返回 默认false diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinancePayModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinancePayModel.cs new file mode 100644 index 000000000..8dc320711 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinancePayModel.cs @@ -0,0 +1,64 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayTradeCreditFinancePayModel Data Structure. + /// + public class AlipayTradeCreditFinancePayModel : AlipayObject + { + /// + /// 本次需要支付的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("amount")] + public string Amount { get; set; } + + /// + /// 本次金融支付对应的业务类型,本次对应: BILL_REPAY:账单还款后打款 + /// + [JsonPropertyName("business_type")] + public string BusinessType { get; set; } + + /// + /// 币种,CNY + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + + /// + /// 扩展参数,json结构体,具体值需要联系支付宝工程师确认 + /// + [JsonPropertyName("extend_params")] + public string ExtendParams { get; set; } + + /// + /// 外部请求号,用于控制幂等 + /// + [JsonPropertyName("out_request_no")] + public string OutRequestNo { get; set; } + + /// + /// 收款人信息 + /// + [JsonPropertyName("payee_info")] + public CreditFinancePayAccountInfo PayeeInfo { get; set; } + + /// + /// 本次支付的付款人信息 + /// + [JsonPropertyName("payer_info")] + public CreditFinancePayAccountInfo PayerInfo { get; set; } + + /// + /// 本次支付的描述 + /// + [JsonPropertyName("subject")] + public string Subject { get; set; } + + /// + /// 需要进行金融支付处理的交易号 + /// + [JsonPropertyName("trade_no")] + public string TradeNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinanceRefundModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinanceRefundModel.cs new file mode 100644 index 000000000..3cc76a1ad --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeCreditFinanceRefundModel.cs @@ -0,0 +1,58 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayTradeCreditFinanceRefundModel Data Structure. + /// + public class AlipayTradeCreditFinanceRefundModel : AlipayObject + { + /// + /// 本次需要退款的金额,单位为元;精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("amount")] + public string Amount { get; set; } + + /// + /// 币种,CNY + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + + /// + /// 扩展参数,json结构体,例用前需要与支付宝工程师确认 + /// + [JsonPropertyName("extend_params")] + public string ExtendParams { get; set; } + + /// + /// 退款备注 + /// + [JsonPropertyName("memo")] + public string Memo { get; set; } + + /// + /// 外部退款请求号,用于控制幂等 + /// + [JsonPropertyName("out_request_no")] + public string OutRequestNo { get; set; } + + /// + /// 收款人信息 + /// + [JsonPropertyName("payee_info")] + public CreditFinancePayAccountInfo PayeeInfo { get; set; } + + /// + /// 本次需要进行金融处理的交易对应的交易的买家userId + /// + [JsonPropertyName("trade_buyer_id")] + public string TradeBuyerId { get; set; } + + /// + /// 需要进行金融处理的交易号 + /// + [JsonPropertyName("trade_no")] + public string TradeNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradePagePayModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradePagePayModel.cs index f1329d649..f742e7b54 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradePagePayModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradePagePayModel.cs @@ -87,7 +87,7 @@ public class AlipayTradePagePayModel : AlipayObject public string OutTradeNo { get; set; } /// - /// 公用回传参数,如果请求时传递了该参数,则返回给商户时会回传该参数。支付宝只会在同步返回(包括跳转回商户网站)和异步通知时将该参数原样返回。本参数必须进行UrlEncode之后才可以发送给支付宝。 + /// 公用回传参数,如果请求时传递了该参数,则返回给商户时会回传该参数。支付宝会在异步通知时将该参数原样返回。本参数必须进行UrlEncode之后才可以发送给支付宝。 /// [JsonPropertyName("passback_params")] public string PassbackParams { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeSettleReceivablesQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeSettleReceivablesQueryModel.cs index d39c0dd99..4c579c57c 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeSettleReceivablesQueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeSettleReceivablesQueryModel.cs @@ -30,5 +30,11 @@ public class AlipayTradeSettleReceivablesQueryModel : AlipayObject /// [JsonPropertyName("out_request_no")] public string OutRequestNo { get; set; } + + /// + /// 查询历史日期,格式为 yyyyMMdd ,取值范围为昨日起至往前30日内; 不传入时,查询实时待结算余额返回; 传入过去某一天日期,查询对应日期的日终待结算余额返回(注意:日常场景下,昨日日终待结算余额只可在当天 02:00 后查询,在当天 02:00 前查询返回查询错误;大促场景下昨日日终可查时间会适当延后); 传入过去某一天非近30天内,返回参数错误; + /// + [JsonPropertyName("query_his_date")] + public string QueryHisDate { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementQueryModel.cs index 5afa611f6..fdd13c8dd 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementQueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementQueryModel.cs @@ -14,13 +14,13 @@ public class AlipayUserAgreementQueryModel : AlipayObject public string AgreementNo { get; set; } /// - /// 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_user_id 不可同时为空,若都填写,则以alipay_user_id 为准。 + /// 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_user_id若都填写,则以alipay_user_id 为准。 /// [JsonPropertyName("alipay_logon_id")] public string AlipayLogonId { get; set; } /// - /// 用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成; 本参数与 alipay_logon_id 不 可同时为空,若都填写,则 以本参数为准,优先级高于 alipay_logon_id。 + /// 用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成。 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 /// [JsonPropertyName("alipay_user_id")] public string AlipayUserId { get; set; } @@ -38,7 +38,7 @@ public class AlipayUserAgreementQueryModel : AlipayObject public string PersonalProductCode { get; set; } /// - /// 签约协议场景,商户和支付宝签约时确定,商户可咨询技术支持。 当传入商户签约号 external_sign_no 时,场景不能为空或默认值 DEFAULT|DEFAULT。 该值需要与系统/页面签约接口调用时传入的值保持一 致。 + /// 签约协议场景,商户和支付宝签约时确定,商户可咨询技术支持。 当传入商户签约号 external_agreement_no 时,场景不能为空或默认值 DEFAULT|DEFAULT。 该值需要与系统/页面签约接口调用时传入的值保持一 致。 /// [JsonPropertyName("sign_scene")] public string SignScene { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementSignModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementSignModel.cs index 89d8652c0..40f7d4b59 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementSignModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserAgreementSignModel.cs @@ -79,6 +79,12 @@ public class AlipayUserAgreementSignModel : AlipayObject [JsonPropertyName("promo_params")] public string PromoParams { get; set; } + /// + /// 卡id(由固定前缀+32位数字构成) + /// + [JsonPropertyName("provisioning_bundle_id")] + public string ProvisioningBundleId { get; set; } + /// /// 协议签约场景,商户和支付宝签约时确定,商户可咨询技术支持。 当传入商户签约号external_sign_no时,场景不能为默认值DEFAULT|DEFAULT。 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayOtpresolutionmethodsQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayOtpresolutionmethodsQueryModel.cs new file mode 100644 index 000000000..69b17b683 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayOtpresolutionmethodsQueryModel.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayUserApplepayOtpresolutionmethodsQueryModel Data Structure. + /// + public class AlipayUserApplepayOtpresolutionmethodsQueryModel : AlipayObject + { + /// + /// 卡id(由固定前缀+32位数字构成) + /// + [JsonPropertyName("provisioning_bundle_identifier")] + public string ProvisioningBundleIdentifier { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayPbstatusQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayPbstatusQueryModel.cs new file mode 100644 index 000000000..f1a41f813 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayPbstatusQueryModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayUserApplepayPbstatusQueryModel Data Structure. + /// + public class AlipayUserApplepayPbstatusQueryModel : AlipayObject + { + /// + /// 设备接受语言 + /// + [JsonPropertyName("device_accept_language")] + public string DeviceAcceptLanguage { get; set; } + + /// + /// 卡id(由固定前缀+32位数字构成) + /// + [JsonPropertyName("provisioning_bundle_identifier")] + public string ProvisioningBundleIdentifier { get; set; } + + /// + /// 卡的用户id(由固定前缀+支付宝用户id组成) + /// + [JsonPropertyName("reference_identifier")] + public string ReferenceIdentifier { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayProvisioningbundleModifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayProvisioningbundleModifyModel.cs new file mode 100644 index 000000000..a25e19553 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserApplepayProvisioningbundleModifyModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayUserApplepayProvisioningbundleModifyModel Data Structure. + /// + public class AlipayUserApplepayProvisioningbundleModifyModel : AlipayObject + { + /// + /// 管理动作 + /// + [JsonPropertyName("action")] + public string Action { get; set; } + + /// + /// otp的值 + /// + [JsonPropertyName("otp_value")] + public string OtpValue { get; set; } + + /// + /// 卡id(由固定前缀+32位数字构成) + /// + [JsonPropertyName("provisioning_bundle_identifier")] + public string ProvisioningBundleIdentifier { get; set; } + + /// + /// 卡的用户id(由固定前缀+支付宝用户id组成) + /// + [JsonPropertyName("reference_identifier")] + public string ReferenceIdentifier { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserInfoInnerQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserInfoInnerQueryModel.cs new file mode 100644 index 000000000..a254dfc8b --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayUserInfoInnerQueryModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AlipayUserInfoInnerQueryModel Data Structure. + /// + public class AlipayUserInfoInnerQueryModel : AlipayObject + { + /// + /// 阿里集团统一ID + /// + [JsonPropertyName("havana_id")] + public string HavanaId { get; set; } + + /// + /// 登录ID + /// + [JsonPropertyName("logon_id")] + public string LogonId { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftConsultModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftConsultModel.cs index 91b551c8a..1ad20ebac 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftConsultModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftConsultModel.cs @@ -74,6 +74,12 @@ public class AntMerchantExpandIndirectZftConsultModel : AlipayObject [JsonPropertyName("contact_infos")] public List ContactInfos { get; set; } + /// + /// 默认结算规则。在收单时不做特别指定规则时,将使用本对象设置的结算规则进行结算。其详细描述及收单接口传参示例参考功能包文档 + /// + [JsonPropertyName("default_settle_rule")] + public DefaultSettleRule DefaultSettleRule { get; set; } + /// /// 商户编号,由机构定义,需要保证在机构下唯一 /// @@ -141,7 +147,7 @@ public class AntMerchantExpandIndirectZftConsultModel : AlipayObject public string Name { get; set; } /// - /// 外部业务号。比如某种业务标准外部订单号,比如交易外部订单号,代表服务商端自己订单号。用于做并发控制,防止一笔外部订单发起两次进件。非必要场景禁止传入本字段,如要使用务必理清场景及字段生成规则,与蚂蚁金服对接人咨询。 + /// 外部业务号。目前已废弃。新接入场景禁止传入本字段,否则可能会产生无法新进件的情况 /// [JsonPropertyName("out_biz_no")] public string OutBizNo { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftCreateModel.cs index 7e3b08607..c3d045cd6 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftCreateModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftCreateModel.cs @@ -74,6 +74,12 @@ public class AntMerchantExpandIndirectZftCreateModel : AlipayObject [JsonPropertyName("contact_infos")] public List ContactInfos { get; set; } + /// + /// 默认结算规则。在收单时不做特别指定规则时,将使用本对象设置的结算规则进行结算。其详细描述及收单接口传参示例参考功能包文档 + /// + [JsonPropertyName("default_settle_rule")] + public DefaultSettleRule DefaultSettleRule { get; set; } + /// /// 商户编号,由机构定义,需要保证在机构下唯一 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftModifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftModifyModel.cs index 72d943674..f1de92b44 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftModifyModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandIndirectZftModifyModel.cs @@ -56,6 +56,12 @@ public class AntMerchantExpandIndirectZftModifyModel : AlipayObject [JsonPropertyName("contact_infos")] public List ContactInfos { get; set; } + /// + /// 默认结算规则。在收单时不做特别指定规则时,将使用本对象设置的结算规则进行结算。其详细描述及收单接口传参示例参考功能包文档 + /// + [JsonPropertyName("default_settle_rule")] + public DefaultSettleRule DefaultSettleRule { get; set; } + /// /// 商户编号,由机构定义,需要保证在机构下唯一。与smid二选一必填 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandShopBatchqueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandShopBatchqueryModel.cs index 625ff1afb..b53520370 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandShopBatchqueryModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandShopBatchqueryModel.cs @@ -14,7 +14,7 @@ public class AntMerchantExpandShopBatchqueryModel : AlipayObject public long PageNo { get; set; } /// - /// 分页数量 + /// 分页数量, 最大50 /// [JsonPropertyName("page_size")] public long PageSize { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantOrderStoreCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantOrderStoreCreateModel.cs index 3b3186b09..0acaf09c0 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantOrderStoreCreateModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantOrderStoreCreateModel.cs @@ -21,7 +21,7 @@ public class AntMerchantOrderStoreCreateModel : AlipayObject public string ContactPhone { get; set; } /// - /// 扩展参数: Ext_ArrivedTime : 到店时间 + /// 扩展参数: CONSUMER_COUNT :到店人数, 样例:3 SERVICE_ITEM:服务项目,样例: ["洗头","美发"] SERVICE_TIME: 到店时间,样例: 2020-03-10 09:00:00 /// [JsonPropertyName("ext")] public List Ext { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterApplyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterApplyModel.cs new file mode 100644 index 000000000..2ba3f7946 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterApplyModel.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AnttechBlockchainFinanceAssetRegisterApplyModel Data Structure. + /// + public class AnttechBlockchainFinanceAssetRegisterApplyModel : AlipayObject + { + /// + /// 资产详情,不同资产类型格式不同。 + /// + [JsonPropertyName("asset_info")] + public string AssetInfo { get; set; } + + /// + /// 资产类型,依赖业务对接时约定的枚举值 + /// + [JsonPropertyName("asset_type")] + public string AssetType { get; set; } + + /// + /// 外部资产编号 + /// + [JsonPropertyName("out_asset_id")] + public string OutAssetId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterSubmitModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterSubmitModel.cs new file mode 100644 index 000000000..87274d828 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/AnttechBlockchainFinanceAssetRegisterSubmitModel.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// AnttechBlockchainFinanceAssetRegisterSubmitModel Data Structure. + /// + public class AnttechBlockchainFinanceAssetRegisterSubmitModel : AlipayObject + { + /// + /// 资产发现中心内部资产编号,通过apply返回 + /// + [JsonPropertyName("asset_id")] + public string AssetId { get; set; } + + /// + /// 资产类型,同apply,为直观,submit也必传。 + /// + [JsonPropertyName("asset_type")] + public string AssetType { get; set; } + + /// + /// 资产发行申请后,后续操作提交。 + /// + [JsonPropertyName("operate")] + public string Operate { get; set; } + + /// + /// 提交的数据,根据operate不同而不同 + /// + [JsonPropertyName("submit_data")] + public string SubmitData { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/Appinfos.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/Appinfos.cs new file mode 100644 index 000000000..aab7f0b48 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/Appinfos.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// Appinfos Data Structure. + /// + public class Appinfos : AlipayObject + { + /// + /// 小程序名称 + /// + [JsonPropertyName("app_name")] + public string AppName { get; set; } + + /// + /// 小程序类型 + /// + [JsonPropertyName("app_type")] + public long AppType { get; set; } + + /// + /// 小程序id + /// + [JsonPropertyName("mini_app_id")] + public long MiniAppId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityFundInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityFundInfo.cs new file mode 100644 index 000000000..21e7b2c2f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityFundInfo.cs @@ -0,0 +1,76 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// BFActivityFundInfo Data Structure. + /// + public class BFActivityFundInfo : AlipayObject + { + /// + /// 计收费主体是否激活 + /// + [JsonPropertyName("activity")] + public bool Activity { get; set; } + + /// + /// 老场景 活动模板ID + /// + [JsonPropertyName("aggr_id")] + public string AggrId { get; set; } + + /// + /// 签署的贴息协议ID + /// + [JsonPropertyName("agreement_id")] + public string AgreementId { get; set; } + + /// + /// 收费产品码 + /// + [JsonPropertyName("charge_code")] + public string ChargeCode { get; set; } + + /// + /// 老场景 活动ID + /// + [JsonPropertyName("key")] + public string Key { get; set; } + + /// + /// 计收费减收配置ID + /// + [JsonPropertyName("platform_subsidy_id")] + public string PlatformSubsidyId { get; set; } + + /// + /// bigdecimal subsidyMode=rate 表示折扣值 eg: 0.5 表示承担50% + /// + [JsonPropertyName("ratio")] + public string Ratio { get; set; } + + /// + /// rate:折扣,fixed:定额扣减 + /// + [JsonPropertyName("subsidy_mode")] + public string SubsidyMode { get; set; } + + /// + /// 贴息商户ID + /// + [JsonPropertyName("subsidy_user")] + public string SubsidyUser { get; set; } + + /// + /// 期数信息 + /// + [JsonPropertyName("term")] + public string Term { get; set; } + + /// + /// 计收费主体类型 + /// + [JsonPropertyName("type")] + public string Type { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiInfo.cs new file mode 100644 index 000000000..7e1cbf4fe --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiInfo.cs @@ -0,0 +1,83 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// BFActivityOpenApiInfo Data Structure. + /// + public class BFActivityOpenApiInfo : AlipayObject + { + /// + /// 活动收费配置信息 + /// + [JsonPropertyName("activity_fund_infos")] + public List ActivityFundInfos { get; set; } + + /// + /// 活动模板ID + /// + [JsonPropertyName("aggr_id")] + public string AggrId { get; set; } + + /// + /// true 有效活动/false 失效活动 + /// + [JsonPropertyName("available")] + public bool Available { get; set; } + + /// + /// 开始期 + /// + [JsonPropertyName("gmt_active")] + public string GmtActive { get; set; } + + /// + /// 时间类型 + /// + [JsonPropertyName("gmt_create")] + public string GmtCreate { get; set; } + + /// + /// 有效期 + /// + [JsonPropertyName("gmt_expired")] + public string GmtExpired { get; set; } + + /// + /// 活动ID + /// + [JsonPropertyName("id")] + public string Id { get; set; } + + /// + /// 名称 + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// 商户ID + /// + [JsonPropertyName("partner_id")] + public string PartnerId { get; set; } + + /// + /// 活动码信息 + /// + [JsonPropertyName("pc_id")] + public string PcId { get; set; } + + /// + /// 权益产品码 + /// + [JsonPropertyName("product_id")] + public string ProductId { get; set; } + + /// + /// 活动费率的版本信息 + /// + [JsonPropertyName("rate_version")] + public string RateVersion { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiResult.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiResult.cs new file mode 100644 index 000000000..4b67dfb0f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/BFActivityOpenApiResult.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// BFActivityOpenApiResult Data Structure. + /// + public class BFActivityOpenApiResult : AlipayObject + { + /// + /// 活动信息 + /// + [JsonPropertyName("activity_infos")] + public List ActivityInfos { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CampaignExtInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CampaignExtInfo.cs new file mode 100644 index 000000000..7f6ed3901 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CampaignExtInfo.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// CampaignExtInfo Data Structure. + /// + public class CampaignExtInfo : AlipayObject + { + /// + /// 用户不活跃间隔时间,当用户集点满足阙值且满足不活跃间隔时间后,发送召回通知 + /// + [JsonPropertyName("interval_time")] + public string IntervalTime { get; set; } + + /// + /// 集点阈值,即当用户集点进度达到阙值后才会根据间隔时间下发召回唤醒 + /// + [JsonPropertyName("threshold")] + public string Threshold { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateDTO.cs new file mode 100644 index 000000000..d9947a2ec --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateDTO.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// CaptureCreateDTO Data Structure. + /// + public class CaptureCreateDTO : AlipayObject + { + /// + /// 请款单号 + /// + [JsonPropertyName("capture_no")] + public string CaptureNo { get; set; } + + /// + /// 外部业务请求号 + /// + [JsonPropertyName("out_biz_no")] + public string OutBizNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateOrder.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateOrder.cs new file mode 100644 index 000000000..04666ee7e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CaptureCreateOrder.cs @@ -0,0 +1,95 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// CaptureCreateOrder Data Structure. + /// + public class CaptureCreateOrder : AlipayObject + { + /// + /// 合约号 + /// + [JsonPropertyName("ar_no")] + public string ArNo { get; set; } + + /// + /// 合约体系: IARCORE - ipay合约中心 MYBKARCORE - 网商产品中心 ARCORE - 主站合约 中心 OTHER - 其他合约中心 + /// + [JsonPropertyName("ar_source")] + public string ArSource { get; set; } + + /// + /// 业务扩展类型 当前大量的业务系统采取复用产品码的方案,需要额外的业务识别才能够明确业务 + /// + [JsonPropertyName("business_recognize_ext")] + public MapParameter BusinessRecognizeExt { get; set; } + + /// + /// 请款金额 + /// + [JsonPropertyName("capture_amount")] + public MultiCurrencyMoneyOpenApi CaptureAmount { get; set; } + + /// + /// 请款时间(yyyymmdd) + /// + [JsonPropertyName("capture_date")] + public string CaptureDate { get; set; } + + /// + /// 扩展信息 + /// + [JsonPropertyName("ext_info")] + public List ExtInfo { get; set; } + + /// + /// 核算所属机构 + /// + [JsonPropertyName("inst_id")] + public string InstId { get; set; } + + /// + /// 请款MID + /// + [JsonPropertyName("ip_id")] + public string IpId { get; set; } + + /// + /// 请款PID + /// + [JsonPropertyName("ip_role_id")] + public string IpRoleId { get; set; } + + /// + /// 外部业务请求号,用于幂等控制 + /// + [JsonPropertyName("out_biz_no")] + public string OutBizNo { get; set; } + + /// + /// 端产品码 + /// + [JsonPropertyName("pd_code")] + public string PdCode { get; set; } + + /// + /// 产品体系: IPTCORE -ipay产品中心 MYBKPTCORE - 网商产品中心 PTCORE - 主站产品中心 AFC - 金融云产品中心 + /// + [JsonPropertyName("pd_source")] + public string PdSource { get; set; } + + /// + /// 调用方系统名称 + /// + [JsonPropertyName("source")] + public string Source { get; set; } + + /// + /// 用户体系: ICIF - ipay用户体系 MYBKCIF - 网商银行用户体系 CIF - 主站用户体系 UC - 金融云用户体系 + /// + [JsonPropertyName("user_source")] + public string UserSource { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ClassRateInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ClassRateInfo.cs new file mode 100644 index 000000000..aacf53426 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ClassRateInfo.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ClassRateInfo Data Structure. + /// + public class ClassRateInfo : AlipayObject + { + /// + /// 汇率等级有两种 1.权益等级汇率: - diamond(钻石权益) - platinum(铂金权益) - others(无权益) 2.会员等级汇率: - diamond(钻石会员) - platinum(铂金会员) - golden(黄金会员) - primary(大众会员) + /// + [JsonPropertyName("grade")] + public string Grade { get; set; } + + /// + /// 汇率等级描述 + /// + [JsonPropertyName("grade_desc")] + public string GradeDesc { get; set; } + + /// + /// 汇率值 + /// + [JsonPropertyName("rate")] + public string Rate { get; set; } + + /// + /// 汇率金额,单位元 + /// + [JsonPropertyName("rate_amount")] + public string RateAmount { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CloudbusUserInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CloudbusUserInfo.cs new file mode 100644 index 000000000..4c02b78e7 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CloudbusUserInfo.cs @@ -0,0 +1,58 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// CloudbusUserInfo Data Structure. + /// + public class CloudbusUserInfo : AlipayObject + { + /// + /// 小孩 + /// + [JsonPropertyName("age_chrild")] + public long AgeChrild { get; set; } + + /// + /// 中年人 + /// + [JsonPropertyName("age_mider")] + public long AgeMider { get; set; } + + /// + /// 老年人 + /// + [JsonPropertyName("age_older")] + public long AgeOlder { get; set; } + + /// + /// 年前人 + /// + [JsonPropertyName("age_youth")] + public long AgeYouth { get; set; } + + /// + /// 男性人数 + /// + [JsonPropertyName("sex_man")] + public long SexMan { get; set; } + + /// + /// 女性人数 + /// + [JsonPropertyName("sex_woman")] + public long SexWoman { get; set; } + + /// + /// 上班族 + /// + [JsonPropertyName("w_officer")] + public long WOfficer { get; set; } + + /// + /// 非上班族 + /// + [JsonPropertyName("w_unofficer")] + public long WUnofficer { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ConfirmReceivableDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ConfirmReceivableDTO.cs new file mode 100644 index 000000000..cb05bcba8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ConfirmReceivableDTO.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ConfirmReceivableDTO Data Structure. + /// + public class ConfirmReceivableDTO : AlipayObject + { + /// + /// 确认模式,支持ONE_TIME和BY_STRATEGY + /// + [JsonPropertyName("confirm_model")] + public string ConfirmModel { get; set; } + + /// + /// 请求时的业务单号 + /// + [JsonPropertyName("out_biz_no")] + public string OutBizNo { get; set; } + + /// + /// 应收确认单号 + /// + [JsonPropertyName("receivable_no")] + public string ReceivableNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerAttachmentsSyncrequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerAttachmentsSyncrequest.cs new file mode 100644 index 000000000..4347d5cb6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerAttachmentsSyncrequest.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ContractManagerAttachmentsSyncrequest Data Structure. + /// + public class ContractManagerAttachmentsSyncrequest : AlipayObject + { + /// + /// 附件fileId + /// + [JsonPropertyName("file_id")] + public string FileId { get; set; } + + /// + /// 附件名称 + /// + [JsonPropertyName("file_name")] + public string FileName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerParticipantsSyncRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerParticipantsSyncRequest.cs new file mode 100644 index 000000000..3d2ac4c05 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerParticipantsSyncRequest.cs @@ -0,0 +1,53 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ContractManagerParticipantsSyncRequest Data Structure. + /// + public class ContractManagerParticipantsSyncRequest : AlipayObject + { + /// + /// 参与人名称 + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// 参与人主体名称 + /// + [JsonPropertyName("principal_name")] + public string PrincipalName { get; set; } + + /// + /// 参与人主体类型:1-个人,2-企业 + /// + [JsonPropertyName("principal_type")] + public string PrincipalType { get; set; } + + /// + /// 用户角色, 1-发起人,2-签署人,3-抄送人 + /// + [JsonPropertyName("role")] + public string Role { get; set; } + + /// + /// 签署状态, 0-待签, 1-未签, 2-已签 3-待审批 4-拒签 5-无需签署 + /// + [JsonPropertyName("sign_status")] + public string SignStatus { get; set; } + + /// + /// 签署时间 + /// + [JsonPropertyName("sign_time")] + public string SignTime { get; set; } + + /// + /// 支付宝账号Id,数组关联多个支付宝账号 (如果未注册支付宝账号 则为空) + /// + [JsonPropertyName("user_ids")] + public List UserIds { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerProcessSyncRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerProcessSyncRequest.cs new file mode 100644 index 000000000..860fe57e8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerProcessSyncRequest.cs @@ -0,0 +1,95 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ContractManagerProcessSyncRequest Data Structure. + /// + public class ContractManagerProcessSyncRequest : AlipayObject + { + /// + /// 签署文档内容摘要 + /// + [JsonPropertyName("abstract_content")] + public string AbstractContent { get; set; } + + /// + /// 流程附件 + /// + [JsonPropertyName("attachments")] + public List Attachments { get; set; } + + /// + /// 流程主题 + /// + [JsonPropertyName("business_scene")] + public string BusinessScene { get; set; } + + /// + /// 合同截止时间(从签署文档中分析得到的数据) + /// + [JsonPropertyName("contract_deadline_time")] + public string ContractDeadlineTime { get; set; } + + /// + /// 流程结束时间 + /// + [JsonPropertyName("flow_end_time")] + public string FlowEndTime { get; set; } + + /// + /// 流程Id + /// + [JsonPropertyName("flow_id")] + public string FlowId { get; set; } + + /// + /// 流程开始时间(时间戳) + /// + [JsonPropertyName("flow_start_time")] + public string FlowStartTime { get; set; } + + /// + /// 签署状态 0-草稿 1-签署中 2-完成 3-撤销 4-终止 5-过期 6-删除 7-拒签 + /// + [JsonPropertyName("flow_status")] + public string FlowStatus { get; set; } + + /// + /// 0-正式合同 1-活动文件(运营类活动文件 如情人节活动、防疫公约) + /// + [JsonPropertyName("flow_type")] + public string FlowType { get; set; } + + /// + /// 商家Id + /// + [JsonPropertyName("merchant_id")] + public string MerchantId { get; set; } + + /// + /// 参与人信息 + /// + [JsonPropertyName("participants")] + public List Participants { get; set; } + + /// + /// 签署合同的截止时间 + /// + [JsonPropertyName("sign_deadline_time")] + public string SignDeadlineTime { get; set; } + + /// + /// 签署文档 + /// + [JsonPropertyName("sign_docs")] + public List SignDocs { get; set; } + + /// + /// 标签 + /// + [JsonPropertyName("tags")] + public List Tags { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerSignDocsRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerSignDocsRequest.cs new file mode 100644 index 000000000..414b625ae --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ContractManagerSignDocsRequest.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ContractManagerSignDocsRequest Data Structure. + /// + public class ContractManagerSignDocsRequest : AlipayObject + { + /// + /// 签署文件fileId + /// + [JsonPropertyName("file_id")] + public string FileId { get; set; } + + /// + /// 签署文档文件 + /// + [JsonPropertyName("file_name")] + public string FileName { get; set; } + + /// + /// 签署文档总页数 + /// + [JsonPropertyName("total_page")] + public string TotalPage { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CorpEntity.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CorpEntity.cs new file mode 100644 index 000000000..f63b0c89a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CorpEntity.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// CorpEntity Data Structure. + /// + public class CorpEntity : AlipayObject + { + /// + /// 企业支付宝登录账号(邮箱或手机号) + /// + [JsonPropertyName("alipay_account")] + public string AlipayAccount { get; set; } + + /// + /// 企业统一社会信用编码 + /// + [JsonPropertyName("corp_code")] + public string CorpCode { get; set; } + + /// + /// xxx测试公司 + /// + [JsonPropertyName("corp_name")] + public string CorpName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CreditFinancePayAccountInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CreditFinancePayAccountInfo.cs new file mode 100644 index 000000000..b4dc28349 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/CreditFinancePayAccountInfo.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// CreditFinancePayAccountInfo Data Structure. + /// + public class CreditFinancePayAccountInfo : AlipayObject + { + /// + /// 账号的扩展信息,String格式的json字符串 + /// + [JsonPropertyName("account_ext")] + public string AccountExt { get; set; } + + /// + /// 支付的账号标识 + /// + [JsonPropertyName("identity")] + public string Identity { get; set; } + + /// + /// 支付宝唯一标识的类型 ENTRUST_ACCOUNT USER_ID + /// + [JsonPropertyName("identity_type")] + public string IdentityType { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/DefaultSettleRule.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/DefaultSettleRule.cs new file mode 100644 index 000000000..4e8ec0a5f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/DefaultSettleRule.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// DefaultSettleRule Data Structure. + /// + public class DefaultSettleRule : AlipayObject + { + /// + /// 默认结算目标。当默认结算类型为NONE时可不填;当默认结算类型为bankCard时填写银行卡卡号,其值需在进件填写的结算银行卡范围内;当默认结算类型为alipayAccount时填写支付宝账号登录号,其值需在进件填写的结算支付宝账号范围内。 + /// + [JsonPropertyName("default_settle_target")] + public string DefaultSettleTarget { get; set; } + + /// + /// 默认结算类型,可选值有NONE/bankCard/alipayAccount。NONE标识无默认结算规则,设置NONE和不设置本对象效果一致;bankCard表示结算到银行卡;alipayAccount表示结算到支付宝账号 + /// + [JsonPropertyName("default_settle_type")] + public string DefaultSettleType { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/EinvTrade.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/EinvTrade.cs new file mode 100644 index 000000000..c1b35a085 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/EinvTrade.cs @@ -0,0 +1,64 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// EinvTrade Data Structure. + /// + public class EinvTrade : AlipayObject + { + /// + /// 账单明细信息,酒店水单信息,行程单信息,餐饮小票信息 + /// + [JsonPropertyName("detail_json")] + public string DetailJson { get; set; } + + /// + /// 扩展参数 不同组的k-v通过换行符区分 + /// + [JsonPropertyName("extend_map")] + public string ExtendMap { get; set; } + + /// + /// 商家名称(显示名称,非企业名称,餐饮店、酒店、打车平台名称) + /// + [JsonPropertyName("merchant_name")] + public string MerchantName { get; set; } + + /// + /// 透传字段,不做处理,用于isv向后续报销税控方传递特殊信息标记 + /// + [JsonPropertyName("out_json")] + public string OutJson { get; set; } + + /// + /// 销方名称 + /// + [JsonPropertyName("payee_name")] + public string PayeeName { get; set; } + + /// + /// 支付金额 对应账单中的交易金额 + /// + [JsonPropertyName("payment_amount")] + public string PaymentAmount { get; set; } + + /// + /// 支付时间 对应账单中的账单日期 + /// + [JsonPropertyName("payment_time")] + public string PaymentTime { get; set; } + + /// + /// 交易类型来源 需要按照枚举映射 consume 账单 hotel 酒店水单 itinerary 打车行程单 catering 餐饮小票 + /// + [JsonPropertyName("souce")] + public string Souce { get; set; } + + /// + /// 交易类型/账单分类 + /// + [JsonPropertyName("trade_type")] + public string TradeType { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixCooperationDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixCooperationDTO.cs new file mode 100644 index 000000000..73794f558 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixCooperationDTO.cs @@ -0,0 +1,58 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// FixCooperationDTO Data Structure. + /// + public class FixCooperationDTO : AlipayObject + { + /// + /// 协作任务的处理结论 + /// + [JsonPropertyName("conclusion")] + public string Conclusion { get; set; } + + /// + /// 协作任务的唯一id + /// + [JsonPropertyName("cooperation_id")] + public long CooperationId { get; set; } + + /// + /// 协作任务的处理完成时间。 + /// + [JsonPropertyName("deal_time")] + public string DealTime { get; set; } + + /// + /// 协作任务的处理说明 + /// + [JsonPropertyName("description")] + public string Description { get; set; } + + /// + /// 实际处理人的名称 + /// + [JsonPropertyName("duty_owner_name")] + public string DutyOwnerName { get; set; } + + /// + /// 协作任务的创建时间 + /// + [JsonPropertyName("gmt_create")] + public string GmtCreate { get; set; } + + /// + /// 协作任务的处理方公司名 + /// + [JsonPropertyName("owner_name")] + public string OwnerName { get; set; } + + /// + /// 协作任务的处理结果 + /// + [JsonPropertyName("result")] + public string Result { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixExtData.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixExtData.cs new file mode 100644 index 000000000..b5df24185 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixExtData.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// FixExtData Data Structure. + /// + public class FixExtData : AlipayObject + { + /// + /// 生态协同平台中,扩展信息的key + /// + [JsonPropertyName("key")] + public string Key { get; set; } + + /// + /// 生态协同平台中,扩展信息的值 + /// + [JsonPropertyName("value")] + public string Value { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixFileInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixFileInfo.cs new file mode 100644 index 000000000..b993bba45 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixFileInfo.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// FixFileInfo Data Structure. + /// + public class FixFileInfo : AlipayObject + { + /// + /// 附件的下载地址 + /// + [JsonPropertyName("download_url")] + public string DownloadUrl { get; set; } + + /// + /// 文件的id + /// + [JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// 文件名称 + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// 文件类型。枚举,image:图片;video:视频 + /// + [JsonPropertyName("type")] + public string Type { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixProblemDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixProblemDTO.cs new file mode 100644 index 000000000..f39590db7 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/FixProblemDTO.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// FixProblemDTO Data Structure. + /// + public class FixProblemDTO : AlipayObject + { + /// + /// 问题的唯一id + /// + [JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// 问题类型的一级分类 + /// + [JsonPropertyName("problem_level_1")] + public string ProblemLevel1 { get; set; } + + /// + /// 问题类型的二级分类 + /// + [JsonPropertyName("problem_level_2")] + public string ProblemLevel2 { get; set; } + + /// + /// 问题类型的三级分类 + /// + [JsonPropertyName("problem_level_3")] + public string ProblemLevel3 { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/GoodsDetailInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/GoodsDetailInfo.cs new file mode 100644 index 000000000..083ca34d3 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/GoodsDetailInfo.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// GoodsDetailInfo Data Structure. + /// + public class GoodsDetailInfo : AlipayObject + { + /// + /// 商品的编号 + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// 商品名称 + /// + [JsonPropertyName("goods_name")] + public string GoodsName { get; set; } + + /// + /// 商品单位 + /// + [JsonPropertyName("goods_unit")] + public string GoodsUnit { get; set; } + + /// + /// 商品数量 + /// + [JsonPropertyName("quantity")] + public string Quantity { get; set; } + + /// + /// 商品单价,单位元 + /// + [JsonPropertyName("unit_price")] + public string UnitPrice { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/IgAuthQuota.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/IgAuthQuota.cs new file mode 100644 index 000000000..4efb41bfd --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/IgAuthQuota.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// IgAuthQuota Data Structure. + /// + public class IgAuthQuota : AlipayObject + { + /// + /// 份额数量 + /// + [JsonPropertyName("quota_count")] + public long QuotaCount { get; set; } + + /// + /// 周期类型 + /// + [JsonPropertyName("range_type")] + public string RangeType { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/InvoiceElementModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/InvoiceElementModel.cs index a1dfc9f78..96e06e98a 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/InvoiceElementModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/InvoiceElementModel.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 { @@ -120,5 +121,17 @@ public class InvoiceElementModel : AlipayObject /// [JsonPropertyName("pdf_url")] public string PdfUrl { get; set; } + + /// + /// 该发票对应的交易 + /// + [JsonPropertyName("trade_list")] + public List TradeList { get; set; } + + /// + /// 交易匹配结果 match-匹配到 noMatched-未匹配到 notMatch-未做匹配 + /// + [JsonPropertyName("trade_match_result")] + public string TradeMatchResult { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbGoodsInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbGoodsInfo.cs new file mode 100644 index 000000000..7d0f3ed68 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbGoodsInfo.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbGoodsInfo Data Structure. + /// + public class KbGoodsInfo : AlipayObject + { + /// + /// 商品类目 + /// + [JsonPropertyName("goods_category")] + public string GoodsCategory { get; set; } + + /// + /// 商品ID + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// 商品名称 + /// + [JsonPropertyName("goods_name")] + public string GoodsName { get; set; } + + /// + /// 价格 + /// + [JsonPropertyName("price")] + public string Price { get; set; } + + /// + /// 数量 + /// + [JsonPropertyName("quantity")] + public string Quantity { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbPosOrderDishDetail.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbPosOrderDishDetail.cs index 89cfe6cfa..1793cbad8 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbPosOrderDishDetail.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbPosOrderDishDetail.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 { @@ -127,6 +128,12 @@ public class KbPosOrderDishDetail : AlipayObject [JsonPropertyName("out_detail_no")] public string OutDetailNo { get; set; } + /// + /// 当前菜为单品菜时,为对应的sku外部ID 当前菜为加料时,为对应的加料的外部ID + /// + [JsonPropertyName("outer_id")] + public string OuterId { get; set; } + /// /// 做法信息,格式按照:做法1,做法2,对于有一般销售属性的菜会拼接一般销售属性信息,格式为:做法1,做法2,销售属性1,销售属性2 /// @@ -163,6 +170,12 @@ public class KbPosOrderDishDetail : AlipayObject [JsonPropertyName("sales_properties")] public string SalesProperties { get; set; } + /// + /// 销售属性的扩展 + /// + [JsonPropertyName("sales_properties_ext")] + public List SalesPropertiesExt { get; set; } + /// /// 售价(单价),以元为单位,精度到分 /// @@ -187,6 +200,12 @@ public class KbPosOrderDishDetail : AlipayObject [JsonPropertyName("spec_name")] public string SpecName { get; set; } + /// + /// 规格名称扩展信息 + /// + [JsonPropertyName("spec_name_ext")] + public List SpecNameExt { get; set; } + /// /// 菜明细类型,SINGLE(单品)/SIDE(加料)/COMBO(套餐)/COMBO(套餐内单品) /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopCategoryDishInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopCategoryDishInfo.cs new file mode 100644 index 000000000..375cb7415 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopCategoryDishInfo.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbVirtualShopCategoryDishInfo Data Structure. + /// + public class KbVirtualShopCategoryDishInfo : AlipayObject + { + /// + /// 口碑菜品id + /// + [JsonPropertyName("dish_id")] + public string DishId { get; set; } + + /// + /// 拓展信息 + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 菜品在虚拟类目中的排序值 + /// + [JsonPropertyName("sort")] + public string Sort { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopInfo.cs new file mode 100644 index 000000000..c1d64a853 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbVirtualShopInfo.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbVirtualShopInfo Data Structure. + /// + public class KbVirtualShopInfo : AlipayObject + { + /// + /// 门店信息 + /// + [JsonPropertyName("catetory_list")] + public List CatetoryList { get; set; } + + /// + /// 口碑门店id + /// + [JsonPropertyName("shop_id")] + public string ShopId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupDetailInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupDetailInfo.cs new file mode 100644 index 000000000..fe3e5b258 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupDetailInfo.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishCommGroupDetailInfo Data Structure. + /// + public class KbdishCommGroupDetailInfo : AlipayObject + { + /// + /// 明细描述;加料以本身的描述为准,该字段不生效 + /// + [JsonPropertyName("detail_desc")] + public string DetailDesc { get; set; } + + /// + /// 存明细的业务id,如果是加料组传入加料id,如果是属性组明细id由口碑生成;更新、删除明细时必填 + /// + [JsonPropertyName("detail_id")] + public string DetailId { get; set; } + + /// + /// 明细名称;加料以本身的名称为准,该字段不生效 + /// + [JsonPropertyName("detail_name")] + public string DetailName { get; set; } + + /// + /// 扩展透穿 + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 图片id;加料以本身的图片id为准,该字段不生效 + /// + [JsonPropertyName("image_id")] + public string ImageId { get; set; } + + /// + /// 外部isv的明细id;加料以本身的外部id为准,该字段不生效 + /// + [JsonPropertyName("out_detail_id")] + public string OutDetailId { get; set; } + + /// + /// 通用组的组明细之间的排序 + /// + [JsonPropertyName("sort")] + public string Sort { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupInfo.cs new file mode 100644 index 000000000..262a6fb7a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommGroupInfo.cs @@ -0,0 +1,71 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishCommGroupInfo Data Structure. + /// + public class KbdishCommGroupInfo : AlipayObject + { + /// + /// 通用组id 口碑生成;新增时非必填 + /// + [JsonPropertyName("comm_group_id")] + public string CommGroupId { get; set; } + + /// + /// 创建人 + /// + [JsonPropertyName("create_user")] + public string CreateUser { get; set; } + + /// + /// 扩展字段,用户扩展字段的透出填写,不做约束 + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 组描述 + /// + [JsonPropertyName("group_desc")] + public string GroupDesc { get; set; } + + /// + /// 组的名称,标示一个组的中文,可重复 + /// + [JsonPropertyName("group_name")] + public string GroupName { get; set; } + + /// + /// materialGroup 加料组 propertyGroup 属性组 + /// + [JsonPropertyName("group_type")] + public string GroupType { get; set; } + + /// + /// 组明细列表 + /// + [JsonPropertyName("kbdish_comm_group_detail_info_list")] + public List KbdishCommGroupDetailInfoList { get; set; } + + /// + /// 商户id + /// + [JsonPropertyName("merchant_id")] + public string MerchantId { get; set; } + + /// + /// 修改人 + /// + [JsonPropertyName("update_user")] + public string UpdateUser { get; set; } + + /// + /// 组在口碑C端展示的样式,枚举如下: list:明细以列表展示 select:每行展示3个明细;对于加料,选中明细时,份数默认为1份,不能调整 selectWithAdjust:每行展示3个明细;对于加料选中明细时,在份数区块可以进行份数调整 listWithCheckBox:明细以列表的方式展示,带有勾选框 + /// + [JsonPropertyName("view_tag")] + public string ViewTag { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleInfo.cs new file mode 100644 index 000000000..3395cdfdb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleInfo.cs @@ -0,0 +1,71 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishCommRuleInfo Data Structure. + /// + public class KbdishCommRuleInfo : AlipayObject + { + /// + /// 口碑菜品id/口碑skuId/规格的specId,需要和type一一对应 + /// + [JsonPropertyName("biz_id")] + public string BizId { get; set; } + + /// + /// 绑定的组id + /// + [JsonPropertyName("comm_group_id")] + public string CommGroupId { get; set; } + + /// + /// 创建人 + /// + [JsonPropertyName("create_user")] + public string CreateUser { get; set; } + + /// + /// 口碑定制组明细id + /// + [JsonPropertyName("group_detail_id")] + public string GroupDetailId { get; set; } + + /// + /// 商户的id,可不传 + /// + [JsonPropertyName("merchant_id")] + public string MerchantId { get; set; } + + /// + /// 规则id,口碑系统生成, 如果是新增操作,设置为空. 如果是修改,可以根据rule_id来修改,也可以根据 biz_id+rule_type+comm_group_id+group_detail_id 来操作 + /// + [JsonPropertyName("rule_id")] + public string RuleId { get; set; } + + /// + /// 口碑规则定制类型 DISH_PROPERTY_GROUP:菜品属性组 SKU_MATERIAL_GROUP:sku加料组 DISH_PROPERTY_DETAIL:菜品属性明细 SKU_MATERIAL_DETAIL:sku加料明细 DISH_SPEC_GROUP:菜品规格组 DISH_SPEC_DETAIL:菜品规格组标签 + /// + [JsonPropertyName("rule_type")] + public string RuleType { get; set; } + + /// + /// 规则列表 + /// + [JsonPropertyName("show_rule_list")] + public List ShowRuleList { get; set; } + + /// + /// 同步类型: add 新增;update 修改;del 删除 + /// + [JsonPropertyName("syn_type")] + public string SynType { get; set; } + + /// + /// 修改人 + /// + [JsonPropertyName("update_user")] + public string UpdateUser { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleShowInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleShowInfo.cs new file mode 100644 index 000000000..1b36fe793 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCommRuleShowInfo.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishCommRuleShowInfo Data Structure. + /// + public class KbdishCommRuleShowInfo : AlipayObject + { + /// + /// 规则扩展 + /// + [JsonPropertyName("tag_ext_info")] + public string TagExtInfo { get; set; } + + /// + /// 键值如下: 组维度的规则: minLimit:组最小选择份数 maxLimit:组最大选择份数 required:是否必选 selectNum:可选选项数量,默认不限制 fold:是否折叠到进阶选择里 change: 是否可以置换 明细维度的规则: minLimit:明细最小选择份数 maxLimit:明细最大选择份数 addPrice:加价 addPriceStep:加价步长,默认为1 defaultNum:默认份数 default:是否默认 required:是否必选 规格组维度的规则: default: 是否默认 规则标签明细的规则: default: 是否默认 sort: 排序值 hidden:是否隐藏 + /// + [JsonPropertyName("tag_name")] + public string TagName { get; set; } + + /// + /// 规则值 数字 或者是否 , 数字 或者true/false + /// + [JsonPropertyName("tag_value")] + public string TagValue { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCookCateTopInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCookCateTopInfo.cs new file mode 100644 index 000000000..8b2a75deb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishCookCateTopInfo.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishCookCateTopInfo Data Structure. + /// + public class KbdishCookCateTopInfo : AlipayObject + { + /// + /// 口碑类目id + /// + [JsonPropertyName("catetory_id")] + public string CatetoryId { get; set; } + + /// + /// 菜谱id + /// + [JsonPropertyName("cook_id")] + public string CookId { get; set; } + + /// + /// 创建人 + /// + [JsonPropertyName("create_user")] + public string CreateUser { get; set; } + + /// + /// 操作类型 top:置顶 cancelTop:取消置顶 + /// + [JsonPropertyName("oper_type")] + public string OperType { get; set; } + + /// + /// 修改人 + /// + [JsonPropertyName("update_user")] + public string UpdateUser { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishDictionary.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishDictionary.cs index 358eebd0f..ad06bad84 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishDictionary.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishDictionary.cs @@ -14,13 +14,13 @@ public class KbdishDictionary : AlipayObject public string CreateUser { get; set; } /// - /// 字典的数据id + /// 字典的数据id sync_type=update、stateChange和del时必填 /// [JsonPropertyName("dictionary_id")] public string DictionaryId { get; set; } /// - /// 字典的扩展json,根据不同的biz_type,设置商家的自定义字典表key以及value。如果字典类型为catetory, key为cateSort,cateType,level,parentCatetoryId(level传数字,cateType为dish或cook) ;如果字典类型为spec, key为specSort.。注意:如果是字符串拼接的方式,转移符\要替换为\\\ 。 + /// 字典的扩展json,根据不同的biz_type,设置商家的自定义字典表key以及value。 如果字典类型为virtual_catetory和category一样的结构,并新增shopId和outDictionaryId,level只支持1 如果字典类型为catetory,key为cateSort(排序),level(层级,数字表示),parentCatetoryId(父类目id),cateType(dish或cook, 新增virtual表示虚拟类目定制),outDictionaryId(isv侧字典id); 如果字典类型为spec,key为specSort(排序),capacity(容量,如400ml),imageId(图片),desc(描述),viewTag(样式定制,杯型:杯型:ONE_ROW_THREE_COLUMN_WITH_PICTURE;温度:ONE_ROW_THREE_COLUMN;咖啡豆:PICTURE_TILE), upName(规格分类显示,如杯型),outDictionaryId。 注意: 如果是字符串拼接的方式,转移符\要替换为\\\ 。 /// [JsonPropertyName("ext_info")] public string ExtInfo { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishInfo.cs index c9e3b126a..16d8d11d4 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishInfo.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishInfo.cs @@ -50,6 +50,12 @@ public class KbdishInfo : AlipayObject [JsonPropertyName("dish_cuisine")] public string DishCuisine { get; set; } + /// + /// 菜品详情页图片id,展示在菜品详情页中;最多支持10张图片 + /// + [JsonPropertyName("dish_detail_img_list")] + public List DishDetailImgList { get; set; } + /// /// 口碑的菜品id, 新增操作可以为空,修改的时候必传 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishMaterialInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishMaterialInfo.cs index 3c9251bd4..0b8afd6cc 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishMaterialInfo.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishMaterialInfo.cs @@ -25,6 +25,12 @@ public class KbdishMaterialInfo : AlipayObject [JsonPropertyName("ext_info")] public string ExtInfo { get; set; } + /// + /// 加料的描述字段 + /// + [JsonPropertyName("material_desc")] + public string MaterialDesc { get; set; } + /// /// 加料id,加料的唯一标识。 新增时该项不用传,修改删除时必传。 /// @@ -61,12 +67,24 @@ public class KbdishMaterialInfo : AlipayObject [JsonPropertyName("merchant_id")] public string MerchantId { get; set; } + /// + /// 外部isv的加料id + /// + [JsonPropertyName("out_material_id")] + public string OutMaterialId { get; set; } + /// /// 公共字段,根据materialType的类型,这里填入商户id或者口碑门店id。 /// [JsonPropertyName("public_id")] public string PublicId { get; set; } + /// + /// 加料的单位id + /// + [JsonPropertyName("unit_id")] + public string UnitId { get; set; } + /// /// 修改人,在新增和修改,删除时必传 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSkuInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSkuInfo.cs index 4218bd9df..2525c843e 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSkuInfo.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSkuInfo.cs @@ -51,7 +51,7 @@ public class KbdishSkuInfo : AlipayObject public string SellPrice { get; set; } /// - /// sku的扩展字典,json字符串 + /// sku的扩展字典,json字符串,注意: 如果是字符串拼接的方式,转移符\要替换为\\\ 。星巴克定制设置成{\"default\":\"true\"}, 一个菜下的sku只允许一个默认设置 /// [JsonPropertyName("sku_ext_content")] public string SkuExtContent { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroup.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroup.cs new file mode 100644 index 000000000..eaf1993f2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroup.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishSpecGroup Data Structure. + /// + public class KbdishSpecGroup : AlipayObject + { + /// + /// 规格标签明细 + /// + [JsonPropertyName("spec_detail_list")] + public List SpecDetailList { get; set; } + + /// + /// 规格组id, 热组 冷组 去冰组 + /// + [JsonPropertyName("spec_id")] + public string SpecId { get; set; } + + /// + /// 规格组的名称 + /// + [JsonPropertyName("spec_name")] + public string SpecName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroupDetail.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroupDetail.cs new file mode 100644 index 000000000..f7a72fee7 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishSpecGroupDetail.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishSpecGroupDetail Data Structure. + /// + public class KbdishSpecGroupDetail : AlipayObject + { + /// + /// 规格标签id + /// + [JsonPropertyName("spec_id")] + public string SpecId { get; set; } + + /// + /// 规格标签的名称 + /// + [JsonPropertyName("spec_name")] + public string SpecName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualCategoryInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualCategoryInfo.cs new file mode 100644 index 000000000..1fff8bb48 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualCategoryInfo.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishVirtualCategoryInfo Data Structure. + /// + public class KbdishVirtualCategoryInfo : AlipayObject + { + /// + /// 虚拟类目id + /// + [JsonPropertyName("catetory_id")] + public string CatetoryId { get; set; } + + /// + /// 口碑菜品列表 + /// + [JsonPropertyName("dish_list")] + public List DishList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualDishInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualDishInfo.cs new file mode 100644 index 000000000..2c64bddff --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KbdishVirtualDishInfo.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KbdishVirtualDishInfo Data Structure. + /// + public class KbdishVirtualDishInfo : AlipayObject + { + /// + /// 虚拟分类id + /// + [JsonPropertyName("catetory_id")] + public string CatetoryId { get; set; } + + /// + /// 创建 + /// + [JsonPropertyName("create_user")] + public string CreateUser { get; set; } + + /// + /// 菜品id + /// + [JsonPropertyName("dish_id")] + public string DishId { get; set; } + + /// + /// 扩展定制 + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 门店id + /// + [JsonPropertyName("shop_id")] + public string ShopId { get; set; } + + /// + /// 菜品在虚拟类目下的排序值 + /// + [JsonPropertyName("sort")] + public string Sort { get; set; } + + /// + /// 修改人 + /// + [JsonPropertyName("update_user")] + public string UpdateUser { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideConsultModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideConsultModel.cs new file mode 100644 index 000000000..467f8acde --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideConsultModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KoubeiServindustryPromoIntelligentguideConsultModel Data Structure. + /// + public class KoubeiServindustryPromoIntelligentguideConsultModel : AlipayObject + { + /// + /// 手机号码 + /// + [JsonPropertyName("mobile")] + public string Mobile { get; set; } + + /// + /// 口碑shopId + /// + [JsonPropertyName("shop_id")] + public string ShopId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideOrderModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideOrderModel.cs new file mode 100644 index 000000000..fe18f83e3 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiServindustryPromoIntelligentguideOrderModel.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KoubeiServindustryPromoIntelligentguideOrderModel Data Structure. + /// + public class KoubeiServindustryPromoIntelligentguideOrderModel : AlipayObject + { + /// + /// 枚举类型,目前仅支持半年(HALF_YEAR)和一年(ONE_YEAR),使用前先确认是否有相对应的份额 + /// + [JsonPropertyName("range_type")] + public string RangeType { get; set; } + + /// + /// 口碑侧门店shopId + /// + [JsonPropertyName("shop_id")] + public List ShopId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiTradeOrderAggregateConsultModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiTradeOrderAggregateConsultModel.cs new file mode 100644 index 000000000..6dce7bcbd --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiTradeOrderAggregateConsultModel.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// KoubeiTradeOrderAggregateConsultModel Data Structure. + /// + public class KoubeiTradeOrderAggregateConsultModel : AlipayObject + { + /// + /// 订单包含的商品列表信息,json格式,其它说明详见商品明细说明 + /// + [JsonPropertyName("goods_info")] + public KbGoodsInfo GoodsInfo { get; set; } + + /// + /// 外部订单号,商户下必须保持唯一,控制幂等 + /// + [JsonPropertyName("out_order_no")] + public string OutOrderNo { get; set; } + + /// + /// 口碑门店ID + /// + [JsonPropertyName("shop_id")] + public string ShopId { get; set; } + + /// + /// 订单标题,报送至支付宝或微信 + /// + [JsonPropertyName("subject")] + public string Subject { get; set; } + + /// + /// 支付超时时间;默认3m; 该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为 90m + /// + [JsonPropertyName("timeout_express")] + public string TimeoutExpress { get; set; } + + /// + /// 订单金额 + /// + [JsonPropertyName("total_amount")] + public string TotalAmount { get; set; } + + /// + /// 不可打折金额; 若不可打折金额等于订单金额,则屏蔽营销 + /// + [JsonPropertyName("un_discount_amount")] + public string UnDiscountAmount { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MerchantConfigRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MerchantConfigRequest.cs new file mode 100644 index 000000000..a283ad9a0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MerchantConfigRequest.cs @@ -0,0 +1,76 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// MerchantConfigRequest Data Structure. + /// + public class MerchantConfigRequest : AlipayObject + { + /// + /// 详情页banner跳转目标小程序appid + /// + [JsonPropertyName("banner_app_id")] + public string BannerAppId { get; set; } + + /// + /// 详情页banner图片url + /// + [JsonPropertyName("banner_image_url")] + public string BannerImageUrl { get; set; } + + /// + /// 详情页banner跳转所需参数 + /// + [JsonPropertyName("banner_page")] + public string BannerPage { get; set; } + + /// + /// 详情页banner跳转地址 + /// + [JsonPropertyName("banner_web_url")] + public string BannerWebUrl { get; set; } + + /// + /// 目标小程序appid + /// + [JsonPropertyName("jump_app_id")] + public string JumpAppId { get; set; } + + /// + /// 跳转所需参数 + /// + [JsonPropertyName("jump_page")] + public string JumpPage { get; set; } + + /// + /// 跳转地址 + /// + [JsonPropertyName("jump_web_url")] + public string JumpWebUrl { get; set; } + + /// + /// 商家联系方式 + /// + [JsonPropertyName("merchant_contact")] + public string MerchantContact { get; set; } + + /// + /// 签署平台为商家分配的应用Id + /// + [JsonPropertyName("merchant_id")] + public string MerchantId { get; set; } + + /// + /// 商家logo + /// + [JsonPropertyName("merchant_logo")] + public string MerchantLogo { get; set; } + + /// + /// 商家名称 + /// + [JsonPropertyName("merchant_name")] + public string MerchantName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdDetailResult.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdDetailResult.cs new file mode 100644 index 000000000..8b4433a17 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdDetailResult.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// MetroOdDetailResult Data Structure. + /// + public class MetroOdDetailResult : AlipayObject + { + /// + /// 返回码 + /// + [JsonPropertyName("code")] + public string Code { get; set; } + + /// + /// 结果 + /// + [JsonPropertyName("data")] + public MetroOdItem Data { get; set; } + + /// + /// 消息描述 + /// + [JsonPropertyName("message")] + public string Message { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdItem.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdItem.cs new file mode 100644 index 000000000..8b9247ad2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MetroOdItem.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// MetroOdItem Data Structure. + /// + public class MetroOdItem : AlipayObject + { + /// + /// D + /// + [JsonPropertyName("dest_geo")] + public string DestGeo { get; set; } + + /// + /// 客流 + /// + [JsonPropertyName("od")] + public long Od { get; set; } + + /// + /// 时间 + /// + [JsonPropertyName("time")] + public long Time { get; set; } + + /// + /// 结果 + /// + [JsonPropertyName("user_info")] + public CloudbusUserInfo UserInfo { get; set; } + + /// + /// 周末客流 + /// + [JsonPropertyName("week_od")] + public long WeekOd { get; set; } + + /// + /// 工作日客流 + /// + [JsonPropertyName("work_od")] + public long WorkOd { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankCreditSupplychainCreditpaySyncnameCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankCreditSupplychainCreditpaySyncnameCreateModel.cs new file mode 100644 index 000000000..ab4636de5 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankCreditSupplychainCreditpaySyncnameCreateModel.cs @@ -0,0 +1,70 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// MybankCreditSupplychainCreditpaySyncnameCreateModel Data Structure. + /// + public class MybankCreditSupplychainCreditpaySyncnameCreateModel : AlipayObject + { + /// + /// 报名时间/取消时间 + /// + [JsonPropertyName("apply_time")] + public string ApplyTime { get; set; } + + /// + /// 渠道标签 + /// + [JsonPropertyName("channel_tag")] + public string ChannelTag { get; set; } + + /// + /// 操作类型: APPLY:报名申请; CANCEL:取消报名 + /// + [JsonPropertyName("handle_type")] + public string HandleType { get; set; } + + /// + /// 营销结束时间 + /// + [JsonPropertyName("promo_end_time")] + public string PromoEndTime { get; set; } + + /// + /// 营销开始时间 + /// + [JsonPropertyName("promo_start_time")] + public string PromoStartTime { get; set; } + + /// + /// 营销类型, 长账期:LONG_TERM + /// + [JsonPropertyName("promo_type")] + public string PromoType { get; set; } + + /// + /// 营销值, 长账期:2 + /// + [JsonPropertyName("promo_value")] + public string PromoValue { get; set; } + + /// + /// 请求幂等控制ID,以isv的ipRoleId_为前缀 + /// + [JsonPropertyName("request_id")] + public string RequestId { get; set; } + + /// + /// 1688商铺ID + /// + [JsonPropertyName("scene_user_id")] + public string SceneUserId { get; set; } + + /// + /// 卖家信息 + /// + [JsonPropertyName("seller")] + public Member Seller { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NameOuterIdPair.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NameOuterIdPair.cs new file mode 100644 index 000000000..543a05f03 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NameOuterIdPair.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// NameOuterIdPair Data Structure. + /// + public class NameOuterIdPair : AlipayObject + { + /// + /// 属性或者规格的名称 + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// 外部ID + /// + [JsonPropertyName("outer_id")] + public string OuterId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NormalBusinessTimeRule.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NormalBusinessTimeRule.cs new file mode 100644 index 000000000..461a0d9d8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NormalBusinessTimeRule.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// NormalBusinessTimeRule Data Structure. + /// + public class NormalBusinessTimeRule : AlipayObject + { + /// + /// 指定月份,当为全年时,传入1,2,3,4,5,6,7,8,9,10,11,12 + /// + [JsonPropertyName("month")] + public List Month { get; set; } + + /// + /// 营业时间的时间段 + /// + [JsonPropertyName("open_time_list")] + public List OpenTimeList { get; set; } + + /// + /// 星期 + /// + [JsonPropertyName("week")] + public List Week { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NotaryFileVO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NotaryFileVO.cs new file mode 100644 index 000000000..b2efaf0b6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/NotaryFileVO.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// NotaryFileVO Data Structure. + /// + public class NotaryFileVO : AlipayObject + { + /// + /// 文件http地址 + /// + [JsonPropertyName("file_addr")] + public string FileAddr { get; set; } + + /// + /// 合同名称 + /// + [JsonPropertyName("file_name")] + public string FileName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiPassStatus.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiPassStatus.cs new file mode 100644 index 000000000..f9ba688cd --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiPassStatus.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// OpenApiPassStatus Data Structure. + /// + public class OpenApiPassStatus : AlipayObject + { + /// + /// 卡id(由固定前缀+32位数字构成) + /// + [JsonPropertyName("provisioning_bundle_identifier")] + public string ProvisioningBundleIdentifier { get; set; } + + /// + /// 卡状态 + /// + [JsonPropertyName("state")] + public string State { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiResolutionMethod.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiResolutionMethod.cs new file mode 100644 index 000000000..d79358d59 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OpenApiResolutionMethod.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// OpenApiResolutionMethod Data Structure. + /// + public class OpenApiResolutionMethod : AlipayObject + { + /// + /// Otp校验方法的标识 + /// + [JsonPropertyName("identifier")] + public string Identifier { get; set; } + + /// + /// Otp校验方法是否需要用户交互 + /// + [JsonPropertyName("requires_user_interaction")] + public bool RequiresUserInteraction { get; set; } + + /// + /// Otp校验方法类型 + /// + [JsonPropertyName("type")] + public string Type { get; set; } + + /// + /// Otp校验方法的值 + /// + [JsonPropertyName("value")] + public string Value { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OrderShopInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OrderShopInfo.cs index a7eba984b..41628bde2 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OrderShopInfo.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/OrderShopInfo.cs @@ -19,6 +19,12 @@ public class OrderShopInfo : AlipayObject [JsonPropertyName("merchant_shop_id")] public string MerchantShopId { get; set; } + /// + /// 店铺详情链接地址 + /// + [JsonPropertyName("merchant_shop_link_page")] + public string MerchantShopLinkPage { get; set; } + /// /// 店铺名称 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParamExtInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParamExtInfo.cs new file mode 100644 index 000000000..35e030b8d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParamExtInfo.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ParamExtInfo Data Structure. + /// + public class ParamExtInfo : AlipayObject + { + /// + /// 小程序地址中的参数名称,具体详见接口开发文档 + /// + [JsonPropertyName("param_name")] + public string ParamName { get; set; } + + /// + /// 小程序地址中的参数值,具体详见接口开发文档 + /// + [JsonPropertyName("param_value")] + public string ParamValue { get; set; } + + /// + /// 小程序地址中的参数类型, start:小程序的启动参数;page:小程序的页面参数。具体详见接口开发文档 + /// + [JsonPropertyName("type")] + public string Type { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParkingGoodsDetail.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParkingGoodsDetail.cs new file mode 100644 index 000000000..128d29f98 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ParkingGoodsDetail.cs @@ -0,0 +1,148 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ParkingGoodsDetail Data Structure. + /// + public class ParkingGoodsDetail : AlipayObject + { + /// + /// 1^2^3(表示周一、周二、周三),此时间与商品履约开始、结束时间取交集,如2019-01-01到2019-03-01期间的周一、周二、周三 + /// + [JsonPropertyName("arg_date_week")] + public string ArgDateWeek { get; set; } + + /// + /// "商品有效时间结束时间,此时间属于日范围内结束时间,如果 结束时间小于开始时间,则默认跨天" + /// + [JsonPropertyName("arg_end_time")] + public string ArgEndTime { get; set; } + + /// + /// 商品有效时间开始时间,此时间属于日范围内开始时间 + /// + [JsonPropertyName("arg_start_time")] + public string ArgStartTime { get; set; } + + /// + /// 业务参数 json + /// + [JsonPropertyName("biz_data")] + public string BizData { get; set; } + + /// + /// 商品可购买结束日期,截止此时间次日0点(针对日租),会按照日期跨度,按照日维度创建多个商品 + /// + [JsonPropertyName("buy_end_date")] + public string BuyEndDate { get; set; } + + /// + /// 商品可购买开始日期(针对日租) + /// + [JsonPropertyName("buy_start_date")] + public string BuyStartDate { get; set; } + + /// + /// 20.00 + /// + [JsonPropertyName("cost_price")] + public string CostPrice { get; set; } + + /// + /// 总次数(本期暂不支持) + /// + [JsonPropertyName("count_num")] + public string CountNum { get; set; } + + /// + /// 现价,保留小数点后两位 + /// + [JsonPropertyName("current_price")] + public string CurrentPrice { get; set; } + + /// + /// 日次数(本期暂不支持) + /// + [JsonPropertyName("date_num")] + public string DateNum { get; set; } + + /// + /// 商品描述 + /// + [JsonPropertyName("desc")] + public string Desc { get; set; } + + /// + /// 销售结束时间,格式"YYYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("end_sell_time")] + public string EndSellTime { get; set; } + + /// + /// 支付宝商品ID列表 + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// 库存 + /// + [JsonPropertyName("goods_num")] + public string GoodsNum { get; set; } + + /// + /// "租期类型,01 时租(本期暂不支持),02 日租,03 周租(本期暂 不支持),04月租(本期暂不支持)" + /// + [JsonPropertyName("goods_rent_type")] + public string GoodsRentType { get; set; } + + /// + /// NOT_EFFECT:下架;EFFECT:上架;PAUSED:已暂停; + /// + [JsonPropertyName("goods_status")] + public string GoodsStatus { get; set; } + + /// + /// 商品类型01-按时,02-按次(本期暂不支持) + /// + [JsonPropertyName("goods_type")] + public string GoodsType { get; set; } + + /// + /// 商品关键字 + /// + [JsonPropertyName("keywords")] + public string Keywords { get; set; } + + /// + /// 商品名称 + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// isv内部产生商品ID + /// + [JsonPropertyName("out_id")] + public string OutId { get; set; } + + /// + /// 支付宝返回停车场ID + /// + [JsonPropertyName("parking_id")] + public string ParkingId { get; set; } + + /// + /// 上架时间,格式"YYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("put_time")] + public string PutTime { get; set; } + + /// + /// 销售开始时间,格式"YYYY-MM-DD HH:mm:ss",24小时制 + /// + [JsonPropertyName("start_sell_time")] + public string StartSellTime { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/QueryRecord.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/QueryRecord.cs new file mode 100644 index 000000000..f9903687c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/QueryRecord.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// QueryRecord Data Structure. + /// + public class QueryRecord : AlipayObject + { + /// + /// 企业编号 + /// + [JsonPropertyName("corp_code")] + public string CorpCode { get; set; } + + /// + /// 企业名称 + /// + [JsonPropertyName("corp_name")] + public string CorpName { get; set; } + + /// + /// 操作人(经办人/实际签约人)姓名 + /// + [JsonPropertyName("opr_cert_name")] + public string OprCertName { get; set; } + + /// + /// 拒绝原因 + /// + [JsonPropertyName("refuse_reason")] + public string RefuseReason { get; set; } + + /// + /// 签约顺序(0: 初始发起签约; 1:第1方签约; 2:第2方签约) + /// + [JsonPropertyName("sign_order")] + public long SignOrder { get; set; } + + /// + /// 签约时间 + /// + [JsonPropertyName("sign_time")] + public string SignTime { get; set; } + + /// + /// 操作类型英文code(INIT: 发起签约; CANCEL: 撤销签约; APPROVE: 确认签约) + /// + [JsonPropertyName("sign_type_code")] + public string SignTypeCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RateCurrency.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RateCurrency.cs new file mode 100644 index 000000000..e821117cf --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RateCurrency.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// RateCurrency Data Structure. + /// + public class RateCurrency : AlipayObject + { + /// + /// 货币编码,ISO标准alpha-3币种编码 + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + + /// + /// 币种中文名称 + /// + [JsonPropertyName("currency_chinese_name")] + public string CurrencyChineseName { get; set; } + + /// + /// 币种图标 + /// + [JsonPropertyName("currency_icon")] + public string CurrencyIcon { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ReceivableConfirmOrder.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ReceivableConfirmOrder.cs new file mode 100644 index 000000000..1633f53dc --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ReceivableConfirmOrder.cs @@ -0,0 +1,143 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ReceivableConfirmOrder Data Structure. + /// + public class ReceivableConfirmOrder : AlipayObject + { + /// + /// 合约号 + /// + [JsonPropertyName("ar_no")] + public string ArNo { get; set; } + + /// + /// 合约体系来源 + /// + [JsonPropertyName("ar_source")] + public string ArSource { get; set; } + + /// + /// 确认周期开始时间 + /// + [JsonPropertyName("begin_date")] + public string BeginDate { get; set; } + + /// + /// 二级业务识别信息 + /// + [JsonPropertyName("business_recognize_ext")] + public MapParameter BusinessRecognizeExt { get; set; } + + /// + /// 周期确认扩展计算因子 + /// + [JsonPropertyName("calc_factor")] + public string CalcFactor { get; set; } + + /// + /// 周期确认应收计算方法 + /// + [JsonPropertyName("calc_method")] + public string CalcMethod { get; set; } + + /// + /// 确认应收周期 + /// + [JsonPropertyName("calc_period")] + public string CalcPeriod { get; set; } + + /// + /// 应收确认模式,支持一次性和周期性确认 + /// + [JsonPropertyName("confirm_model")] + public string ConfirmModel { get; set; } + + /// + /// 周期确认结束时间 + /// + [JsonPropertyName("end_date")] + public string EndDate { get; set; } + + /// + /// 扩展信息 + /// + [JsonPropertyName("ext_info")] + public List ExtInfo { get; set; } + + /// + /// 业务完成时间 + /// + [JsonPropertyName("gmt_service")] + public string GmtService { get; set; } + + /// + /// 核算主体代码 + /// + [JsonPropertyName("inst_id")] + public string InstId { get; set; } + + /// + /// 核算主体ID + /// + [JsonPropertyName("ip_id")] + public string IpId { get; set; } + + /// + /// 商户角色ID,即PID + /// + [JsonPropertyName("ip_role_id")] + public string IpRoleId { get; set; } + + /// + /// 业务请求号,用于幂等校验 + /// + [JsonPropertyName("out_biz_no")] + public string OutBizNo { get; set; } + + /// + /// 业务产品码 + /// + [JsonPropertyName("pd_code")] + public string PdCode { get; set; } + + /// + /// 产品事件码 + /// + [JsonPropertyName("pd_event_code")] + public string PdEventCode { get; set; } + + /// + /// 产品体系来源 + /// + [JsonPropertyName("pd_source")] + public string PdSource { get; set; } + + /// + /// 应收金额 + /// + [JsonPropertyName("receivable_amount")] + public MultiCurrencyMoneyOpenApi ReceivableAmount { get; set; } + + /// + /// 应收单类型,支持普通和调整两类 + /// + [JsonPropertyName("receivable_type")] + public string ReceivableType { get; set; } + + /// + /// 调用方系统名 + /// + [JsonPropertyName("source")] + public string Source { get; set; } + + /// + /// 用户体系来源 + /// + [JsonPropertyName("user_source")] + public string UserSource { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendCard.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendCard.cs new file mode 100644 index 000000000..e6f92f15d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendCard.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// RecommendCard Data Structure. + /// + public class RecommendCard : AlipayObject + { + /// + /// 卡名称 + /// + [JsonPropertyName("card_name")] + public string CardName { get; set; } + + /// + /// 卡的推荐理由,非必须项 + /// + [JsonPropertyName("card_recommend_reason")] + public string CardRecommendReason { get; set; } + + /// + /// 卡类型,非必须项 + /// + [JsonPropertyName("card_type")] + public string CardType { get; set; } + + /// + /// 卡类目1,非必须项 + /// + [JsonPropertyName("cate_1")] + public string Cate1 { get; set; } + + /// + /// 卡类目2,非必须项 + /// + [JsonPropertyName("cate_2")] + public string Cate2 { get; set; } + + /// + /// 卡类目3,非必须项 + /// + [JsonPropertyName("cate_3")] + public string Cate3 { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendServiceInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendServiceInfo.cs new file mode 100644 index 000000000..ac7038dfc --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/RecommendServiceInfo.cs @@ -0,0 +1,58 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// RecommendServiceInfo Data Structure. + /// + public class RecommendServiceInfo : AlipayObject + { + /// + /// 一级类目 + /// + [JsonPropertyName("cate_1")] + public string Cate1 { get; set; } + + /// + /// 二级类目 + /// + [JsonPropertyName("cate_2")] + public string Cate2 { get; set; } + + /// + /// 三级类目 + /// + [JsonPropertyName("cate_3")] + public string Cate3 { get; set; } + + /// + /// 是否是首选项 + /// + [JsonPropertyName("first_choose")] + public bool FirstChoose { get; set; } + + /// + /// 套餐最高价 + /// + [JsonPropertyName("max_price")] + public long MaxPrice { get; set; } + + /// + /// 套餐最低价 + /// + [JsonPropertyName("min_price")] + public string MinPrice { get; set; } + + /// + /// 服务推荐原因 + /// + [JsonPropertyName("recommend_reason")] + public string RecommendReason { get; set; } + + /// + /// 店铺星级 + /// + [JsonPropertyName("star")] + public long Star { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettleDetailInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettleDetailInfo.cs index 66a0003eb..51593dc82 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettleDetailInfo.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettleDetailInfo.cs @@ -32,13 +32,13 @@ public class SettleDetailInfo : AlipayObject public string SummaryDimension { get; set; } /// - /// 结算收款方。当结算收款方类型是cardAliasNo时,本参数为用户在支付宝绑定的卡编号;结算收款方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;当结算收款方类型是loginName时,本参数为用户的支付宝登录号 + /// 结算收款方。当结算收款方类型是cardAliasNo时,本参数为用户在支付宝绑定的卡编号;结算收款方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;当结算收款方类型是loginName时,本参数为用户的支付宝登录号;当结算收款方类型是defaultSettle时,本参数不能传值,保持为空。 /// [JsonPropertyName("trans_in")] public string TransIn { get; set; } /// - /// 结算收款方的账户类型。 cardAliasNo:结算收款方的银行卡编号; userId:表示是支付宝账号对应的支付宝唯一用户号; loginName:表示是支付宝登录号; + /// 结算收款方的账户类型。 cardAliasNo:结算收款方的银行卡编号; userId:表示是支付宝账号对应的支付宝唯一用户号; loginName:表示是支付宝登录号; defaultSettle:表示结算到商户进件时设置的默认结算账号,结算主体为门店时不支持传defaultSettle; /// [JsonPropertyName("trans_in_type")] public string TransInType { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementBillCreateOrder.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementBillCreateOrder.cs new file mode 100644 index 000000000..4263a004a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementBillCreateOrder.cs @@ -0,0 +1,166 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// SettlementBillCreateOrder Data Structure. + /// + public class SettlementBillCreateOrder : AlipayObject + { + /// + /// 合同编号 + /// + [JsonPropertyName("ar_no")] + public string ArNo { get; set; } + + /// + /// 合约体系: IARCORE - ipay合约中心 MYBKARCORE - 网商产品中心 ARCORE - 主站合约 中心 OTHER - 其他合约中心 + /// + [JsonPropertyName("ar_source")] + public string ArSource { get; set; } + + /// + /// 结算周期 DAILY -按日 TEN_DAY - 旬结 WEEKLY-周结 MOTHLY-月结 QUARTERLY - 旬结 HALF_YEAR - 半年结 YEARLY - 年结 BIENNIALLY - 两年结 + /// + [JsonPropertyName("business_period")] + public string BusinessPeriod { get; set; } + + /// + /// 结算周期偏移 单位为天 如某业务月结,但结算周期是从 某月5号到下一月5号,则此时此处填写5 表示5天偏移量 + /// + [JsonPropertyName("business_period_offset")] + public long BusinessPeriodOffset { get; set; } + + /// + /// 业务扩展类型 当前大量的业务系统采取复用产品码的方案,需要额外的业务识别才能够明确业务 + /// + [JsonPropertyName("business_recognize_ext")] + public MapParameter BusinessRecognizeExt { get; set; } + + /// + /// 扩展信息透传 + /// + [JsonPropertyName("exn_info")] + public MapParameter ExnInfo { get; set; } + + /// + /// 我方ou缩写 + /// + [JsonPropertyName("inst_id")] + public string InstId { get; set; } + + /// + /// 结算对象pid。用于标明向谁开票、对账 + /// + [JsonPropertyName("ip_role_id")] + public string IpRoleId { get; set; } + + /// + /// 外部业务单据号。此单号会用于幂等 + /// + [JsonPropertyName("out_biz_no")] + public string OutBizNo { get; set; } + + /// + /// 收款方账号 + /// + [JsonPropertyName("payee_account")] + public string PayeeAccount { get; set; } + + /// + /// 账号的类型 BANK-银行 ALIPAY-支付宝 MYBANK-网商银行 + /// + [JsonPropertyName("payee_account_type")] + public string PayeeAccountType { get; set; } + + /// + /// 付款方账号 + /// + [JsonPropertyName("payer_account")] + public string PayerAccount { get; set; } + + /// + /// 账号的类型 参考payeeaccounttype + /// + [JsonPropertyName("payer_account_type")] + public string PayerAccountType { get; set; } + + /// + /// 产品编码 + /// + [JsonPropertyName("pd_code")] + public string PdCode { get; set; } + + /// + /// 产品体系: IPTCORE -ipay产品中心 MYBKPTCORE - 网商产品中心 PTCORE - 主站产品中心 AFC - 金融云产品中心 + /// + [JsonPropertyName("pd_source")] + public string PdSource { get; set; } + + /// + /// 业务开始时间 + /// + [JsonPropertyName("service_begin_date")] + public string ServiceBeginDate { get; set; } + + /// + /// 业务结束时间 + /// + [JsonPropertyName("service_end_date")] + public string ServiceEndDate { get; set; } + + /// + /// 结算金额 + /// + [JsonPropertyName("settle_amount")] + public MultiCurrencyMoneyOpenApi SettleAmount { get; set; } + + /// + /// 结算依据 + /// + [JsonPropertyName("settle_basis")] + public long SettleBasis { get; set; } + + /// + /// 收费费率 + /// + [JsonPropertyName("settle_rate")] + public long SettleRate { get; set; } + + /// + /// CONTRACT - 合同 TRADING_AMOUNT - 交易金额 TRADING_QUANTITY - 交易笔数 + /// + [JsonPropertyName("settlement_basic_type")] + public string SettlementBasicType { get; set; } + + /// + /// REAL_TIME-实时 DELAYED -后收 + /// + [JsonPropertyName("settlement_type")] + public string SettlementType { get; set; } + + /// + /// 签约对象-用于标明谁跟我们签约 + /// + [JsonPropertyName("sign_ip_role_id")] + public string SignIpRoleId { get; set; } + + /// + /// 调用方系统名称 + /// + [JsonPropertyName("source")] + public string Source { get; set; } + + /// + /// 时区。 国内业务都是东8区(北京时间) UTC+08:00 + /// + [JsonPropertyName("time_zone")] + public string TimeZone { get; set; } + + /// + /// 用户体系: ICIF - ipay用户体系 MYBKCIF - 网商银行用户体系 CIF - 主站用户体系 UC - 金融云用户体系 + /// + [JsonPropertyName("user_source")] + public string UserSource { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementbillOpenApiDTO.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementbillOpenApiDTO.cs new file mode 100644 index 000000000..0c91e9681 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SettlementbillOpenApiDTO.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// SettlementbillOpenApiDTO Data Structure. + /// + public class SettlementbillOpenApiDTO : AlipayObject + { + /// + /// 外部的业务单据号 + /// + [JsonPropertyName("out_biz_no")] + public string OutBizNo { get; set; } + + /// + /// 结算单金额 + /// + [JsonPropertyName("settle_amount")] + public MultiCurrencyMoneyOpenApi SettleAmount { get; set; } + + /// + /// 生成的结算单号 + /// + [JsonPropertyName("settlement_bill_no")] + public string SettlementBillNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ShopOrderConfigInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ShopOrderConfigInfo.cs index 559cbee69..05bc37b95 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ShopOrderConfigInfo.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ShopOrderConfigInfo.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 { @@ -19,6 +20,24 @@ public class ShopOrderConfigInfo : AlipayObject [JsonPropertyName("order_entry_status")] public string OrderEntryStatus { get; set; } + /// + /// 点餐一般营业营业时间配置 + /// + [JsonPropertyName("order_normal_business_time")] + public List OrderNormalBusinessTime { get; set; } + + /// + /// 点餐特殊营业时间规则配置 + /// + [JsonPropertyName("order_special_business_time")] + public List OrderSpecialBusinessTime { get; set; } + + /// + /// OPEN表示打开点餐服务 CLOSED表示关闭点餐服务 + /// + [JsonPropertyName("order_status")] + public string OrderStatus { get; set; } + /// /// 口碑门店ID /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SpecialBusinessTimeRule.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SpecialBusinessTimeRule.cs new file mode 100644 index 000000000..03547e0fa --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SpecialBusinessTimeRule.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// SpecialBusinessTimeRule Data Structure. + /// + public class SpecialBusinessTimeRule : AlipayObject + { + /// + /// 开始日期 + /// + [JsonPropertyName("begin_date")] + public string BeginDate { get; set; } + + /// + /// 是否24小时不营业 + /// + [JsonPropertyName("close_all_day")] + public bool CloseAllDay { get; set; } + + /// + /// 结束日期 + /// + [JsonPropertyName("end_date")] + public string EndDate { get; set; } + + /// + /// 是否24小时营业 + /// + [JsonPropertyName("open_all_day")] + public bool OpenAllDay { get; set; } + + /// + /// 当既不是24小时营业也不是24小时不营业时,具体的营业时间段 + /// + [JsonPropertyName("open_time_list")] + public List OpenTimeList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudVerifyModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudVerifyModel.cs deleted file mode 100644 index 5b4fc02f1..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudVerifyModel.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// SsdataDataserviceRiskAntifraudVerifyModel Data Structure. - /// - public class SsdataDataserviceRiskAntifraudVerifyModel : AlipayObject - { - /// - /// 地址信息。省+市+区/县+详细地址,其中 省+市+区/县可以为空,长度不超过256,不要包含特殊字符,如",","\","|","&","^" - /// - [JsonPropertyName("address")] - public string Address { get; set; } - - /// - /// 银行卡号。中国大陆银行发布的银行卡:借记卡长度19位;信用卡长度16位;各位的取值位[0,9]的整数;不含虚拟卡 - /// - [JsonPropertyName("bank_card")] - public string BankCard { get; set; } - - /// - /// 证件号。证件类型、证件号、姓名三要素均为必填参数 - /// - [JsonPropertyName("cert_no")] - public string CertNo { get; set; } - - /// - /// 证件类型。IDENTITY_CARD标识为身份证,目前仅支持身份证类型 - /// - [JsonPropertyName("cert_type")] - public string CertType { get; set; } - - /// - /// 电子邮箱。合法email,字母小写,特殊符号以半角形式出现 - /// - [JsonPropertyName("email")] - public string Email { get; set; } - - /// - /// 国际移动设备标志,15位长度数字 - /// - [JsonPropertyName("imei")] - public string Imei { get; set; } - - /// - /// ip地址。以"."分割的四段Ip,如 x.x.x.x,x为[0,255]之间的整数 - /// - [JsonPropertyName("ip")] - public string Ip { get; set; } - - /// - /// 物理地址。支持格式如下:xx:xx:xx:xx:xx:xx,xx-xx-xx-xx-xx-xx,xxxxxxxxxxxx,x取值范围[0,9]之间的整数及A,B,C,D,E,F - /// - [JsonPropertyName("mac")] - public string Mac { get; set; } - - /// - /// 手机号码。中国大陆合法手机号,长度11位,不含国家代码 - /// - [JsonPropertyName("mobile")] - public string Mobile { get; set; } - - /// - /// 姓名,长度不超过64,姓名中不要包含特殊字符,如 ",","/u0001", "|", "&", "^", "\\" - /// - [JsonPropertyName("name")] - public string Name { get; set; } - - /// - /// 调用服务的商户id ,如果是第三方服务商,需要将其实际的商户id透传过来,如果是普通商户传入自己的appid即可 - /// - [JsonPropertyName("partner_id")] - public string PartnerId { get; set; } - - /// - /// wifi的物理地址。支持格式如下:xx:xx:xx:xx:xx:xx,xx-xx-xx-xx-xx-xx,xxxxxxxxxxxx,x取值范围[0,9]之间的整数及A,B,C,D,E,F - /// - [JsonPropertyName("wifimac")] - public string Wifimac { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudintegrationQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudintegrationQueryModel.cs deleted file mode 100644 index 844db17e9..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntifraudintegrationQueryModel.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// SsdataDataserviceRiskAntifraudintegrationQueryModel Data Structure. - /// - public class SsdataDataserviceRiskAntifraudintegrationQueryModel : AlipayObject - { - /// - /// 地址信息。省+市+区/县+详细地址,其中 省+市+区/县可以为空,长度不超过256,不要包含特殊字符,如",","\","|","&","^" - /// - [JsonPropertyName("address")] - public string Address { get; set; } - - /// - /// 银行卡号。中国大陆银行发布的银行卡:借记卡长度19位;信用卡长度16位;各位的取值位[0,9]的整数;不含虚拟卡 - /// - [JsonPropertyName("bank_card")] - public string BankCard { get; set; } - - /// - /// 证件号。证件类型、证件号、姓名三要素均为必填参数 - /// - [JsonPropertyName("cert_no")] - public string CertNo { get; set; } - - /// - /// 证件类型。IDENTITY_CARD标识为身份证,目前仅支持身份证类型 - /// - [JsonPropertyName("cert_type")] - public string CertType { get; set; } - - /// - /// 电子邮箱。合法email,字母小写,特殊符号以半角形式出现 - /// - [JsonPropertyName("email")] - public string Email { get; set; } - - /// - /// 国际移动设备标志,15位长度数字 - /// - [JsonPropertyName("imei")] - public string Imei { get; set; } - - /// - /// ip地址。以"."分割的四段Ip,如 x.x.x.x,x为[0,255]之间的整数 - /// - [JsonPropertyName("ip")] - public string Ip { get; set; } - - /// - /// 物理地址。支持格式如下:xx:xx:xx:xx:xx:xx,xx-xx-xx-xx-xx-xx,xxxxxxxxxxxx,x取值范围[0,9]之间的整数及A,B,C,D,E,F - /// - [JsonPropertyName("mac")] - public string Mac { get; set; } - - /// - /// 手机号码。中国大陆合法手机号,长度11位,不含国家代码 - /// - [JsonPropertyName("mobile")] - public string Mobile { get; set; } - - /// - /// 姓名,长度不超过64,姓名中不要包含特殊字符,如 ",","/u0001", "|", "&", "^", "\\" - /// - [JsonPropertyName("name")] - public string Name { get; set; } - - /// - /// 调用服务的商户id ,如果是第三方服务商,需要将其实际的商户id透传过来,如果是普通商户传入自己的appid即可 - /// - [JsonPropertyName("partner_id")] - public string PartnerId { get; set; } - - /// - /// wifi的物理地址。支持格式如下:xx:xx:xx:xx:xx:xx,xx-xx-xx-xx-xx-xx,xxxxxxxxxxxx,x取值范围[0,9]之间的整数及A,B,C,D,E,F - /// - [JsonPropertyName("wifimac")] - public string Wifimac { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntijunkregisterQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntijunkregisterQueryModel.cs deleted file mode 100644 index 0c77f7d80..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntijunkregisterQueryModel.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// SsdataDataserviceRiskAntijunkregisterQueryModel Data Structure. - /// - public class SsdataDataserviceRiskAntijunkregisterQueryModel : AlipayObject - { - /// - /// 行为发生时的Apdid值 - /// - [JsonPropertyName("apdid")] - public string Apdid { get; set; } - - /// - /// 行为发生时的IP值 - /// - [JsonPropertyName("ip")] - public string Ip { get; set; } - - /// - /// 调用服务的商户id ,如果是第三方服务商,需要将其实际的商户id透传过来,如果是普通商户传入自己的appid即可 - /// - [JsonPropertyName("partner_id")] - public string PartnerId { get; set; } - - /// - /// 行为发生时的手机号 - /// - [JsonPropertyName("phone")] - public string Phone { get; set; } - - /// - /// 风险场景码,不传该参数,则走默认的场景 - /// - [JsonPropertyName("risk_code")] - public string RiskCode { get; set; } - - /// - /// 业务场景,不传该参数,则走默认的业务场景 - /// - [JsonPropertyName("scene_code")] - public string SceneCode { get; set; } - - /// - /// 版本号 - /// - [JsonPropertyName("sys_version")] - public string SysVersion { get; set; } - - /// - /// 行为发生时的UMID值 - /// - [JsonPropertyName("umid")] - public string Umid { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntiscalperQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntiscalperQueryModel.cs deleted file mode 100644 index 428440ebc..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskAntiscalperQueryModel.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// SsdataDataserviceRiskAntiscalperQueryModel Data Structure. - /// - public class SsdataDataserviceRiskAntiscalperQueryModel : AlipayObject - { - /// - /// 行为发生时的Apdid值 - /// - [JsonPropertyName("apdid")] - public string Apdid { get; set; } - - /// - /// 行为发生时的IP值 - /// - [JsonPropertyName("ip")] - public string Ip { get; set; } - - /// - /// 调用服务的商户id ,如果是第三方服务商,需要将其实际的商户id透传过来,如果是普通商户传入自己的appid或不填 - /// - [JsonPropertyName("partner_id")] - public string PartnerId { get; set; } - - /// - /// 行为发生时的手机号 - /// - [JsonPropertyName("phone")] - public string Phone { get; set; } - - /// - /// 风险场景码,不传该参数,则走默认的场景 - /// - [JsonPropertyName("risk_code")] - public string RiskCode { get; set; } - - /// - /// 业务场景,不传该参数,则走默认的业务场景 - /// - [JsonPropertyName("scene_code")] - public string SceneCode { get; set; } - - /// - /// 版本号 - /// - [JsonPropertyName("sys_version")] - public string SysVersion { get; set; } - - /// - /// 行为发生时的UMID值 - /// - [JsonPropertyName("umid")] - public string Umid { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskCodeQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskCodeQueryModel.cs deleted file mode 100644 index b2caf91ac..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskCodeQueryModel.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// SsdataDataserviceRiskCodeQueryModel Data Structure. - /// - public class SsdataDataserviceRiskCodeQueryModel : AlipayObject - { - /// - /// 地址信息。省+市+区/县+详细地址,其中 省+市+区/县可以为空,长度不超过256,不含",","/u0001","|","&","^","\\" - /// - [JsonPropertyName("address")] - public string Address { get; set; } - - /// - /// 银行卡号。中国大陆银行发布的银行卡:借记卡长度19位;信用卡长度16位;各位的取值位[0,9]的整数;不含虚拟卡。 - /// - [JsonPropertyName("bank_card")] - public string BankCard { get; set; } - - /// - /// 电子邮箱。合法email,字母小写,特殊符号以半角形式出现 - /// - [JsonPropertyName("email")] - public string Email { get; set; } - - /// - /// 国际移动设备标志。15位长度数字 - /// - [JsonPropertyName("imei")] - public string Imei { get; set; } - - /// - /// ip地址。以"."分割的四段Ip,如 x.x.x.x,x为[0,255]之间的整数 - /// - [JsonPropertyName("ip")] - public string Ip { get; set; } - - /// - /// 物理地址。支持格式如下:xx:xx:xx:xx:xx:xx,xx-xx-xx-xx-xx-xx,xxxxxxxxxxxx,x取值范围[0,9]之间的整数及A,B,C,D,E,F - /// - [JsonPropertyName("mac")] - public string Mac { get; set; } - - /// - /// 手机号码,中国大陆合法手机号码,长度11位,不含国家代码 - /// - [JsonPropertyName("mobile")] - public string Mobile { get; set; } - - /// - /// 姓名,长度不超过64,姓名中不含",","/u0001","|","&","^","\\" - /// - [JsonPropertyName("name")] - public string Name { get; set; } - - /// - /// wifi的物理地址。支持格式如下:xx:xx:xx:xx:xx:xx,xx-xx-xx-xx-xx-xx,xxxxxxxxxxxx,x取值范围[0,9]之间的整数及A,B,C,D,E,F - /// - [JsonPropertyName("wifimac")] - public string Wifimac { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskIpprofileQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskIpprofileQueryModel.cs deleted file mode 100644 index f50a634bd..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskIpprofileQueryModel.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// SsdataDataserviceRiskIpprofileQueryModel Data Structure. - /// - public class SsdataDataserviceRiskIpprofileQueryModel : AlipayObject - { - /// - /// 身份证号码 - /// - [JsonPropertyName("cert_no")] - public string CertNo { get; set; } - - /// - /// 交易发生的城市 - /// - [JsonPropertyName("city")] - public string City { get; set; } - - /// - /// 交易发生的区 - /// - [JsonPropertyName("district")] - public string District { get; set; } - - /// - /// IP地址 - /// - [JsonPropertyName("ip_address")] - public string IpAddress { get; set; } - - /// - /// 调用服务的商户id ,如果是第三方服务商,需要将其实际的商户id透传过来,如果是普通商户传入自己的appid即可 - /// - [JsonPropertyName("partner_id")] - public string PartnerId { get; set; } - - /// - /// 手机号码 - /// - [JsonPropertyName("phone")] - public string Phone { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskRainscoreQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskRainscoreQueryModel.cs deleted file mode 100644 index 430ad34eb..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/SsdataDataserviceRiskRainscoreQueryModel.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Domain -{ - /// - /// SsdataDataserviceRiskRainscoreQueryModel Data Structure. - /// - public class SsdataDataserviceRiskRainscoreQueryModel : AlipayObject - { - /// - /// 帐号内容,目前为中国大陆手机号(11位阿拉伯数字,不包含特殊符号或空格) - /// - [JsonPropertyName("account")] - public string Account { get; set; } - - /// - /// 账号类型,目前仅支持手机号(MOBILE_NO) - /// - [JsonPropertyName("account_type")] - public string AccountType { get; set; } - - /// - /// 调用服务的商户id ,如果是第三方服务商,需要将其实际的商户id透传过来,如果是普通商户传入自己的appid即可 - /// - [JsonPropertyName("partner_id")] - public string PartnerId { get; set; } - - /// - /// “蚁盾”风险评分服务版本号,当前版本为2.0 - /// - [JsonPropertyName("version")] - public string Version { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/StoreInfo.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/StoreInfo.cs new file mode 100644 index 000000000..3eb3ce58d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/StoreInfo.cs @@ -0,0 +1,94 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// StoreInfo Data Structure. + /// + public class StoreInfo : AlipayObject + { + /// + /// 支付宝品牌ID + /// + [JsonPropertyName("alipay_brand_id")] + public string AlipayBrandId { get; set; } + + /// + /// 支付宝运营店ID + /// + [JsonPropertyName("alipay_shop_id")] + public string AlipayShopId { get; set; } + + /// + /// 门店小程序列表 + /// + [JsonPropertyName("app_infos")] + public Appinfos AppInfos { get; set; } + + /// + /// 业务码 + /// + [JsonPropertyName("biz_code")] + public string BizCode { get; set; } + + /// + /// 操作类型: 飞猪开店 0 飞猪挂接关系调整 1 + /// + [JsonPropertyName("biz_type")] + public long BizType { get; set; } + + /// + /// 透传信息 + /// + [JsonPropertyName("ext")] + public string Ext { get; set; } + + /// + /// 飞猪POIID + /// + [JsonPropertyName("fliggy_poi_id")] + public long FliggyPoiId { get; set; } + + /// + /// 小程序描述 + /// + [JsonPropertyName("mini_app_desc")] + public string MiniAppDesc { get; set; } + + /// + /// 小程序名称 + /// + [JsonPropertyName("mini_app_name")] + public string MiniAppName { get; set; } + + /// + /// 主账号ID + /// + [JsonPropertyName("seller_id")] + public long SellerId { get; set; } + + /// + /// 卖家昵称 + /// + [JsonPropertyName("seller_nick")] + public string SellerNick { get; set; } + + /// + /// 商户中心门店ID + /// + [JsonPropertyName("store_id")] + public long StoreId { get; set; } + + /// + /// 门店状态 + /// + [JsonPropertyName("store_status")] + public long StoreStatus { get; set; } + + /// + /// 子账号ID + /// + [JsonPropertyName("sub_seller_id")] + public long SubSellerId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountBizContent.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountBizContent.cs new file mode 100644 index 000000000..8a5984eba --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountBizContent.cs @@ -0,0 +1,35 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// TbapiQueryAmountBizContent Data Structure. + /// + public class TbapiQueryAmountBizContent : AlipayObject + { + /// + /// 查询指定额度产品组 + /// + [JsonPropertyName("amt_group")] + public string AmtGroup { get; set; } + + /// + /// 查询指定额度产品码 + /// + [JsonPropertyName("amt_prods")] + public List AmtProds { get; set; } + + /// + /// 请求来源 + /// + [JsonPropertyName("request_from")] + public string RequestFrom { get; set; } + + /// + /// 请求场景 + /// + [JsonPropertyName("scene")] + public string Scene { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountResponse.cs new file mode 100644 index 000000000..7ac6831b2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TbapiQueryAmountResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// TbapiQueryAmountResponse Data Structure. + /// + public class TbapiQueryAmountResponse : AlipayObject + { + /// + /// 指定产品码额度 + /// + [JsonPropertyName("amt_map")] + public string AmtMap { get; set; } + + /// + /// 可用产品组额度 + /// + [JsonPropertyName("available_group_amt")] + public string AvailableGroupAmt { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TimeRange.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TimeRange.cs new file mode 100644 index 000000000..e888523f2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/TimeRange.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// TimeRange Data Structure. + /// + public class TimeRange : AlipayObject + { + /// + /// 开始时间 + /// + [JsonPropertyName("begin")] + public string Begin { get; set; } + + /// + /// 结束时间 + /// + [JsonPropertyName("end")] + public string End { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/UserIdentityExt.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/UserIdentityExt.cs new file mode 100644 index 000000000..4b25008e4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/UserIdentityExt.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// UserIdentityExt Data Structure. + /// + public class UserIdentityExt : AlipayObject + { + /// + /// 用户交易账号的发卡机构id + /// + [JsonPropertyName("account_issue_entity_id")] + public string AccountIssueEntityId { get; set; } + + /// + /// 用户交易账号的发卡机构名称 + /// + [JsonPropertyName("account_issue_entity_name")] + public string AccountIssueEntityName { get; set; } + + /// + /// 用户在支付机构的开户名称 + /// + [JsonPropertyName("account_name")] + public string AccountName { get; set; } + + /// + /// 用户在支付机构的账号 + /// + [JsonPropertyName("account_no")] + public string AccountNo { get; set; } + + /// + /// 扩展参数。JSON格式,使用前需要和支付宝先约定key值。 + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 用户在商家平台的会员id + /// + [JsonPropertyName("member_id")] + public string MemberId { get; set; } + + /// + /// 用户在商家平台的会员名称 + /// + [JsonPropertyName("member_name")] + public string MemberName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehMessageEntity.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehMessageEntity.cs new file mode 100644 index 000000000..827f8b235 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehMessageEntity.cs @@ -0,0 +1,64 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// VehMessageEntity Data Structure. + /// + public class VehMessageEntity : AlipayObject + { + /// + /// 证件号码.(certificate_type/certificate_number/certificate_username) 或者uid必须有一个不为空。两个都不为空则以uid为准. 该字段为敏感字段,须做md5处理后传输。示例中值的明文为310101198011110010. + /// + [JsonPropertyName("certificate_number")] + public string CertificateNumber { get; set; } + + /// + /// 证件类型, 01表示身份证.(certificate_type/certificate_number/certificate_username) 或者uid必须有一个不为空。两个都不为空则以uid为准. + /// + [JsonPropertyName("certificate_type")] + public string CertificateType { get; set; } + + /// + /// 证件用户名字.(certificate_type/certificate_number/certificate_username) 或者uid必须有一个不为空。两个都不为空则以uid为准. + /// + [JsonPropertyName("certificate_username")] + public string CertificateUsername { get; set; } + + /// + /// 消息参数信息,json格式字符串. 该字段与msg_type对应,不同的sc需要传不同的参数信息,详情参考接口补充说明. + /// + [JsonPropertyName("ext_info")] + public string ExtInfo { get; set; } + + /// + /// 消息提示红点标记 + /// + [JsonPropertyName("mark")] + public string Mark { get; set; } + + /// + /// 消息模板id + /// + [JsonPropertyName("msg_template_id")] + public string MsgTemplateId { get; set; } + + /// + /// identity字段:值为不大于64位的保证唯一的字符串;该字段用于保证消息唯一性,防止消息重复推送,相当于业务流水号,由接入方自行生成 + /// + [JsonPropertyName("out_msg_id")] + public string OutMsgId { get; set; } + + /// + /// 消息跳转url。 + /// + [JsonPropertyName("target_url")] + public string TargetUrl { get; set; } + + /// + /// (certificate_type/certificate_number/用户名字) 或者uid必须有一个不为空。两个都不为空则以uid为准 + /// + [JsonPropertyName("uid")] + public string Uid { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehicleMsgSendResultEntity.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehicleMsgSendResultEntity.cs new file mode 100644 index 000000000..93b74a500 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VehicleMsgSendResultEntity.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// VehicleMsgSendResultEntity Data Structure. + /// + public class VehicleMsgSendResultEntity : AlipayObject + { + /// + /// identity字段:值为不大于64位的保证唯一的字符串;该字段用于保证消息唯一性,防止消息重复推送,相当于业务流水号,由接入方自行生成 + /// + [JsonPropertyName("out_msg_id")] + public string OutMsgId { get; set; } + + /// + /// 消息如果投递失败的提示信息 + /// + [JsonPropertyName("result")] + public string Result { get; set; } + + /// + /// 投递结果,车主服务是否成功接收消息请求 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VoucherDetail.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VoucherDetail.cs index c617c2978..d1e91d5f8 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VoucherDetail.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/VoucherDetail.cs @@ -75,7 +75,7 @@ public class VoucherDetail : AlipayObject public string TemplateId { get; set; } /// - /// 当前有三种类型: ALIPAY_FIX_VOUCHER - 全场代金券 ALIPAY_DISCOUNT_VOUCHER - 折扣券 ALIPAY_ITEM_VOUCHER - 单品优惠 注:不排除将来新增其他类型的可能,商家接入时注意兼容性避免硬编码 + /// 券类型,如: ALIPAY_FIX_VOUCHER - 全场代金券 ALIPAY_DISCOUNT_VOUCHER - 折扣券 ALIPAY_ITEM_VOUCHER - 单品优惠券 ALIPAY_CASH_VOUCHER - 现金抵价券 ALIPAY_BIZ_VOUCHER - 商家全场券 注:不排除将来新增其他类型的可能,商家接入时注意兼容性避免硬编码 /// [JsonPropertyName("type")] public string Type { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZftSubMerchantOrder.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZftSubMerchantOrder.cs new file mode 100644 index 000000000..7f319b440 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZftSubMerchantOrder.cs @@ -0,0 +1,88 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ZftSubMerchantOrder Data Structure. + /// + public class ZftSubMerchantOrder : AlipayObject + { + /// + /// 申请单创建时间 + /// + [JsonPropertyName("apply_time")] + public string ApplyTime { get; set; } + + /// + /// 本申请单的请求类型。一般可选值包括ZHIFUTONG_CONSULT(直付通商户预校验)/ZHIFUTONG_CREATE(直付通商户创建)/ZHIFUTONG_MODIFY(直付通商户修改) + /// + [JsonPropertyName("apply_type")] + public string ApplyType { get; set; } + + /// + /// 进件生成的卡编号,在发起结算时可以作为结算账号 + /// + [JsonPropertyName("card_alias_no")] + public string CardAliasNo { get; set; } + + /// + /// 外部商户id + /// + [JsonPropertyName("external_id")] + public string ExternalId { get; set; } + + /// + /// 风控审核状态。CREATE:已创建待审批、SKIP:跳过风控审批步骤、PASS:风控审核通过、REJECT:风控审批拒绝 + /// + [JsonPropertyName("fk_audit")] + public string FkAudit { get; set; } + + /// + /// 风控审批备注,如有则返回 + /// + [JsonPropertyName("fk_audit_memo")] + public string FkAuditMemo { get; set; } + + /// + /// 客资审核状态。CREATE:已创建待审批、SKIP:跳过客资审批步骤、PASS:客资审核通过、REJECT:客资审批拒绝 + /// + [JsonPropertyName("kz_audit")] + public string KzAudit { get; set; } + + /// + /// 客资审批备注,如有则返回 + /// + [JsonPropertyName("kz_audit_memo")] + public string KzAuditMemo { get; set; } + + /// + /// 进件时填写的商户名称 + /// + [JsonPropertyName("merchant_name")] + public string MerchantName { get; set; } + + /// + /// 申请单id + /// + [JsonPropertyName("order_id")] + public string OrderId { get; set; } + + /// + /// 二级商户id。当总体申请状态status为99时,smid才算进件完成 + /// + [JsonPropertyName("smid")] + public string Smid { get; set; } + + /// + /// 申请总体状态。99:已完结;-1:失败;031:审核中 + /// + [JsonPropertyName("status")] + public string Status { get; set; } + + /// + /// 二级商户确认状态。CREATE:已发起二级商户确认、SKIP:无需确认、FAIL:签约失败、NOT_CONFIRM:商户未确认、FINISH签约完成 + /// + [JsonPropertyName("sub_confirm")] + public string SubConfirm { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractCommonCancelModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractCommonCancelModel.cs new file mode 100644 index 000000000..f3a1e437a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractCommonCancelModel.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ZhimaMerchantContractCommonCancelModel Data Structure. + /// + public class ZhimaMerchantContractCommonCancelModel : AlipayObject + { + /// + /// 合约单号 + /// + [JsonPropertyName("contract_no")] + public string ContractNo { get; set; } + + /// + /// 应约者id(淘宝id/支付宝user_id) + /// + [JsonPropertyName("sign_principal_id")] + public string SignPrincipalId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractPageQueryModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractPageQueryModel.cs new file mode 100644 index 000000000..1b09cc384 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractPageQueryModel.cs @@ -0,0 +1,64 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Domain +{ + /// + /// ZhimaMerchantContractPageQueryModel Data Structure. + /// + public class ZhimaMerchantContractPageQueryModel : AlipayObject + { + /// + /// 查询开始时间 + /// + [JsonPropertyName("begin_time")] + public string BeginTime { get; set; } + + /// + /// 要查询的合约状态列表,多选 ,逗号分隔 初始化,待应约状态:INIT 生效 :EFFECT 完结: COMPLETE 关闭:CLOSE 失效:INVALID + /// + [JsonPropertyName("contract_status_list")] + public string ContractStatusList { get; set; } + + /// + /// 当前页,从1开始 + /// + [JsonPropertyName("current_page")] + public long CurrentPage { get; set; } + + /// + /// 查询结束时间 + /// + [JsonPropertyName("end_time")] + public string EndTime { get; set; } + + /// + /// 是否包含合约履约事件信息,如打卡信息等。默认false + /// + [JsonPropertyName("include_event_detail")] + public bool IncludeEventDetail { get; set; } + + /// + /// 是否查询事项,默认false + /// + [JsonPropertyName("include_item")] + public bool IncludeItem { get; set; } + + /// + /// 发约单号 + /// + [JsonPropertyName("offer_no")] + public string OfferNo { get; set; } + + /// + /// 每页条数,默认5条,最多支持10条 + /// + [JsonPropertyName("page_size")] + public long PageSize { get; set; } + + /// + /// 应约者主体id(淘宝id/支付宝user_id/商户id) + /// + [JsonPropertyName("sign_principal_id")] + public string SignPrincipalId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractQuickCreateModel.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractQuickCreateModel.cs index 8f89dfcff..391050ba2 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractQuickCreateModel.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaMerchantContractQuickCreateModel.cs @@ -120,5 +120,11 @@ public class ZhimaMerchantContractQuickCreateModel : AlipayObject /// [JsonPropertyName("service_id")] public string ServiceId { get; set; } + + /// + /// 模板id + /// + [JsonPropertyName("template_no")] + public string TemplateNo { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskCodeQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncInvmodeCreateRequest.cs similarity index 91% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskCodeQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncInvmodeCreateRequest.cs index 97672e6b8..7f3f6c92f 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskCodeQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncInvmodeCreateRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// ssdata.dataservice.risk.code.query + /// alipay.boss.fnc.invmode.create /// - public class SsdataDataserviceRiskCodeQueryRequest : IAlipayRequest + public class AlipayBossFncInvmodeCreateRequest : IAlipayRequest { /// - /// 反欺诈服务 + /// 财务开票模式同步 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "ssdata.dataservice.risk.code.query"; + return "alipay.boss.fnc.invmode.create"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntifraudVerifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleCaptureCreateRequest.cs similarity index 90% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntifraudVerifyRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleCaptureCreateRequest.cs index 4998ddee8..1ff193254 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntifraudVerifyRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleCaptureCreateRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// ssdata.dataservice.risk.antifraud.verify + /// alipay.boss.fnc.settle.capture.create /// - public class SsdataDataserviceRiskAntifraudVerifyRequest : IAlipayRequest + public class AlipayBossFncSettleCaptureCreateRequest : IAlipayRequest { /// - /// 蚁盾欺诈信息验证 + /// 请款单批量创建 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "ssdata.dataservice.risk.antifraud.verify"; + return "alipay.boss.fnc.settle.capture.create"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskRainscoreQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleReceivableConfirmRequest.cs similarity index 90% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskRainscoreQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleReceivableConfirmRequest.cs index aeb3c9ca9..2ac28ed77 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskRainscoreQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleReceivableConfirmRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// ssdata.dataservice.risk.rainscore.query + /// alipay.boss.fnc.settle.receivable.confirm /// - public class SsdataDataserviceRiskRainscoreQueryRequest : IAlipayRequest + public class AlipayBossFncSettleReceivableConfirmRequest : IAlipayRequest { /// - /// 蚁盾风险评分服务新版 + /// 批量应收确认服务 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "ssdata.dataservice.risk.rainscore.query"; + return "alipay.boss.fnc.settle.receivable.confirm"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskIpprofileQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleSettlementbillCreateRequest.cs similarity index 90% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskIpprofileQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleSettlementbillCreateRequest.cs index b7b0bd325..cfcc535e6 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskIpprofileQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossFncSettleSettlementbillCreateRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// ssdata.dataservice.risk.ipprofile.query + /// alipay.boss.fnc.settle.settlementbill.create /// - public class SsdataDataserviceRiskIpprofileQueryRequest : IAlipayRequest + public class AlipayBossFncSettleSettlementbillCreateRequest : IAlipayRequest { /// - /// “蚁盾”智能IP检测服务 + /// 结算单创建 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "ssdata.dataservice.risk.ipprofile.query"; + return "alipay.boss.fnc.settle.settlementbill.create"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlawOrderhitstatusQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlawOrderhitstatusQueryRequest.cs new file mode 100644 index 000000000..a58e27df1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlawOrderhitstatusQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.boss.prod.antlaw.orderhitstatus.query + /// + public class AlipayBossProdAntlawOrderhitstatusQueryRequest : 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.boss.prod.antlaw.orderhitstatus.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/SsdataDataserviceRiskAntifraudintegrationQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlegalchainNotaryprocsumQueryRequest.cs similarity index 89% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntifraudintegrationQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlegalchainNotaryprocsumQueryRequest.cs index 97052007e..a36502e06 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntifraudintegrationQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlegalchainNotaryprocsumQueryRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// ssdata.dataservice.risk.antifraudintegration.query + /// alipay.boss.prod.antlegalchain.notaryprocsum.query /// - public class SsdataDataserviceRiskAntifraudintegrationQueryRequest : IAlipayRequest + public class AlipayBossProdAntlegalchainNotaryprocsumQueryRequest : IAlipayRequest { /// - /// 蚁盾欺诈评分综合版 + /// 查询特定签约记录 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "ssdata.dataservice.risk.antifraudintegration.query"; + return "alipay.boss.prod.antlegalchain.notaryprocsum.query"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlegalchainOrderApplyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlegalchainOrderApplyRequest.cs new file mode 100644 index 000000000..206673dde --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBossProdAntlegalchainOrderApplyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.boss.prod.antlegalchain.order.apply + /// + public class AlipayBossProdAntlegalchainOrderApplyRequest : 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.boss.prod.antlegalchain.order.apply"; + } + + 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/SsdataDataserviceRiskAntiscalperQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubCloseRequest.cs similarity index 90% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntiscalperQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubCloseRequest.cs index c19f99c09..0bb813236 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntiscalperQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubCloseRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// ssdata.dataservice.risk.antiscalper.query + /// alipay.business.paymenthub.close /// - public class SsdataDataserviceRiskAntiscalperQueryRequest : IAlipayRequest + public class AlipayBusinessPaymenthubCloseRequest : IAlipayRequest { /// - /// 蚁盾反黄牛服务 + /// 聚合支付产品支付指令关闭接口 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "ssdata.dataservice.risk.antiscalper.query"; + return "alipay.business.paymenthub.close"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubDisburseRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubDisburseRequest.cs new file mode 100644 index 000000000..435e3c426 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubDisburseRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.business.paymenthub.disburse + /// + public class AlipayBusinessPaymenthubDisburseRequest : 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.business.paymenthub.disburse"; + } + + 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/AlipayBusinessPaymenthubPayRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubPayRequest.cs new file mode 100644 index 000000000..6fdb7c259 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubPayRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.business.paymenthub.pay + /// + public class AlipayBusinessPaymenthubPayRequest : 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.business.paymenthub.pay"; + } + + 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/AlipayBusinessPaymenthubQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubQueryRequest.cs new file mode 100644 index 000000000..95c80fd4d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.business.paymenthub.query + /// + public class AlipayBusinessPaymenthubQueryRequest : 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.business.paymenthub.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/AlipayBusinessPaymenthubRefundRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubRefundRequest.cs new file mode 100644 index 000000000..0ac01ad98 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayBusinessPaymenthubRefundRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.business.paymenthub.refund + /// + public class AlipayBusinessPaymenthubRefundRequest : 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.business.paymenthub.refund"; + } + + 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/AlipaySecurityRiskDirectionalIpprofileQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceEducateAuthenticateCampuscardCreateRequest.cs similarity index 88% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySecurityRiskDirectionalIpprofileQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceEducateAuthenticateCampuscardCreateRequest.cs index adca3d16d..839bdd069 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySecurityRiskDirectionalIpprofileQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceEducateAuthenticateCampuscardCreateRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// alipay.security.risk.directional.ipprofile.query + /// alipay.commerce.educate.authenticate.campuscard.create /// - public class AlipaySecurityRiskDirectionalIpprofileQueryRequest : IAlipayRequest + public class AlipayCommerceEducateAuthenticateCampuscardCreateRequest : IAlipayRequest { /// - /// “蚁盾”智能IP检测服务(定向接口) + /// 高校ISV认证信息同步 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "alipay.security.risk.directional.ipprofile.query"; + return "alipay.commerce.educate.authenticate.campuscard.create"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixAttachmentUploadRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixAttachmentUploadRequest.cs new file mode 100644 index 000000000..8441d5102 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixAttachmentUploadRequest.cs @@ -0,0 +1,148 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; +using Essensoft.AspNetCore.Payment.Alipay.Utility; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.fix.attachment.upload + /// + public class AlipayCommerceFixAttachmentUploadRequest : IAlipayUploadRequest + { + /// + /// 要上传文件的内容 + /// + public FileItem FileContent { get; set; } + + /// + /// 上传的文件名 + /// + public string FileName { get; set; } + + /// + /// 上传文件的类型。枚举,image:图片;video:视频 + /// + public string FileType { 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 void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public string GetApiName() + { + return "alipay.commerce.fix.attachment.upload"; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "file_name", FileName }, + { "file_type", FileType } + }; + return parameters; + } + + public AlipayObject GetBizModel() + { + return bizModel; + } + + public void SetBizModel(AlipayObject bizModel) + { + this.bizModel = bizModel; + } + + #endregion + + #region IAlipayUploadRequest Members + + public IDictionary GetFileParameters() + { + IDictionary parameters = new Dictionary + { + { "file_content", FileContent } + }; + return parameters; + } + + #endregion + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskCreateRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskCreateRequest.cs new file mode 100644 index 000000000..60aef702e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskCreateRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.fix.task.create + /// + public class AlipayCommerceFixTaskCreateRequest : 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.commerce.fix.task.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/AlipayCommerceFixTaskQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskQueryRequest.cs new file mode 100644 index 000000000..46ea202b5 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.fix.task.query + /// + public class AlipayCommerceFixTaskQueryRequest : 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.commerce.fix.task.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/AlipayCommerceFixTaskproblemQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskproblemQueryRequest.cs new file mode 100644 index 000000000..42dc088a4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskproblemQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.fix.taskproblem.query + /// + public class AlipayCommerceFixTaskproblemQueryRequest : 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.commerce.fix.taskproblem.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/AlipayCommerceFixTaskremarkCreateRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskremarkCreateRequest.cs new file mode 100644 index 000000000..b44962595 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceFixTaskremarkCreateRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.fix.taskremark.create + /// + public class AlipayCommerceFixTaskremarkCreateRequest : 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.commerce.fix.taskremark.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/AlipayCommerceIotAdvertiserDeviceQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceIotAdvertiserDeviceQueryRequest.cs index ef097647c..c2fcdf8cf 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceIotAdvertiserDeviceQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceIotAdvertiserDeviceQueryRequest.cs @@ -8,6 +8,11 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request /// public class AlipayCommerceIotAdvertiserDeviceQueryRequest : IAlipayRequest { + /// + /// 获取商户下的设备sn列表 + /// + public string BizContent { get; set; } + #region IAlipayRequest Members private bool needEncrypt = false; private string apiVersion = "1.0"; @@ -96,7 +101,10 @@ public string GetApiVersion() public IDictionary GetParameters() { - var parameters = new AlipayDictionary(); + var parameters = new AlipayDictionary + { + { "biz_content", BizContent } + }; return parameters; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceLogisticsWaybillMinimctSyncRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceLogisticsWaybillMinimctSyncRequest.cs new file mode 100644 index 000000000..629da84f6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceLogisticsWaybillMinimctSyncRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.logistics.waybill.minimct.sync + /// + public class AlipayCommerceLogisticsWaybillMinimctSyncRequest : 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.commerce.logistics.waybill.minimct.sync"; + } + + 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/AlipayCommerceTransportEtcBindModifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportEtcBindModifyRequest.cs new file mode 100644 index 000000000..099a47be6 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportEtcBindModifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.transport.etc.bind.modify + /// + public class AlipayCommerceTransportEtcBindModifyRequest : IAlipayRequest + { + /// + /// ETC绑定用户信息修改 + /// + 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.commerce.transport.etc.bind.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/AlipayCommerceTransportParkingGoodsCreateRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsCreateRequest.cs new file mode 100644 index 000000000..47a4e33d0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsCreateRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.transport.parking.goods.create + /// + public class AlipayCommerceTransportParkingGoodsCreateRequest : 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.commerce.transport.parking.goods.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/AlipayCommerceTransportParkingGoodsModifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsModifyRequest.cs new file mode 100644 index 000000000..8b8dbc250 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsModifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.transport.parking.goods.modify + /// + public class AlipayCommerceTransportParkingGoodsModifyRequest : 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.commerce.transport.parking.goods.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/AlipayCommerceTransportParkingGoodsOnlineRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsOnlineRequest.cs new file mode 100644 index 000000000..83931a708 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsOnlineRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.transport.parking.goods.online + /// + public class AlipayCommerceTransportParkingGoodsOnlineRequest : 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.commerce.transport.parking.goods.online"; + } + + 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/SsdataDataserviceRiskAntijunkregisterQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsQueryRequest.cs similarity index 89% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntijunkregisterQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsQueryRequest.cs index 46d621e56..328b8e88c 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntijunkregisterQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingGoodsQueryRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// ssdata.dataservice.risk.antijunkregister.query + /// alipay.commerce.transport.parking.goods.query /// - public class SsdataDataserviceRiskAntijunkregisterQueryRequest : IAlipayRequest + public class AlipayCommerceTransportParkingGoodsQueryRequest : IAlipayRequest { /// - /// 蚁盾垃圾注册测试 + /// 支付宝车位运营商品查询 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "ssdata.dataservice.risk.antijunkregister.query"; + return "alipay.commerce.transport.parking.goods.query"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingReserveConfirmRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingReserveConfirmRequest.cs new file mode 100644 index 000000000..dc3f1b1ba --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportParkingReserveConfirmRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.transport.parking.reserve.confirm + /// + public class AlipayCommerceTransportParkingReserveConfirmRequest : 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.commerce.transport.parking.reserve.confirm"; + } + + 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/AlipayCommerceTransportVehicleownerMessageSendRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportVehicleownerMessageSendRequest.cs new file mode 100644 index 000000000..f7864b666 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportVehicleownerMessageSendRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.transport.vehicleowner.message.send + /// + public class AlipayCommerceTransportVehicleownerMessageSendRequest : 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.commerce.transport.vehicleowner.message.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/AlipayDataDataserviceAntdacEasyserviceQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportWorldCardscriptQueryRequest.cs similarity index 90% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataDataserviceAntdacEasyserviceQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportWorldCardscriptQueryRequest.cs index f902f8c2d..288b14e11 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataDataserviceAntdacEasyserviceQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportWorldCardscriptQueryRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// alipay.data.dataservice.antdac.easyservice.query + /// alipay.commerce.transport.world.cardscript.query /// - public class AlipayDataDataserviceAntdacEasyserviceQueryRequest : IAlipayRequest + public class AlipayCommerceTransportWorldCardscriptQueryRequest : IAlipayRequest { /// - /// dmp通用接口 + /// 生码脚本查询 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "alipay.data.dataservice.antdac.easyservice.query"; + return "alipay.commerce.transport.world.cardscript.query"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportWorldVirtualcardBatchqueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportWorldVirtualcardBatchqueryRequest.cs new file mode 100644 index 000000000..879954de1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayCommerceTransportWorldVirtualcardBatchqueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.commerce.transport.world.virtualcard.batchquery + /// + public class AlipayCommerceTransportWorldVirtualcardBatchqueryRequest : 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.commerce.transport.world.virtualcard.batchquery"; + } + + 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/AlipayEbppIndustryAntforestEventSendRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryAntforestEventSendRequest.cs new file mode 100644 index 000000000..bfdb5e761 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryAntforestEventSendRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.ebpp.industry.antforest.event.send + /// + public class AlipayEbppIndustryAntforestEventSendRequest : 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.ebpp.industry.antforest.event.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/AlipayEbppIndustryGovHealthcodeQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryGovHealthcodeQueryRequest.cs new file mode 100644 index 000000000..933dd1e11 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryGovHealthcodeQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.ebpp.industry.gov.healthcode.query + /// + public class AlipayEbppIndustryGovHealthcodeQueryRequest : 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.ebpp.industry.gov.healthcode.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/AlipayEbppIndustryGovHealthcodeVerifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryGovHealthcodeVerifyRequest.cs new file mode 100644 index 000000000..2c65c6571 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEbppIndustryGovHealthcodeVerifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.ebpp.industry.gov.healthcode.verify + /// + public class AlipayEbppIndustryGovHealthcodeVerifyRequest : 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.ebpp.industry.gov.healthcode.verify"; + } + + 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/AlipayEcoContractMerchantSyncRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractMerchantSyncRequest.cs new file mode 100644 index 000000000..c0dcbd63f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractMerchantSyncRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.eco.contract.merchant.sync + /// + public class AlipayEcoContractMerchantSyncRequest : 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.eco.contract.merchant.sync"; + } + + 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/AlipayEcoContractProcessDeleteRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractProcessDeleteRequest.cs new file mode 100644 index 000000000..df7434b72 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractProcessDeleteRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.eco.contract.process.delete + /// + public class AlipayEcoContractProcessDeleteRequest : 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.eco.contract.process.delete"; + } + + 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/AlipayEcoContractProcessSyncRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractProcessSyncRequest.cs new file mode 100644 index 000000000..dfde0c978 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoContractProcessSyncRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.eco.contract.process.sync + /// + public class AlipayEcoContractProcessSyncRequest : 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.eco.contract.process.sync"; + } + + 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/AlipayEcoDocTemplateCreateRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoDocTemplateCreateRequest.cs new file mode 100644 index 000000000..1c8d6a7ac --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoDocTemplateCreateRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.eco.doc.template.create + /// + public class AlipayEcoDocTemplateCreateRequest : IAlipayRequest + { + /// + /// 创建合同模板(E签宝) + /// + 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.eco.doc.template.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/AlipayEcoDoctemplateSettingurlQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoDoctemplateSettingurlQueryRequest.cs new file mode 100644 index 000000000..aad5fbf2f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoDoctemplateSettingurlQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.eco.doctemplate.settingurl.query + /// + public class AlipayEcoDoctemplateSettingurlQueryRequest : IAlipayRequest + { + /// + /// 获取合同模板设置地址(E签宝) + /// + 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.eco.doctemplate.settingurl.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/AlipayIserviceMindvTroublefreeruleConsultRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayIserviceMindvTroublefreeruleConsultRequest.cs new file mode 100644 index 000000000..316f86a3a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayIserviceMindvTroublefreeruleConsultRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.iservice.mindv.troublefreerule.consult + /// + public class AlipayIserviceMindvTroublefreeruleConsultRequest : 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.iservice.mindv.troublefreerule.consult"; + } + + 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/AlipayMarketingCampaignWarmcardQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayMarketingCampaignWarmcardQueryRequest.cs new file mode 100644 index 000000000..40b1cc3e3 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayMarketingCampaignWarmcardQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.marketing.campaign.warmcard.query + /// + public class AlipayMarketingCampaignWarmcardQueryRequest : 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.marketing.campaign.warmcard.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/AlipayOpenMiniVersionAuditApplyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenMiniVersionAuditApplyRequest.cs index 7bd9dd21c..37b4422fa 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenMiniVersionAuditApplyRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenMiniVersionAuditApplyRequest.cs @@ -21,17 +21,17 @@ public class AlipayOpenMiniVersionAuditApplyRequest : IAlipayUploadRequest - /// 小程序应用英文名称,如果不填默认采用当前小程序应用英文名称,3~30个字符 + /// 小程序应用英文名称,如果不填默认采用当前小程序应用英文名称,3~30个字符;小程序英文名称只允许英文和数字 /// public string AppEnglishName { get; set; } /// - /// 小程序logo图标,图片格式必须为:png、jpeg、jpg,建议上传像素为180*180,如果不填默认采用当前小程序应用logo图标 + /// 小程序logo图标,图片格式必须为:png、jpeg、jpg,建议上传像素为180*180,如果不填默认采用当前小程序应用logo图标;logo图片最大256KB /// public FileItem AppLogo { get; set; } /// - /// 小程序应用名称,如果不填默认采用当前小程序应用名称 + /// 小程序应用名称,如果不填默认采用当前小程序应用名称 小程序中文名称限制为3-20个字符 小程序中文名称只能包含中文、数字、英文及下划线 /// public string AppName { get; set; } @@ -41,7 +41,7 @@ public class AlipayOpenMiniVersionAuditApplyRequest : IAlipayUploadRequest - /// 小程序版本号 + /// 小程序版本号;请在开发版上执行提交审核操作 /// public string AppVersion { get; set; } @@ -51,62 +51,62 @@ public class AlipayOpenMiniVersionAuditApplyRequest : IAlipayUploadRequest - /// 第五张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第五张营业执照照片 + /// 第五张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序第五张营业执照照片;最大宽度2160,最大高度3840 /// public FileItem FifthLicensePic { get; set; } /// - /// 小程序第五张应用截图,不能超过4MB,图片格式只支持jpg,png + /// 小程序第五张应用截图,不能超过4MB,图片格式只支持jpg,png;小程序截图数量最小为2,最大为5 最大宽度2160,最大高度3840 /// public FileItem FifthScreenShot { get; set; } /// - /// 第一张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第一张营业执照照片 + /// 第一张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序第一张营业执照照片;最大宽度2160,最大高度3840 /// public FileItem FirstLicensePic { get; set; } /// - /// 实例化的小程序可以不用传第一张应用截图,小程序第一张应用截图,不能超过4MB,图片格式只支持jpg,png + /// 实例化的小程序可以不用传第一张应用截图,小程序第一张应用截图,不能超过4MB,图片格式只支持jpg,png;小程序截图数量最小为2,最大为5 最大宽度2160,最大高度3840 /// public FileItem FirstScreenShot { get; set; } /// - /// 第一张特殊资质图片,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325 中是否需要特殊资质,如果不填默认采用当前小程序第一张特殊资质 + /// 第一张特殊资质图片,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material 中是否需要特殊资质,如果不填默认采用当前小程序第一张特殊资质 /// public FileItem FirstSpecialLicensePic { get; set; } /// - /// 第四张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第四张营业执照照片 + /// 第四张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序第四张营业执照照片;最大宽度2160,最大高度3840 /// public FileItem FourthLicensePic { get; set; } /// - /// 小程序第四张应用截图,不能超过4MB,图片格式只支持jpg,png + /// 小程序第四张应用截图,不能超过4MB,图片格式只支持jpg,png;小程序截图数量最小为2,最大为5 最大宽度2160,最大高度3840 /// public FileItem FourthScreenShot { get; set; } /// - /// 营业执照名称,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填类目采用当前小程序应用营业执照名称。 + /// 营业执照名称,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填类目采用当前小程序应用营业执照名称。 /// public string LicenseName { get; set; } /// - /// 营业执照号,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序应用营业执照号。 + /// 营业执照号,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序应用营业执照号。 /// public string LicenseNo { get; set; } /// - /// 营业执照有效期,格式为yyyy-MM-dd,9999-12-31表示长期,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序营业执照有效期 + /// 营业执照有效期,格式为yyyy-MM-dd,9999-12-31表示长期,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序营业执照有效期 /// public string LicenseValidDate { get; set; } /// - /// 小程序备注 + /// 小程序备注;小程序备注最多500字符 /// public string Memo { get; set; } /// - /// 门头照图片,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片 + /// 门头照图片,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片;门头照支持扩展名为jpg, png;门头照最大4MB,宽度2160,高度3840 /// public FileItem OutDoorPic { get; set; } @@ -116,32 +116,32 @@ public class AlipayOpenMiniVersionAuditApplyRequest : IAlipayUploadRequest - /// 第二张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第二张营业执照照片 + /// 第二张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序第二张营业执照照片;最大宽度2160,最大高度3840 /// public FileItem SecondLicensePic { get; set; } /// - /// 实例化的小程序可以不用传第二张应用截图,小程序第二张应用截图,不能超过4MB,图片格式只支持jpg,png + /// 实例化的小程序可以不用传第二张应用截图,小程序第二张应用截图,不能超过4MB,图片格式只支持jpg,png;小程序截图数量最小为2,最大为5 最大宽度2160,最大高度3840 /// public FileItem SecondScreenShot { get; set; } /// - /// 第二张特殊资质图片文件,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325 中是否需要特殊资质,如果不填默认采用当前小程序第二张特殊资质图片 + /// 第二张特殊资质图片文件,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material 中是否需要特殊资质,如果不填默认采用当前小程序第二张特殊资质图片 /// public FileItem SecondSpecialLicensePic { get; set; } /// - /// 小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱 + /// 小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱;小程序客服电话和邮箱至少输入一个 /// public string ServiceEmail { get; set; } /// - /// 小程序客服电话,如果不填默认采用当前小程序的应用客服电话 + /// 小程序客服电话,如果不填默认采用当前小程序的应用客服电话;小程序客服电话和邮箱至少输入一个 只允许包含数字和-,5-30个字符 /// public string ServicePhone { get; set; } /// - /// 省市区信息,当区域类型为LOCATION时,不能为空,province_code不能为空,当填写city_code时,province_code不能为空,当填写area_code时,province_code和city_code不能为空。只填province_code时,该省全部选择;province_code和city_code都填时,该市全部选择。province_code,city_code和area_code都填时,该县全部选择。具体code可以参考https://docs.alipay.com/isv/10327 + /// 省市区信息,当区域类型为LOCATION时,不能为空,province_code不能为空,当填写city_code时,province_code不能为空,当填写area_code时,province_code和city_code不能为空。只填province_code时,该省全部选择;province_code和city_code都填时,该市全部选择。province_code,city_code和area_code都填时,该县全部选择。 /// public List ServiceRegionInfo { get; set; } @@ -161,17 +161,17 @@ public class AlipayOpenMiniVersionAuditApplyRequest : IAlipayUploadRequest - /// 第三张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序第三张营业执照照片 + /// 第三张营业执照照片,不能超过4MB,图片格式只支持jpg,png,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要营业执照信息,如果不填默认采用当前小程序第三张营业执照照片;最大宽度2160,最大高度3840 /// public FileItem ThirdLicensePic { get; set; } /// - /// 小程序第三张应用截图,不能超过4MB,图片格式只支持jpg,png + /// 小程序第三张应用截图,不能超过4MB,图片格式只支持jpg,png;小程序截图数量最小为2,最大为5 最大宽度2160,最大高度3840 /// public FileItem ThirdScreenShot { get; set; } /// - /// 第三张特殊资质图片文件,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要特殊资质,如果不填默认采用当前小程序第三张特殊资质 + /// 第三张特殊资质图片文件,不能超过4MB,图片格式只支持jpg、png、jepg,部分小程序类目需要提交,参照https://opendocs.alipay.com/mini/operation/material中是否需要特殊资质,如果不填默认采用当前小程序第三张特殊资质 /// public FileItem ThirdSpecialLicensePic { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPageNewcontextTransferRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPageNewcontextTransferRequest.cs new file mode 100644 index 000000000..0e3151105 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPageNewcontextTransferRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.open.page.newcontext.transfer + /// + public class AlipayOpenPageNewcontextTransferRequest : 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.page.newcontext.transfer"; + } + + 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/AlipayOpenPageOldcontextTransferRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPageOldcontextTransferRequest.cs new file mode 100644 index 000000000..8e345f9e1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPageOldcontextTransferRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.open.page.oldcontext.transfer + /// + public class AlipayOpenPageOldcontextTransferRequest : 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.page.oldcontext.transfer"; + } + + 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/AlipayOverseasRemitWithdrawNotifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasRemitWithdrawNotifyRequest.cs new file mode 100644 index 000000000..89d6bc62e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasRemitWithdrawNotifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.remit.withdraw.notify + /// + public class AlipayOverseasRemitWithdrawNotifyRequest : 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.remit.withdraw.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/AlipayOverseasTaxNeworderCreateRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTaxNeworderCreateRequest.cs new file mode 100644 index 000000000..df52d8950 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTaxNeworderCreateRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.tax.neworder.create + /// + public class AlipayOverseasTaxNeworderCreateRequest : 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.tax.neworder.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/AlipayOverseasTaxNeworderStatusSyncRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTaxNeworderStatusSyncRequest.cs new file mode 100644 index 000000000..443a517f8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTaxNeworderStatusSyncRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.tax.neworder.status.sync + /// + public class AlipayOverseasTaxNeworderStatusSyncRequest : 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.tax.neworder.status.sync"; + } + + 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/AlipayOverseasTransferCertifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferCertifyRequest.cs new file mode 100644 index 000000000..7839f7171 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferCertifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.transfer.certify + /// + public class AlipayOverseasTransferCertifyRequest : 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.transfer.certify"; + } + + 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/AlipayOverseasTransferConfirmRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferConfirmRequest.cs new file mode 100644 index 000000000..d502225a5 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferConfirmRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.transfer.confirm + /// + public class AlipayOverseasTransferConfirmRequest : 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.transfer.confirm"; + } + + 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/AlipayOverseasTransferQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferQueryRequest.cs new file mode 100644 index 000000000..851a9d0ad --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTransferQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.transfer.query + /// + public class AlipayOverseasTransferQueryRequest : 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.transfer.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/AlipayDataDataserviceLbsDiscountBatchqueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRateCurrencyBatchqueryRequest.cs similarity index 89% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataDataserviceLbsDiscountBatchqueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRateCurrencyBatchqueryRequest.cs index 465139499..dd16c95f2 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayDataDataserviceLbsDiscountBatchqueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRateCurrencyBatchqueryRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// alipay.data.dataservice.lbs.discount.batchquery + /// alipay.overseas.travel.rate.currency.batchquery /// - public class AlipayDataDataserviceLbsDiscountBatchqueryRequest : IAlipayRequest + public class AlipayOverseasTravelRateCurrencyBatchqueryRequest : IAlipayRequest { /// - /// 基于LBS的优惠券输出接口 + /// 跨境游汇率币种批量查询 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "alipay.data.dataservice.lbs.discount.batchquery"; + return "alipay.overseas.travel.rate.currency.batchquery"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRatePromotionVerifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRatePromotionVerifyRequest.cs new file mode 100644 index 000000000..2639370a3 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRatePromotionVerifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.travel.rate.promotion.verify + /// + public class AlipayOverseasTravelRatePromotionVerifyRequest : 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.rate.promotion.verify"; + } + + 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/AlipayOverseasTravelRateRateinfoQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRateRateinfoQueryRequest.cs new file mode 100644 index 000000000..847edcc35 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelRateRateinfoQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.overseas.travel.rate.rateinfo.query + /// + public class AlipayOverseasTravelRateRateinfoQueryRequest : IAlipayRequest + { + /// + /// demo-跨境游单个汇率查询接口 + /// + 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.rate.rateinfo.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/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryRequest.cs new file mode 100644 index 000000000..f9496e0d4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.pcredit.huabei.pcbenefitcore.bfactivitfacade.query + /// + public class AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryRequest : 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.pcredit.huabei.pcbenefitcore.bfactivitfacade.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/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryRequest.cs new file mode 100644 index 000000000..e82b572b4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.pcredit.huabei.pcreditamount.queryprocessor.query + /// + public class AlipayPcreditHuabeiPcreditamountQueryprocessorQueryRequest : 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.pcredit.huabei.pcreditamount.queryprocessor.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/AlipaySocialBaseMcommentFootprintSendRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySocialBaseMcommentFootprintSendRequest.cs new file mode 100644 index 000000000..fe33fb99b --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySocialBaseMcommentFootprintSendRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.social.base.mcomment.footprint.send + /// + public class AlipaySocialBaseMcommentFootprintSendRequest : 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.social.base.mcomment.footprint.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/AlipaySocialBaseMcommentFootprintUploadRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySocialBaseMcommentFootprintUploadRequest.cs new file mode 100644 index 000000000..4b5a9b20c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySocialBaseMcommentFootprintUploadRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.social.base.mcomment.footprint.upload + /// + public class AlipaySocialBaseMcommentFootprintUploadRequest : 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.social.base.mcomment.footprint.upload"; + } + + 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/AlipayTradeCreditFinancePayRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeCreditFinancePayRequest.cs new file mode 100644 index 000000000..1beddade9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeCreditFinancePayRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.trade.credit.finance.pay + /// + public class AlipayTradeCreditFinancePayRequest : 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.trade.credit.finance.pay"; + } + + 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/AlipayTradeCreditFinanceRefundRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeCreditFinanceRefundRequest.cs new file mode 100644 index 000000000..c4a134bcb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeCreditFinanceRefundRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.trade.credit.finance.refund + /// + public class AlipayTradeCreditFinanceRefundRequest : 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.trade.credit.finance.refund"; + } + + 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/AlipaySecurityRiskDirectionalRainscoreQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayOtpresolutionmethodsQueryRequest.cs similarity index 89% rename from src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySecurityRiskDirectionalRainscoreQueryRequest.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayOtpresolutionmethodsQueryRequest.cs index 4aacd0b5c..984d27f13 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipaySecurityRiskDirectionalRainscoreQueryRequest.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayOtpresolutionmethodsQueryRequest.cs @@ -4,12 +4,12 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// - /// alipay.security.risk.directional.rainscore.query + /// alipay.user.applepay.otpresolutionmethods.query /// - public class AlipaySecurityRiskDirectionalRainscoreQueryRequest : IAlipayRequest + public class AlipayUserApplepayOtpresolutionmethodsQueryRequest : IAlipayRequest { /// - /// “蚁盾”风险评分定向接口服务 + /// ApplePay easy开卡OTP校验方法查询 /// public string BizContent { get; set; } @@ -86,7 +86,7 @@ public string GetProdCode() public string GetApiName() { - return "alipay.security.risk.directional.rainscore.query"; + return "alipay.user.applepay.otpresolutionmethods.query"; } public void SetApiVersion(string apiVersion) diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayPbstatusQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayPbstatusQueryRequest.cs new file mode 100644 index 000000000..33c016327 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayPbstatusQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.user.applepay.pbstatus.query + /// + public class AlipayUserApplepayPbstatusQueryRequest : 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.user.applepay.pbstatus.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/AlipayUserApplepayProvisioningbundleModifyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayProvisioningbundleModifyRequest.cs new file mode 100644 index 000000000..e20757fa8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserApplepayProvisioningbundleModifyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.user.applepay.provisioningbundle.modify + /// + public class AlipayUserApplepayProvisioningbundleModifyRequest : 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.user.applepay.provisioningbundle.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/AlipayUserInfoInnerQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserInfoInnerQueryRequest.cs new file mode 100644 index 000000000..b74fc1c32 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserInfoInnerQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.user.info.inner.query + /// + public class AlipayUserInfoInnerQueryRequest : 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.user.info.inner.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/AlipayZdataserviceUnidataQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayZdataserviceUnidataQueryRequest.cs new file mode 100644 index 000000000..38d264b4c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayZdataserviceUnidataQueryRequest.cs @@ -0,0 +1,129 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// alipay.zdataservice.unidata.query + /// + public class AlipayZdataserviceUnidataQueryRequest : IAlipayRequest + { + /// + /// 通用的查询入参 + /// + public string QueryCondition { get; set; } + + /// + /// 返回数据的类型,内部业务系统分配 + /// + public string UniqKey { 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.zdataservice.unidata.query"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary + { + { "query_condition", QueryCondition }, + { "uniq_key", UniqKey } + }; + 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/AnttechBlockchainFinanceAssetRegisterApplyRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceAssetRegisterApplyRequest.cs new file mode 100644 index 000000000..a9d04a731 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceAssetRegisterApplyRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// anttech.blockchain.finance.asset.register.apply + /// + public class AnttechBlockchainFinanceAssetRegisterApplyRequest : 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.asset.register.apply"; + } + + 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/AnttechBlockchainFinanceAssetRegisterSubmitRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceAssetRegisterSubmitRequest.cs new file mode 100644 index 000000000..c7c93fea8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/AnttechBlockchainFinanceAssetRegisterSubmitRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// anttech.blockchain.finance.asset.register.submit + /// + public class AnttechBlockchainFinanceAssetRegisterSubmitRequest : 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.asset.register.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/KoubeiServindustryPromoGuidequotaQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoGuidequotaQueryRequest.cs new file mode 100644 index 000000000..d5a89f647 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoGuidequotaQueryRequest.cs @@ -0,0 +1,115 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// koubei.servindustry.promo.guidequota.query + /// + public class KoubeiServindustryPromoGuidequotaQueryRequest : IAlipayRequest + { + #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 "koubei.servindustry.promo.guidequota.query"; + } + + public void SetApiVersion(string apiVersion) + { + this.apiVersion = apiVersion; + } + + public string GetApiVersion() + { + return apiVersion; + } + + public IDictionary GetParameters() + { + var parameters = new AlipayDictionary(); + 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/KoubeiServindustryPromoIntelligentguideConsultRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoIntelligentguideConsultRequest.cs new file mode 100644 index 000000000..27c2729ce --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoIntelligentguideConsultRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// koubei.servindustry.promo.intelligentguide.consult + /// + public class KoubeiServindustryPromoIntelligentguideConsultRequest : IAlipayRequest + { + /// + /// isv咨询智能导购项目推荐 + /// + 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 "koubei.servindustry.promo.intelligentguide.consult"; + } + + 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/KoubeiServindustryPromoIntelligentguideOrderRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoIntelligentguideOrderRequest.cs new file mode 100644 index 000000000..a4237e1f3 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiServindustryPromoIntelligentguideOrderRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// koubei.servindustry.promo.intelligentguide.order + /// + public class KoubeiServindustryPromoIntelligentguideOrderRequest : IAlipayRequest + { + /// + /// isv开通商户智能导购权限 + /// + 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 "koubei.servindustry.promo.intelligentguide.order"; + } + + 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/KoubeiTradeOrderAggregateConsultRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiTradeOrderAggregateConsultRequest.cs new file mode 100644 index 000000000..7cc7d53c1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiTradeOrderAggregateConsultRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// koubei.trade.order.aggregate.consult + /// + public class KoubeiTradeOrderAggregateConsultRequest : 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 "koubei.trade.order.aggregate.consult"; + } + + 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/MybankCreditSupplychainCreditpaySyncnameCreateRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/MybankCreditSupplychainCreditpaySyncnameCreateRequest.cs new file mode 100644 index 000000000..5781a6a98 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/MybankCreditSupplychainCreditpaySyncnameCreateRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// mybank.credit.supplychain.creditpay.syncname.create + /// + public class MybankCreditSupplychainCreditpaySyncnameCreateRequest : IAlipayRequest + { + /// + /// 供应商-1688和赊呗融合-卖家同步接口 + /// + 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 "mybank.credit.supplychain.creditpay.syncname.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/ZhimaMerchantContractCommonCancelRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/ZhimaMerchantContractCommonCancelRequest.cs new file mode 100644 index 000000000..a3a0b99ee --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/ZhimaMerchantContractCommonCancelRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// zhima.merchant.contract.common.cancel + /// + public class ZhimaMerchantContractCommonCancelRequest : 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 "zhima.merchant.contract.common.cancel"; + } + + 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/ZhimaMerchantContractPageQueryRequest.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Request/ZhimaMerchantContractPageQueryRequest.cs new file mode 100644 index 000000000..8159319b4 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Request/ZhimaMerchantContractPageQueryRequest.cs @@ -0,0 +1,123 @@ +using System.Collections.Generic; +using Essensoft.AspNetCore.Payment.Alipay.Response; + +namespace Essensoft.AspNetCore.Payment.Alipay.Request +{ + /// + /// zhima.merchant.contract.page.query + /// + public class ZhimaMerchantContractPageQueryRequest : 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 "zhima.merchant.contract.page.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/Response/AlipayAccountExrateRateSyncResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayAccountExrateRateSyncResponse.cs index 23568da29..03bba39b3 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayAccountExrateRateSyncResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayAccountExrateRateSyncResponse.cs @@ -1,9 +1,16 @@ -namespace Essensoft.AspNetCore.Payment.Alipay.Response +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// /// AlipayAccountExrateRateSyncResponse. /// public class AlipayAccountExrateRateSyncResponse : AlipayResponse { + /// + /// 主站openapi通用接口操作返回结果 + /// + [JsonPropertyName("result_context")] + public string ResultContext { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncInvmodeCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncInvmodeCreateResponse.cs new file mode 100644 index 000000000..23524d3bb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncInvmodeCreateResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBossFncInvmodeCreateResponse. + /// + public class AlipayBossFncInvmodeCreateResponse : AlipayResponse + { + /// + /// 是否调用成功 + /// + [JsonPropertyName("is_success")] + public string IsSuccess { get; set; } + + /// + /// 结果码 + /// + [JsonPropertyName("result_code")] + public string ResultCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleCaptureCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleCaptureCreateResponse.cs new file mode 100644 index 000000000..347f68d48 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleCaptureCreateResponse.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBossFncSettleCaptureCreateResponse. + /// + public class AlipayBossFncSettleCaptureCreateResponse : AlipayResponse + { + /// + /// 请款创建数据对象 + /// + [JsonPropertyName("result_set")] + public List ResultSet { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleReceivableConfirmResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleReceivableConfirmResponse.cs new file mode 100644 index 000000000..c311c2d87 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleReceivableConfirmResponse.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBossFncSettleReceivableConfirmResponse. + /// + public class AlipayBossFncSettleReceivableConfirmResponse : AlipayResponse + { + /// + /// 应收确认结果列表 + /// + [JsonPropertyName("result_set")] + public List ResultSet { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleSettlementbillCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleSettlementbillCreateResponse.cs new file mode 100644 index 000000000..8c89b8438 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossFncSettleSettlementbillCreateResponse.cs @@ -0,0 +1,17 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBossFncSettleSettlementbillCreateResponse. + /// + public class AlipayBossFncSettleSettlementbillCreateResponse : AlipayResponse + { + /// + /// 返回参数 + /// + [JsonPropertyName("result_set")] + public SettlementbillOpenApiDTO ResultSet { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlawOrderhitstatusQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlawOrderhitstatusQueryResponse.cs new file mode 100644 index 000000000..1e9b1a893 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlawOrderhitstatusQueryResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBossProdAntlawOrderhitstatusQueryResponse. + /// + public class AlipayBossProdAntlawOrderhitstatusQueryResponse : AlipayResponse + { + /// + /// 是否存在有效的纸质用印, true表示存在, false表示不存在 + /// + [JsonPropertyName("hit_result")] + public bool HitResult { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainNotaryprocsumQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainNotaryprocsumQueryResponse.cs new file mode 100644 index 000000000..3b53a3629 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainNotaryprocsumQueryResponse.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBossProdAntlegalchainNotaryprocsumQueryResponse. + /// + public class AlipayBossProdAntlegalchainNotaryprocsumQueryResponse : AlipayResponse + { + /// + /// 法链业务ID,用于查询上链状态 + /// + [JsonPropertyName("bas_data_id")] + public string BasDataId { get; set; } + + /// + /// 操作记录列表 + /// + [JsonPropertyName("record_list")] + public List RecordList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainOrderApplyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainOrderApplyResponse.cs new file mode 100644 index 000000000..b05c4857f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBossProdAntlegalchainOrderApplyResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBossProdAntlegalchainOrderApplyResponse. + /// + public class AlipayBossProdAntlegalchainOrderApplyResponse : AlipayResponse + { + /// + /// 法链业务ID,用于查询上链状态 + /// + [JsonPropertyName("bas_data_id")] + public string BasDataId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubCloseResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubCloseResponse.cs new file mode 100644 index 000000000..46c04f5ca --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubCloseResponse.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBusinessPaymenthubCloseResponse. + /// + public class AlipayBusinessPaymenthubCloseResponse : AlipayResponse + { + /// + /// 聚合支付的支付渠道,支付宝分配。 + /// + [JsonPropertyName("channel")] + public string Channel { get; set; } + + /// + /// 支付金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("pay_amount")] + public string PayAmount { get; set; } + + /// + /// 支付请求号,对应一笔业务订单下的一次支付请求,不同支付请求需保证请求号唯一 + /// + [JsonPropertyName("pay_request_no")] + public string PayRequestNo { get; set; } + + /// + /// 支付id,支付宝针对每一笔支付请求生成的唯一支付凭证 + /// + [JsonPropertyName("payment_id")] + public string PaymentId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubDisburseResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubDisburseResponse.cs new file mode 100644 index 000000000..50be6ba9f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubDisburseResponse.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBusinessPaymenthubDisburseResponse. + /// + public class AlipayBusinessPaymenthubDisburseResponse : AlipayResponse + { + /// + /// 聚合支付的支付渠道,支付宝分配。 + /// + [JsonPropertyName("channel")] + public string Channel { get; set; } + + /// + /// 打款金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("disburse_amount")] + public string DisburseAmount { get; set; } + + /// + /// 打款id,支付宝针对每一笔打款请求生成的唯一打款凭证 + /// + [JsonPropertyName("disburse_id")] + public string DisburseId { get; set; } + + /// + /// 打款请求号,对应一笔业务订单下的一次打款请求,不同打款请求需保证请求号唯一 + /// + [JsonPropertyName("disburse_request_no")] + public string DisburseRequestNo { get; set; } + + /// + /// 打款状态,目前支持如下值: WAIT(打款已受理),打款到银行渠道时会有该状态,业务上需等待后续的异步打款通知来确定最终的打款结果; SUCCESS(打款成功),该状态表示该笔打款已成功处理; FAIL(打款失败),该状态表示该笔打款已失败,并且不可重试,后续如果要重新打款,需要更换打款请求号。 + /// + [JsonPropertyName("disburse_status")] + public string DisburseStatus { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubPayResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubPayResponse.cs new file mode 100644 index 000000000..45dac69e2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubPayResponse.cs @@ -0,0 +1,40 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBusinessPaymenthubPayResponse. + /// + public class AlipayBusinessPaymenthubPayResponse : AlipayResponse + { + /// + /// 聚合支付的支付渠道,支付宝分配。 + /// + [JsonPropertyName("channel")] + public string Channel { get; set; } + + /// + /// 支付金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("pay_amount")] + public string PayAmount { get; set; } + + /// + /// 支付请求号,对应一笔业务订单下的一次支付请求,不同支付请求需保证请求号唯一 + /// + [JsonPropertyName("pay_request_no")] + public string PayRequestNo { get; set; } + + /// + /// 支付状态,目前支持如下值: WAIT(支付已受理),异步支付场景,受理成功后为该状态,业务上需等待后续的异步成功通知; SUCCESS(支付成功),该状态表示该笔支付已成功处理; FAIL(支付失败),该状态表示该笔支付已失败,并且不可重试,后续如果要重新支付,需要更换支付请求号。 + /// + [JsonPropertyName("pay_status")] + public string PayStatus { get; set; } + + /// + /// 支付id,支付宝针对每一笔支付请求生成的唯一支付凭证,后续打款和退款时候需带入此id + /// + [JsonPropertyName("payment_id")] + public string PaymentId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubQueryResponse.cs new file mode 100644 index 000000000..69e83b4b5 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubQueryResponse.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBusinessPaymenthubQueryResponse. + /// + public class AlipayBusinessPaymenthubQueryResponse : AlipayResponse + { + /// + /// 支付,打款或者退款的操作金额 + /// + [JsonPropertyName("amount")] + public string Amount { get; set; } + + /// + /// 聚合支付的支付渠道,支付宝分配。 + /// + [JsonPropertyName("channel")] + public string Channel { get; set; } + + /// + /// 支付、打款、退款时候支付宝返回的唯一凭证id,调用方查询时候建议优先传入该值,内部处理时优先以该值为准。instruction_id和out_request_no不能同时为空。 + /// + [JsonPropertyName("instruction_id")] + public string InstructionId { get; set; } + + /// + /// 指令类型,表明该笔查询是支付,打款还是退款,跟out_request_no一起使用。 支付:PAY 打款:DISBURSE 退款:REFUND + /// + [JsonPropertyName("instruction_type")] + public string InstructionType { get; set; } + + /// + /// 支付、打款或退款请求号,out_request_no和instruction_id不能同时为空。 + /// + [JsonPropertyName("out_request_no")] + public string OutRequestNo { get; set; } + + /// + /// 支付,打款或者退款的状态,目前支持如下值: WAIT(指令操作已受理); SUCCESS(指令操作成功); FAIL(指令操作失败)。 + /// + [JsonPropertyName("status")] + public string Status { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubRefundResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubRefundResponse.cs new file mode 100644 index 000000000..3e4499552 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayBusinessPaymenthubRefundResponse.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayBusinessPaymenthubRefundResponse. + /// + public class AlipayBusinessPaymenthubRefundResponse : AlipayResponse + { + /// + /// 聚合支付的支付渠道,支付宝分配。 + /// + [JsonPropertyName("channel")] + public string Channel { get; set; } + + /// + /// 退款金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("refund_amount")] + public string RefundAmount { get; set; } + + /// + /// 退款指令id,支付宝针对每一笔退款请求生成的唯一退款凭证号 + /// + [JsonPropertyName("refund_id")] + public List RefundId { get; set; } + + /// + /// 退款请求号,对应一笔业务订单下的一次退款请求,不退款请求需保证请求号唯一 + /// + [JsonPropertyName("refund_request_no")] + public string RefundRequestNo { get; set; } + + /// + /// 退款状态,目前支持如下值: SUCCESS(退款成功),该状态表示该笔退款已成功处理; FAIL(退款失败),该状态表示该笔退款已失败,并且不可重试,后续如果要重新退款,需要更换退款请求号。 + /// + [JsonPropertyName("refund_status")] + public string RefundStatus { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceEducateAuthenticateCampuscardCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceEducateAuthenticateCampuscardCreateResponse.cs new file mode 100644 index 000000000..aafdaf6a0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceEducateAuthenticateCampuscardCreateResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceEducateAuthenticateCampuscardCreateResponse. + /// + public class AlipayCommerceEducateAuthenticateCampuscardCreateResponse : AlipayResponse + { + /// + /// 如果学生学籍插入成功,则返回SUCCESS , 失败返回FAIL + /// + [JsonPropertyName("result")] + public string Result { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixAttachmentUploadResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixAttachmentUploadResponse.cs new file mode 100644 index 000000000..75d8e8c24 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixAttachmentUploadResponse.cs @@ -0,0 +1,17 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceFixAttachmentUploadResponse. + /// + public class AlipayCommerceFixAttachmentUploadResponse : AlipayResponse + { + /// + /// 上传文件的内容。 + /// + [JsonPropertyName("file_info")] + public FixFileInfo FileInfo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskCreateResponse.cs new file mode 100644 index 000000000..85d903608 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskCreateResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceFixTaskCreateResponse. + /// + public class AlipayCommerceFixTaskCreateResponse : AlipayResponse + { + /// + /// 创建成功工单的唯一标识id。 + /// + [JsonPropertyName("task_id")] + public long TaskId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskQueryResponse.cs new file mode 100644 index 000000000..a8f364dcd --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskQueryResponse.cs @@ -0,0 +1,156 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceFixTaskQueryResponse. + /// + public class AlipayCommerceFixTaskQueryResponse : AlipayResponse + { + /// + /// 部分规则场景下,对提报问题进行的二次分类 + /// + [JsonPropertyName("biz_type")] + public string BizType { get; set; } + + /// + /// 任务完结时间。用户确认后的时间。如果业务场景中不需要用户确认,则这里和start_confirm_time的值一样。 + /// + [JsonPropertyName("close_time")] + public string CloseTime { get; set; } + + /// + /// 问题的处理详情,json格式的数据。数据详情请与业务接口人沟通,。 + /// + [JsonPropertyName("conclusion_ext_info")] + public string ConclusionExtInfo { get; set; } + + /// + /// 处理结论的说明 + /// + [JsonPropertyName("conclusion_memo")] + public string ConclusionMemo { get; set; } + + /// + /// 处理结论-问题类型 + /// + [JsonPropertyName("conclusion_type")] + public string ConclusionType { get; set; } + + /// + /// 工单关联的协作任务。一个工单可能涉及多方处理,这个列表包含全部的处理历史信息 + /// + [JsonPropertyName("cooperations")] + public List Cooperations { get; set; } + + /// + /// 当前处理中的协作任务id + /// + [JsonPropertyName("current_cooperation_id")] + public long CurrentCooperationId { get; set; } + + /// + /// 当前处理人的名字,脱敏显示 + /// + [JsonPropertyName("duty_owner_name")] + public string DutyOwnerName { get; set; } + + /// + /// 当前处理人的联系方式,脱敏显示 + /// + [JsonPropertyName("duty_owner_phone")] + public string DutyOwnerPhone { get; set; } + + /// + /// 定向开放场景中,可能同时支持多个业务场景,允许各业务场景自定义个性化提交的数据。数据格式请提前与业务接口人确定 + /// + [JsonPropertyName("extra_info")] + public FixExtData ExtraInfo { get; set; } + + /// + /// 工单中包含的文件信息,可以通过download_url下载到文件内容 + /// + [JsonPropertyName("files")] + public List Files { get; set; } + + /// + /// 任务首次受理时间。代表任务开始处理 + /// + [JsonPropertyName("first_apply_time")] + public string FirstApplyTime { get; set; } + + /// + /// 工单的创建时间 + /// + [JsonPropertyName("gmt_create")] + public string GmtCreate { get; set; } + + /// + /// 用户的问题是否解决。yes:已解决;no:未解决 + /// + [JsonPropertyName("is_resolved")] + public string IsResolved { get; set; } + + /// + /// 首次提报时的问题分类信息。 + /// + [JsonPropertyName("original_problem")] + public FixProblemDTO OriginalProblem { get; set; } + + /// + /// 当前处理方的公司名,脱敏显示 + /// + [JsonPropertyName("owner_name")] + public string OwnerName { get; set; } + + /// + /// 当前的问题分类描述信息。问题可能多次流转,这里是当前最新的问题分类描述信息 + /// + [JsonPropertyName("problem")] + public FixProblemDTO Problem { get; set; } + + /// + /// 工单的规则场景 + /// + [JsonPropertyName("rule_scene")] + public string RuleScene { get; set; } + + /// + /// 任务开始确认时间。代表处理方已经完成任务处理,等待提交问题的用户确认 + /// + [JsonPropertyName("start_confirm_time")] + public string StartConfirmTime { get; set; } + + /// + /// 工单当前状态 + /// + [JsonPropertyName("status")] + public string Status { get; set; } + + /// + /// 当前状态的中文名 + /// + [JsonPropertyName("status_name")] + public string StatusName { get; set; } + + /// + /// 用来标识任务类型。 枚举值:techConsult:技术咨询;malfunctionReport:设备报障 + /// + [JsonPropertyName("task_category")] + public string TaskCategory { get; set; } + + /// + /// 工单的任务类型 + /// + [JsonPropertyName("task_type")] + public string TaskType { get; set; } + + /// + /// 问题未能解决的原因说明 + /// + [JsonPropertyName("unresolved_reason")] + public string UnresolvedReason { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskproblemQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskproblemQueryResponse.cs new file mode 100644 index 000000000..c07f9d03d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskproblemQueryResponse.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceFixTaskproblemQueryResponse. + /// + public class AlipayCommerceFixTaskproblemQueryResponse : AlipayResponse + { + /// + /// 查询到的问题信息列表 + /// + [JsonPropertyName("problem_list")] + public List ProblemList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskremarkCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskremarkCreateResponse.cs new file mode 100644 index 000000000..e96d70812 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceFixTaskremarkCreateResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceFixTaskremarkCreateResponse. + /// + public class AlipayCommerceFixTaskremarkCreateResponse : AlipayResponse + { + /// + /// 创建成功的备注id + /// + [JsonPropertyName("id")] + public long Id { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceLogisticsWaybillMinimctSyncResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceLogisticsWaybillMinimctSyncResponse.cs new file mode 100644 index 000000000..cb9261fa5 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceLogisticsWaybillMinimctSyncResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceLogisticsWaybillMinimctSyncResponse. + /// + public class AlipayCommerceLogisticsWaybillMinimctSyncResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportEtcBindModifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportEtcBindModifyResponse.cs new file mode 100644 index 000000000..0dd775038 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportEtcBindModifyResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportEtcBindModifyResponse. + /// + public class AlipayCommerceTransportEtcBindModifyResponse : AlipayResponse + { + /// + /// 是否更新成功;true成功/false失败 + /// + [JsonPropertyName("update_result")] + public bool UpdateResult { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsCreateResponse.cs new file mode 100644 index 000000000..04d27e27b --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsCreateResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportParkingGoodsCreateResponse. + /// + public class AlipayCommerceTransportParkingGoodsCreateResponse : AlipayResponse + { + /// + /// 支付宝商品ID列表 + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// isv内部产生商品ID + /// + [JsonPropertyName("out_id")] + public string OutId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsModifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsModifyResponse.cs new file mode 100644 index 000000000..eca73313e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsModifyResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportParkingGoodsModifyResponse. + /// + public class AlipayCommerceTransportParkingGoodsModifyResponse : AlipayResponse + { + /// + /// 支付宝商品唯一ID + /// + [JsonPropertyName("goods_id")] + public string GoodsId { get; set; } + + /// + /// isv内部产生商品ID(goods_id和out_id不能同时为空) + /// + [JsonPropertyName("out_id")] + public string OutId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsOnlineResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsOnlineResponse.cs new file mode 100644 index 000000000..af3b87c88 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsOnlineResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportParkingGoodsOnlineResponse. + /// + public class AlipayCommerceTransportParkingGoodsOnlineResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsQueryResponse.cs new file mode 100644 index 000000000..a980542c8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingGoodsQueryResponse.cs @@ -0,0 +1,17 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportParkingGoodsQueryResponse. + /// + public class AlipayCommerceTransportParkingGoodsQueryResponse : AlipayResponse + { + /// + /// 商品列表 + /// + [JsonPropertyName("parking_goods_detail")] + public ParkingGoodsDetail ParkingGoodsDetail { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingReserveConfirmResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingReserveConfirmResponse.cs new file mode 100644 index 000000000..4c7ca9fcc --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportParkingReserveConfirmResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportParkingReserveConfirmResponse. + /// + public class AlipayCommerceTransportParkingReserveConfirmResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerMessageSendResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerMessageSendResponse.cs new file mode 100644 index 000000000..92505e2db --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerMessageSendResponse.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportVehicleownerMessageSendResponse. + /// + public class AlipayCommerceTransportVehicleownerMessageSendResponse : AlipayResponse + { + /// + /// 批量发送结果 + /// + [JsonPropertyName("send_result_list")] + public List SendResultList { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementQueryResponse.cs index d65055b93..9f7951215 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementQueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementQueryResponse.cs @@ -57,6 +57,12 @@ public class AlipayCommerceTransportVehicleownerSettlementQueryResponse : Alipay [JsonPropertyName("plate_no")] public string PlateNo { get; set; } + /// + /// 退款总金额, 单位为元 + /// + [JsonPropertyName("refund_amount")] + public string RefundAmount { get; set; } + /// /// 打款给卖家的时间(收单为支付宝必返回) /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementRefundResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementRefundResponse.cs index 3deb67e7a..f756c7649 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementRefundResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportVehicleownerSettlementRefundResponse.cs @@ -19,6 +19,12 @@ public class AlipayCommerceTransportVehicleownerSettlementRefundResponse : Alipa [JsonPropertyName("gmt_refund_pay")] public string GmtRefundPay { get; set; } + /// + /// 退款外部请求号,多次退款会有 + /// + [JsonPropertyName("out_request_no")] + public string OutRequestNo { get; set; } + /// /// 商户订单号 /// @@ -31,6 +37,12 @@ public class AlipayCommerceTransportVehicleownerSettlementRefundResponse : Alipa [JsonPropertyName("refund_amount")] public string RefundAmount { get; set; } + /// + /// 支付宝收单: "RI", "退款中"; "R", "已退款"; "PR", "部分退款"; 银行收单: "PART_PROCESS_REFUND", "受理部分退款"; "IN_PROCESSING_REFUND", "受理退款中"; "PROCESS_REFUND", "已受理退款". + /// + [JsonPropertyName("refund_status")] + public string RefundStatus { get; set; } + /// /// 支付宝交易号 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldCardscriptQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldCardscriptQueryResponse.cs new file mode 100644 index 000000000..61f232ea1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldCardscriptQueryResponse.cs @@ -0,0 +1,35 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportWorldCardscriptQueryResponse. + /// + public class AlipayCommerceTransportWorldCardscriptQueryResponse : AlipayResponse + { + /// + /// 查询脚本的时间 + /// + [JsonPropertyName("current_time")] + public string CurrentTime { get; set; } + + /// + /// 基础的rpc响应信息 + /// + [JsonPropertyName("offlinepay_base_rpc_response_info")] + public OfflinepayBaseRPCResponseInfo OfflinepayBaseRpcResponseInfo { get; set; } + + /// + /// 生码脚本 + /// + [JsonPropertyName("script_code")] + public string ScriptCode { get; set; } + + /// + /// 脚本签名 + /// + [JsonPropertyName("script_mac")] + public string ScriptMac { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldVirtualcardBatchqueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldVirtualcardBatchqueryResponse.cs new file mode 100644 index 000000000..9f69aa41d --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayCommerceTransportWorldVirtualcardBatchqueryResponse.cs @@ -0,0 +1,30 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayCommerceTransportWorldVirtualcardBatchqueryResponse. + /// + public class AlipayCommerceTransportWorldVirtualcardBatchqueryResponse : AlipayResponse + { + /// + /// 虚拟卡信息查询结果列表 + /// + [JsonPropertyName("card_models")] + public List CardModels { get; set; } + + /// + /// 错误消息 + /// + [JsonPropertyName("error_message")] + public string ErrorMessage { get; set; } + + /// + /// 业务错误码 + /// + [JsonPropertyName("sub_error_code")] + public string SubErrorCode { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataDataserviceAntdacEasyserviceQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataDataserviceAntdacEasyserviceQueryResponse.cs deleted file mode 100644 index 85e82e3c7..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataDataserviceAntdacEasyserviceQueryResponse.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// AlipayDataDataserviceAntdacEasyserviceQueryResponse. - /// - public class AlipayDataDataserviceAntdacEasyserviceQueryResponse : AlipayResponse - { - /// - /// 方法返回值+json字符串格式 - /// - [JsonPropertyName("ret_val")] - public string RetVal { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryAntforestEventSendResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryAntforestEventSendResponse.cs new file mode 100644 index 000000000..6428a5f5a --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryAntforestEventSendResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEbppIndustryAntforestEventSendResponse. + /// + public class AlipayEbppIndustryAntforestEventSendResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeQueryResponse.cs new file mode 100644 index 000000000..4cf7e2bc2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeQueryResponse.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEbppIndustryGovHealthcodeQueryResponse. + /// + public class AlipayEbppIndustryGovHealthcodeQueryResponse : AlipayResponse + { + /// + /// 码的颜色,红/黄/绿/审核中,分别对应如下: red/yellow/green/init, + /// + [JsonPropertyName("code_color")] + public string CodeColor { get; set; } + + /// + /// 生成的健康码码值 + /// + [JsonPropertyName("code_content")] + public string CodeContent { get; set; } + + /// + /// 码值刷新的时间,可能为空 + /// + [JsonPropertyName("refresh_time")] + public string RefreshTime { get; set; } + + /// + /// 姓名 + /// + [JsonPropertyName("user_name")] + public string UserName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeVerifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeVerifyResponse.cs new file mode 100644 index 000000000..fdd9c05cb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEbppIndustryGovHealthcodeVerifyResponse.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEbppIndustryGovHealthcodeVerifyResponse. + /// + public class AlipayEbppIndustryGovHealthcodeVerifyResponse : AlipayResponse + { + /// + /// 码的颜色,红/黄/绿/审核中,分别对应如下: red/yellow/green/init + /// + [JsonPropertyName("code_color")] + public string CodeColor { get; set; } + + /// + /// 生成的健康码码值 + /// + [JsonPropertyName("qr_code")] + public string QrCode { get; set; } + + /// + /// 码值刷新的时间,可能为空 + /// + [JsonPropertyName("refresh_time")] + public string RefreshTime { get; set; } + + /// + /// 姓名 + /// + [JsonPropertyName("user_name")] + public string UserName { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractMerchantSyncResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractMerchantSyncResponse.cs new file mode 100644 index 000000000..16131737b --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractMerchantSyncResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEcoContractMerchantSyncResponse. + /// + public class AlipayEcoContractMerchantSyncResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessDeleteResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessDeleteResponse.cs new file mode 100644 index 000000000..4e57914c9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessDeleteResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEcoContractProcessDeleteResponse. + /// + public class AlipayEcoContractProcessDeleteResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessSyncResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessSyncResponse.cs new file mode 100644 index 000000000..5975cdcbd --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoContractProcessSyncResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEcoContractProcessSyncResponse. + /// + public class AlipayEcoContractProcessSyncResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDocTemplateCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDocTemplateCreateResponse.cs new file mode 100644 index 000000000..6cad5a01e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDocTemplateCreateResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEcoDocTemplateCreateResponse. + /// + public class AlipayEcoDocTemplateCreateResponse : AlipayResponse + { + /// + /// 模板id(请记录模板ID(templateId),后续发起合同签署需要使用到) + /// + [JsonPropertyName("template_id")] + public string TemplateId { get; set; } + + /// + /// 文件直传地址,需要用此上传地址使用PUT方式上传文件,只有文件上传后模板才可用 + /// + [JsonPropertyName("upload_url")] + public string UploadUrl { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDoctemplateSettingurlQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDoctemplateSettingurlQueryResponse.cs new file mode 100644 index 000000000..2cf769346 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoDoctemplateSettingurlQueryResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayEcoDoctemplateSettingurlQueryResponse. + /// + public class AlipayEcoDoctemplateSettingurlQueryResponse : AlipayResponse + { + /// + /// 模板设置地址 + /// + [JsonPropertyName("setting_url")] + public string SettingUrl { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayFundTransCommonQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayFundTransCommonQueryResponse.cs index 0a9cf83c2..e08ad2c61 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayFundTransCommonQueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayFundTransCommonQueryResponse.cs @@ -68,7 +68,7 @@ public class AlipayFundTransCommonQueryResponse : AlipayResponse public string PayFundOrderId { get; set; } /// - /// 转账单据状态。可能出现的状态如下: SUCCESS:转账成功; WAIT_PAY:等待支付; CLOSED:订单超时关闭 alipay.fund.trans.app.pay涉及的状态: WAIT_PAY、SUCCESS、CLOSED alipay.fund.trans.uni.transfer、alipay.fund.trans.refund涉及的状态:SUCCESS + /// 转账单据状态。可能出现的状态如下: SUCCESS:转账成功; WAIT_PAY:等待支付; CLOSED:订单超时关闭; FAIL:失败(适用于"单笔转账到银行卡"); DEALING:处理中(适用于"单笔转账到银行卡"); REFUND:退票(适用于"单笔转账到银行卡"); alipay.fund.trans.app.pay涉及的状态: WAIT_PAY、SUCCESS、CLOSED alipay.fund.trans.refund涉及的状态:SUCCESS alipay.fund.trans.uni.transfer涉及的状态:SUCCESS、FAIL、DEALING、REFUND /// [JsonPropertyName("status")] public string Status { get; set; } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayIserviceMindvTroublefreeruleConsultResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayIserviceMindvTroublefreeruleConsultResponse.cs new file mode 100644 index 000000000..bc6c7f74c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayIserviceMindvTroublefreeruleConsultResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayIserviceMindvTroublefreeruleConsultResponse. + /// + public class AlipayIserviceMindvTroublefreeruleConsultResponse : AlipayResponse + { + /// + /// 返回 true 表示未被防打扰过滤,返回false表示已被过滤 + /// + [JsonPropertyName("result_data")] + public bool ResultData { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMarketingCampaignWarmcardQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMarketingCampaignWarmcardQueryResponse.cs new file mode 100644 index 000000000..e457317c0 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMarketingCampaignWarmcardQueryResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayMarketingCampaignWarmcardQueryResponse. + /// + public class AlipayMarketingCampaignWarmcardQueryResponse : AlipayResponse + { + /// + /// 是否领过暖心卡 + /// + [JsonPropertyName("has_receive")] + public bool HasReceive { get; set; } + + /// + /// 暖心卡优惠券对应是否有剩余金额标识 + /// + [JsonPropertyName("voucher_type_remain_info")] + public string VoucherTypeRemainInfo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestConsumerBatchqueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestConsumerBatchqueryResponse.cs index e5f09815c..3efde1978 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestConsumerBatchqueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestConsumerBatchqueryResponse.cs @@ -15,6 +15,12 @@ public class AlipayMerchantOrderDigestConsumerBatchqueryResponse : AlipayRespons [JsonPropertyName("has_next_page")] public bool HasNextPage { get; set; } + /// + /// 下一次请求的end_time(用于分页查询) + /// + [JsonPropertyName("next_end_time")] + public string NextEndTime { get; set; } + /// /// 订单信息列表,当存在符合条件的订单时,则返回订单信息; /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestUnlimitedBatchqueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestUnlimitedBatchqueryResponse.cs index 7bb438843..cf693b300 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestUnlimitedBatchqueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderDigestUnlimitedBatchqueryResponse.cs @@ -15,6 +15,12 @@ public class AlipayMerchantOrderDigestUnlimitedBatchqueryResponse : AlipayRespon [JsonPropertyName("has_next_page")] public bool HasNextPage { get; set; } + /// + /// 下一次请求的end_time(用于分页查询) + /// + [JsonPropertyName("next_end_time")] + public string NextEndTime { get; set; } + /// /// 订单信息列表,当存在符合条件的订单时,则返回订单信息; /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderSecuritydigestConsumerBatchqueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderSecuritydigestConsumerBatchqueryResponse.cs index 7c83fcc94..e12a8dc92 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderSecuritydigestConsumerBatchqueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMerchantOrderSecuritydigestConsumerBatchqueryResponse.cs @@ -15,6 +15,12 @@ public class AlipayMerchantOrderSecuritydigestConsumerBatchqueryResponse : Alipa [JsonPropertyName("has_next_page")] public bool HasNextPage { get; set; } + /// + /// 下一次请求的end_time(用于分页查询) + /// + [JsonPropertyName("next_end_time")] + public string NextEndTime { get; set; } + /// /// 订单信息列表,当存在符合条件的订单时,则返回订单信息; /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageNewcontextTransferResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageNewcontextTransferResponse.cs new file mode 100644 index 000000000..9cc05d404 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageNewcontextTransferResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOpenPageNewcontextTransferResponse. + /// + public class AlipayOpenPageNewcontextTransferResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageOldcontextTransferResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageOldcontextTransferResponse.cs new file mode 100644 index 000000000..03f347866 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPageOldcontextTransferResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOpenPageOldcontextTransferResponse. + /// + public class AlipayOpenPageOldcontextTransferResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasRemitWithdrawNotifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasRemitWithdrawNotifyResponse.cs new file mode 100644 index 000000000..93248977e --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasRemitWithdrawNotifyResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasRemitWithdrawNotifyResponse. + /// + public class AlipayOverseasRemitWithdrawNotifyResponse : AlipayResponse + { + /// + /// JSON map + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderCreateResponse.cs new file mode 100644 index 000000000..b1e7c3570 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderCreateResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTaxNeworderCreateResponse. + /// + public class AlipayOverseasTaxNeworderCreateResponse : AlipayResponse + { + /// + /// 纸质退税单号 + /// + [JsonPropertyName("doc_id")] + public string DocId { get; set; } + + /// + /// 支付宝退税单号 + /// + [JsonPropertyName("tax_order_no")] + public string TaxOrderNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderStatusSyncResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderStatusSyncResponse.cs new file mode 100644 index 000000000..1db321eeb --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxNeworderStatusSyncResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTaxNeworderStatusSyncResponse. + /// + public class AlipayOverseasTaxNeworderStatusSyncResponse : AlipayResponse + { + /// + /// 纸质退税单号 + /// + [JsonPropertyName("doc_id")] + public string DocId { get; set; } + + /// + /// 支付宝退税单号 + /// + [JsonPropertyName("tax_order_no")] + public string TaxOrderNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxUserinfoQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxUserinfoQueryResponse.cs index ad5ce902f..d6faecda7 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxUserinfoQueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTaxUserinfoQueryResponse.cs @@ -7,6 +7,18 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Response /// public class AlipayOverseasTaxUserinfoQueryResponse : AlipayResponse { + /// + /// 用户是否符合支付宝退税资金收款条件。包括用户状态,认证状态等的校验。true为符合支付宝退税资金收款条件,false为不符合 + /// + [JsonPropertyName("eligible")] + public bool Eligible { get; set; } + + /// + /// 用户状态非法,只有eligible为false时才有意义。 类型有: REAL_NAME_UNCERTIFIED,根据机构需求,可以提示用户稍后进行实名认证,然后继续流程,或者拒绝用户继续操作。 ILLEGAL_USER,非法用户,终结流程。 USER_ACCOUNT_FREEZED,用户已被冻结,终结流程。 + /// + [JsonPropertyName("eligible_msg")] + public string EligibleMsg { get; set; } + /// /// 支付宝登录账号 /// diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferCertifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferCertifyResponse.cs new file mode 100644 index 000000000..993f0d4f1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferCertifyResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTransferCertifyResponse. + /// + public class AlipayOverseasTransferCertifyResponse : AlipayResponse + { + /// + /// 透传信息 + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferConfirmResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferConfirmResponse.cs new file mode 100644 index 000000000..91fdb07c5 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferConfirmResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTransferConfirmResponse. + /// + public class AlipayOverseasTransferConfirmResponse : AlipayResponse + { + /// + /// {} + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + + /// + /// 汇款id + /// + [JsonPropertyName("transfer_id")] + public string TransferId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferQueryResponse.cs new file mode 100644 index 000000000..d89b212aa --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTransferQueryResponse.cs @@ -0,0 +1,76 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTransferQueryResponse. + /// + public class AlipayOverseasTransferQueryResponse : AlipayResponse + { + /// + /// 收款人附属信息 + /// + [JsonPropertyName("additional_beneficiary_details")] + public string AdditionalBeneficiaryDetails { get; set; } + + /// + /// 收端机构id + /// + [JsonPropertyName("beneficiary_agent_id")] + public string BeneficiaryAgentId { get; set; } + + /// + /// 汇款指令金额类型,表示期望汇款的固定一方金额 + /// + [JsonPropertyName("instructed_amount_type")] + public string InstructedAmountType { get; set; } + + /// + /// 透传信息 + /// + [JsonPropertyName("pass_through_info")] + public string PassThroughInfo { get; set; } + + /// + /// 发端机构id + /// + [JsonPropertyName("payer_agent_id")] + public string PayerAgentId { get; set; } + + /// + /// 转账人付款总量 json对象 + /// + [JsonPropertyName("transfer_from_amount")] + public string TransferFromAmount { get; set; } + + /// + /// 汇款id + /// + [JsonPropertyName("transfer_id")] + public string TransferId { get; set; } + + /// + /// 报价信息json对象 + /// + [JsonPropertyName("transfer_quote")] + public string TransferQuote { get; set; } + + /// + /// transferResult的json对象 + /// + [JsonPropertyName("transfer_result")] + public string TransferResult { get; set; } + + /// + /// 汇款成功实践 + /// + [JsonPropertyName("transfer_time")] + public string TransferTime { get; set; } + + /// + /// 收款人收款总量 json对象 + /// + [JsonPropertyName("transfer_to_amount")] + public string TransferToAmount { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataDataserviceLbsDiscountBatchqueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRateCurrencyBatchqueryResponse.cs similarity index 52% rename from src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataDataserviceLbsDiscountBatchqueryResponse.cs rename to src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRateCurrencyBatchqueryResponse.cs index bfe349830..d8bb42aca 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayDataDataserviceLbsDiscountBatchqueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRateCurrencyBatchqueryResponse.cs @@ -5,14 +5,14 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// - /// AlipayDataDataserviceLbsDiscountBatchqueryResponse. + /// AlipayOverseasTravelRateCurrencyBatchqueryResponse. /// - public class AlipayDataDataserviceLbsDiscountBatchqueryResponse : AlipayResponse + public class AlipayOverseasTravelRateCurrencyBatchqueryResponse : AlipayResponse { /// - /// 广告投放出去的商品信息 + /// 汇率币种列表 /// - [JsonPropertyName("discounts")] - public List Discounts { get; set; } + [JsonPropertyName("currency_list")] + public List CurrencyList { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRatePromotionVerifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRatePromotionVerifyResponse.cs new file mode 100644 index 000000000..aa6575737 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRatePromotionVerifyResponse.cs @@ -0,0 +1,22 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTravelRatePromotionVerifyResponse. + /// + public class AlipayOverseasTravelRatePromotionVerifyResponse : AlipayResponse + { + /// + /// 业务结果编码 BIZ_SUCCESS(业务成功) USER_UNCERTIFIED(用户未实名认证) USER_PROMOTION_GRADE_NOT_SATISFIABLE(用户权益等级不符合参与条件) PROMOTION_NOT_EXIST(权益活动不存在) PROMOTION_NOT_YET_STARTED(权益活动尚未开始) PROMOTION_IS_EXPIRED(权益活动已结束) PROMOTION_HAS_BEEN_RECEIVED(已经领取权益、权益生效中,无法再次领取) PROMOTION_OVER_PARTICIPATION_LIMIT(参与次数超过权益活动限制次数) PROMOTION_INVALID_PARTICIPATION_INTERVAL (活动参与间隔时间不满足活动限制条件) USER_NOT_EXITS(用户不存在) + /// + [JsonPropertyName("biz_result_code")] + public string BizResultCode { get; set; } + + /// + /// 业务结果msg BIZ_SUCCESS(业务成功) USER_UNCERTIFIED(用户未实名认证) USER_PROMOTION_GRADE_NOT_SATISFIABLE(用户权益等级不符合参与条件) PROMOTION_NOT_EXIST(权益活动不存在) PROMOTION_NOT_YET_STARTED(权益活动尚未开始) PROMOTION_IS_EXPIRED(权益活动已结束) PROMOTION_HAS_BEEN_RECEIVED(已经领取权益、权益生效中,无法再次领取) PROMOTION_OVER_PARTICIPATION_LIMIT(参与次数超过权益活动限制次数) PROMOTION_INVALID_PARTICIPATION_INTERVAL (活动参与间隔时间不满足活动限制条件) USER_NOT_EXITS(用户不存在) + /// + [JsonPropertyName("biz_result_msg")] + public string BizResultMsg { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRateRateinfoQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRateRateinfoQueryResponse.cs new file mode 100644 index 000000000..3631dec9f --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOverseasTravelRateRateinfoQueryResponse.cs @@ -0,0 +1,84 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayOverseasTravelRateRateinfoQueryResponse. + /// + public class AlipayOverseasTravelRateRateinfoQueryResponse : AlipayResponse + { + /// + /// 权益汇率列表:每个汇率权益级别对应的汇率;见ClassRateInfo.grade字段 + /// + [JsonPropertyName("benefit_rate_list")] + public List BenefitRateList { get; set; } + + /// + /// 对比汇率:用户计算汇率的优惠力度 + /// + [JsonPropertyName("contrast_rate")] + public string ContrastRate { get; set; } + + /// + /// 对比汇率金额:用于计算汇率优惠金额,单位是元 如: 钻石汇率优惠金额=钻石权益级别汇率金额-对比汇率金额; 用户汇率优惠金额=用户汇率金额-对比汇率金额 + /// + [JsonPropertyName("contrast_rate_amount")] + public string ContrastRateAmount { get; set; } + + /// + /// 货币代码,ISO标准alpha-3币种代码 + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + + /// + /// 货币icon的url地址 + /// + [JsonPropertyName("currency_icon")] + public string CurrencyIcon { get; set; } + + /// + /// 会员汇率列表:会员每个等级对应的汇率,具体会员等级见ClassRateInfo.grade字段 + /// + [JsonPropertyName("member_rate_list")] + public List MemberRateList { get; set; } + + /// + /// 汇率描述 + /// + [JsonPropertyName("rate_desc")] + public string RateDesc { get; set; } + + /// + /// 汇率来源说明 + /// + [JsonPropertyName("rate_source")] + public string RateSource { get; set; } + + /// + /// 当参数中user_id不为空时返回,权益等级: - diamond(钻石权益) - platinum(铂金权益) - others(无权益) + /// + [JsonPropertyName("user_benefit_grade")] + public string UserBenefitGrade { get; set; } + + /// + /// 当参数中user_id不为空时返回, 会员等级: - diamond(钻石会员) - platinum(铂金会员) - golden(黄金会员) - primary(大众会员) + /// + [JsonPropertyName("user_member_grade")] + public string UserMemberGrade { get; set; } + + /// + /// 当参数中user_id不为空时,返回用户汇率,为支付宝当面付的当前币种/CNY的汇率值,如6.2345; + /// + [JsonPropertyName("user_rate")] + public string UserRate { get; set; } + + /// + /// 当参数中user_id不为空时,返回用户用户汇率金额,单位元 + /// + [JsonPropertyName("user_rate_amount")] + public string UserRateAmount { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryResponse.cs new file mode 100644 index 000000000..eb665f03b --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryResponse.cs @@ -0,0 +1,30 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryResponse. + /// + public class AlipayPcreditHuabeiPcbenefitcoreBfactivitfacadeQueryResponse : AlipayResponse + { + /// + /// 错误信息,参考通用错误格式 + /// + [JsonPropertyName("error_context")] + public List ErrorContext { get; set; } + + /// + /// 花呗营销活动信息返回数据 + /// + [JsonPropertyName("result")] + public BFActivityOpenApiResult Result { get; set; } + + /// + /// 请求是否成功 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse.cs new file mode 100644 index 000000000..27ca6f225 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse.cs @@ -0,0 +1,29 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse. + /// + public class AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse : AlipayResponse + { + /// + /// 报错原因 + /// + [JsonPropertyName("error_context")] + public string ErrorContext { get; set; } + + /// + /// 响应体 + /// + [JsonPropertyName("response")] + public TbapiQueryAmountResponse Response { get; set; } + + /// + /// 是否成功 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalIpprofileQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalIpprofileQueryResponse.cs deleted file mode 100644 index b7dea2ea0..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalIpprofileQueryResponse.cs +++ /dev/null @@ -1,148 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// AlipaySecurityRiskDirectionalIpprofileQueryResponse. - /// - public class AlipaySecurityRiskDirectionalIpprofileQueryResponse : AlipayResponse - { - /// - /// IP地址 - /// - [JsonPropertyName("ip_address")] - public string IpAddress { get; set; } - - /// - /// IP归属运营商所属市 - /// - [JsonPropertyName("ip_carrier_city")] - public string IpCarrierCity { get; set; } - - /// - /// IP归属运营商所属区县 - /// - [JsonPropertyName("ip_carrier_district")] - public string IpCarrierDistrict { get; set; } - - /// - /// IP归属运营商所属省 - /// - [JsonPropertyName("ip_carrier_province")] - public string IpCarrierProvince { get; set; } - - /// - /// 真实使用地所在市 - /// - [JsonPropertyName("ip_gps_city")] - public string IpGpsCity { get; set; } - - /// - /// 真实使用地所在区县 - /// - [JsonPropertyName("ip_gps_district")] - public string IpGpsDistrict { get; set; } - - /// - /// 真实使用地所在省 - /// - [JsonPropertyName("ip_gps_province")] - public string IpGpsProvince { get; set; } - - /// - /// IP最大概率经纬度点的纬度。统计ip使用地域出现概率最高的经纬度值,属性描述纬度 - /// - [JsonPropertyName("ip_latitude")] - public string IpLatitude { get; set; } - - /// - /// IP最大概率经纬度点的经度。统计ip使用地域出现概率最高的经纬度值,属性描述经度 - /// - [JsonPropertyName("ip_longitude")] - public string IpLongitude { get; set; } - - /// - /// 近三个月是否发生过案件,0:否;1:是 - /// - [JsonPropertyName("is_case_threemonth")] - public string IsCaseThreemonth { get; set; } - - /// - /// 是否3G/4G等基站类IP,0:否;1:是 - /// - [JsonPropertyName("is_cellular_ip")] - public string IsCellularIp { get; set; } - - /// - /// 是否教育网IP,0:否;1:是 - /// - [JsonPropertyName("is_edu_ip")] - public string IsEduIp { get; set; } - - /// - /// 是否IDCIP,0:否;1:是 - /// - [JsonPropertyName("is_idc_ip")] - public string IsIdcIp { get; set; } - - /// - /// 是否境外IP,0:否;1:是 - /// - [JsonPropertyName("is_oversea_ip")] - public string IsOverseaIp { get; set; } - - /// - /// 是否代理IP,0:否;1:是 - /// - [JsonPropertyName("is_proxy_ip")] - public string IsProxyIp { get; set; } - - /// - /// 身份证持有人使用当前IP的概率,取值范围:0 ~ 1,值越大概率越大 - /// - [JsonPropertyName("net_cert_ratio")] - public string NetCertRatio { get; set; } - - /// - /// 手机号持有人使用当前IP的概率,取值范围:0 ~ 1,值越大概率越大 - /// - [JsonPropertyName("net_phone_ratio")] - public string NetPhoneRatio { get; set; } - - /// - /// 用户唯一请求id - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - - /// - /// IP使用时间类型,枚举类型,如:corp:工作类, life:家庭类, NA:未知 - /// - [JsonPropertyName("usage_time_type")] - public string UsageTimeType { get; set; } - - /// - /// IP上近半年的活跃用户数 - /// - [JsonPropertyName("user_cnt_halfyear")] - public string UserCntHalfyear { get; set; } - - /// - /// IP上周活跃平均用户数 - /// - [JsonPropertyName("user_cnt_weekavg")] - public string UserCntWeekavg { get; set; } - - /// - /// IP上周用户数波动指数, 取值范围:0 ~ 1,值越大波动越大 - /// - [JsonPropertyName("user_cnt_weekstddev")] - public string UserCntWeekstddev { get; set; } - - /// - /// IP上活跃用户的稳定指数,取值范围:0 ~ 1,越大越稳定 - /// - [JsonPropertyName("user_stability")] - public string UserStability { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalRainscoreQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalRainscoreQueryResponse.cs deleted file mode 100644 index 34678a394..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySecurityRiskDirectionalRainscoreQueryResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Collections.Generic; -using System.Text.Json.Serialization; -using Essensoft.AspNetCore.Payment.Alipay.Domain; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// AlipaySecurityRiskDirectionalRainscoreQueryResponse. - /// - public class AlipaySecurityRiskDirectionalRainscoreQueryResponse : AlipayResponse - { - /// - /// 风险解释,即本次风险评分中TOP 3风险因子的代码、名称、解释、风险倍数(JSON格式)。详情请参考风险解释 - /// - [JsonPropertyName("infocode")] - public List Infocode { get; set; } - - /// - /// 风险评分,范围为[0,100],评分越高风险越大;查询不到,返回默认值为-1 - /// - [JsonPropertyName("score")] - public string Score { get; set; } - - /// - /// 调用订单号 - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintSendResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintSendResponse.cs new file mode 100644 index 000000000..187e89857 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintSendResponse.cs @@ -0,0 +1,9 @@ +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipaySocialBaseMcommentFootprintSendResponse. + /// + public class AlipaySocialBaseMcommentFootprintSendResponse : AlipayResponse + { + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintUploadResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintUploadResponse.cs new file mode 100644 index 000000000..1a68c63fe --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipaySocialBaseMcommentFootprintUploadResponse.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipaySocialBaseMcommentFootprintUploadResponse. + /// + public class AlipaySocialBaseMcommentFootprintUploadResponse : AlipayResponse + { + /// + /// 结果码,100表示成功 + /// + [JsonPropertyName("result_code")] + public string ResultCode { get; set; } + + /// + /// 返回结果描述 + /// + [JsonPropertyName("result_msg")] + public string ResultMsg { get; set; } + + /// + /// 是否成功 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinancePayResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinancePayResponse.cs new file mode 100644 index 000000000..55fbc7aaa --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinancePayResponse.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayTradeCreditFinancePayResponse. + /// + public class AlipayTradeCreditFinancePayResponse : AlipayResponse + { + /// + /// 本次支付的金额,单位为元;精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("amount")] + public string Amount { get; set; } + + /// + /// 币种,CNY + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + + /// + /// 外部请求号 + /// + [JsonPropertyName("out_request_no")] + public string OutRequestNo { get; set; } + + /// + /// 本次支付的处理状态 SUCCESS FAIL + /// + [JsonPropertyName("status")] + public string Status { get; set; } + + /// + /// 本次金融付款对应的交易的交易买家 + /// + [JsonPropertyName("trade_buyer_id")] + public string TradeBuyerId { get; set; } + + /// + /// 本次金融付款对应的交易号 + /// + [JsonPropertyName("trade_no")] + public string TradeNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinanceRefundResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinanceRefundResponse.cs new file mode 100644 index 000000000..7bfc976b7 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeCreditFinanceRefundResponse.cs @@ -0,0 +1,46 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayTradeCreditFinanceRefundResponse. + /// + public class AlipayTradeCreditFinanceRefundResponse : AlipayResponse + { + /// + /// 退款金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] + /// + [JsonPropertyName("amount")] + public string Amount { get; set; } + + /// + /// 本次金融退款的支付宝单号 + /// + [JsonPropertyName("biz_no")] + public string BizNo { get; set; } + + /// + /// 币种,CNY + /// + [JsonPropertyName("currency")] + public string Currency { get; set; } + + /// + /// 外部请求号 + /// + [JsonPropertyName("out_request_no")] + public string OutRequestNo { get; set; } + + /// + /// 本次退款的状态 SUCCESS FAIL + /// + [JsonPropertyName("status")] + public string Status { get; set; } + + /// + /// 本次金融退款对应的交易号 + /// + [JsonPropertyName("trade_no")] + public string TradeNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeQueryResponse.cs index c9738beed..e9fa26f29 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeQueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayTradeQueryResponse.cs @@ -31,7 +31,7 @@ public class AlipayTradeQueryResponse : AlipayResponse /// 订单描述; 只在间连场景下返回; /// [JsonPropertyName("body")] - public new string Body { get; set; } + public string Body { get; set; } /// /// 买家支付宝账号 diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayOtpresolutionmethodsQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayOtpresolutionmethodsQueryResponse.cs new file mode 100644 index 000000000..2ffb4e509 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayOtpresolutionmethodsQueryResponse.cs @@ -0,0 +1,23 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayUserApplepayOtpresolutionmethodsQueryResponse. + /// + public class AlipayUserApplepayOtpresolutionmethodsQueryResponse : AlipayResponse + { + /// + /// OpenApi的Otp校验方法负责对象 + /// + [JsonPropertyName("resolution_methods")] + public OpenApiResolutionMethod ResolutionMethods { get; set; } + + /// + /// 响应头 + /// + [JsonPropertyName("response_header")] + public OpenApiResponseHeader ResponseHeader { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayPbstatusQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayPbstatusQueryResponse.cs new file mode 100644 index 000000000..1dae41898 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayPbstatusQueryResponse.cs @@ -0,0 +1,23 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayUserApplepayPbstatusQueryResponse. + /// + public class AlipayUserApplepayPbstatusQueryResponse : AlipayResponse + { + /// + /// 卡状态列表 + /// + [JsonPropertyName("pass_status_list")] + public OpenApiPassStatus PassStatusList { get; set; } + + /// + /// ApplePay公用响应头 + /// + [JsonPropertyName("response_header")] + public OpenApiResponseHeader ResponseHeader { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleModifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleModifyResponse.cs new file mode 100644 index 000000000..71c99f777 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserApplepayProvisioningbundleModifyResponse.cs @@ -0,0 +1,17 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayUserApplepayProvisioningbundleModifyResponse. + /// + public class AlipayUserApplepayProvisioningbundleModifyResponse : AlipayResponse + { + /// + /// ApplePay公用响应头 + /// + [JsonPropertyName("response_header")] + public OpenApiResponseHeader ResponseHeader { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserInfoInnerQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserInfoInnerQueryResponse.cs new file mode 100644 index 000000000..bf7cc7abc --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayUserInfoInnerQueryResponse.cs @@ -0,0 +1,52 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayUserInfoInnerQueryResponse. + /// + public class AlipayUserInfoInnerQueryResponse : AlipayResponse + { + /// + /// 绑定手机号码 + /// + [JsonPropertyName("binded_mobile")] + public string BindedMobile { get; set; } + + /// + /// 优先返回登录邮箱,若邮箱不存在,返回其他登录号(登录手机号) + /// + [JsonPropertyName("email")] + public string Email { get; set; } + + /// + /// 阿里集团统一ID + /// + [JsonPropertyName("havana_id")] + public string HavanaId { get; set; } + + /// + /// 金融机构或特殊单位 I:金融机构 C:特殊单位 N:非金融机构或特殊单位 + /// + [JsonPropertyName("inst_type")] + public string InstType { get; set; } + + /// + /// 账户是否禁止提现,T是,F否 + /// + [JsonPropertyName("is_forbidden_withdraw")] + public string IsForbiddenWithdraw { get; set; } + + /// + /// 蚂蚁统一会员ID + /// + [JsonPropertyName("user_id")] + public string UserId { get; set; } + + /// + /// 用户状态 + /// + [JsonPropertyName("user_status")] + public string UserStatus { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayZdataserviceUnidataQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayZdataserviceUnidataQueryResponse.cs new file mode 100644 index 000000000..0c5fabfb3 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayZdataserviceUnidataQueryResponse.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AlipayZdataserviceUnidataQueryResponse. + /// + public class AlipayZdataserviceUnidataQueryResponse : AlipayResponse + { + /// + /// 查询结果集,统一用string方式返回 + /// + [JsonPropertyName("query_result")] + public string QueryResult { get; set; } + + /// + /// 查询是否成功具体描述 + /// + [JsonPropertyName("result_code")] + public string ResultCode { get; set; } + + /// + /// 查询是否成功 + /// + [JsonPropertyName("success")] + public string Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterApplyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterApplyResponse.cs new file mode 100644 index 000000000..6a5f443a8 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterApplyResponse.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AnttechBlockchainFinanceAssetRegisterApplyResponse. + /// + public class AnttechBlockchainFinanceAssetRegisterApplyResponse : AlipayResponse + { + /// + /// 资产登记申请结果,不同资产类型不同,比如可能包含代签名原始数据等。 + /// + [JsonPropertyName("apply_result")] + public string ApplyResult { get; set; } + + /// + /// 登记成功后,返回资产登记中心内部资产编号 + /// + [JsonPropertyName("asset_id")] + public string AssetId { get; set; } + + /// + /// 申请时提交的外部资产编号 + /// + [JsonPropertyName("out_asset_id")] + public string OutAssetId { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterSubmitResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterSubmitResponse.cs new file mode 100644 index 000000000..bc2d0b4d1 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/AnttechBlockchainFinanceAssetRegisterSubmitResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// AnttechBlockchainFinanceAssetRegisterSubmitResponse. + /// + public class AnttechBlockchainFinanceAssetRegisterSubmitResponse : AlipayResponse + { + /// + /// 提交结果,根据operate不同而不同。 + /// + [JsonPropertyName("submit_result")] + public string SubmitResult { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoGuidequotaQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoGuidequotaQueryResponse.cs new file mode 100644 index 000000000..ea2c122ba --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoGuidequotaQueryResponse.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// KoubeiServindustryPromoGuidequotaQueryResponse. + /// + public class KoubeiServindustryPromoGuidequotaQueryResponse : AlipayResponse + { + /// + /// 权限份额 + /// + [JsonPropertyName("auth_quota")] + public List AuthQuota { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideConsultResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideConsultResponse.cs new file mode 100644 index 000000000..babbc35a9 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideConsultResponse.cs @@ -0,0 +1,42 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// KoubeiServindustryPromoIntelligentguideConsultResponse. + /// + public class KoubeiServindustryPromoIntelligentguideConsultResponse : AlipayResponse + { + /// + /// 预计消费最大金额 + /// + [JsonPropertyName("consume_max")] + public long ConsumeMax { get; set; } + + /// + /// 预计最少消费金额 + /// + [JsonPropertyName("consume_min")] + public long ConsumeMin { get; set; } + + /// + /// 推荐卡项信息 + /// + [JsonPropertyName("recommend_card")] + public RecommendCard RecommendCard { get; set; } + + /// + /// 推荐具体服务项目 + /// + [JsonPropertyName("recommend_service_info")] + public List RecommendServiceInfo { get; set; } + + /// + /// 用户兴趣标签,多个用'|' 分隔符分隔 + /// + [JsonPropertyName("user_tags")] + public string UserTags { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideOrderResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideOrderResponse.cs new file mode 100644 index 000000000..05914d491 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiServindustryPromoIntelligentguideOrderResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// KoubeiServindustryPromoIntelligentguideOrderResponse. + /// + public class KoubeiServindustryPromoIntelligentguideOrderResponse : AlipayResponse + { + /// + /// 是否成功 + /// + [JsonPropertyName("success")] + public bool Success { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiTradeOrderAggregateConsultResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiTradeOrderAggregateConsultResponse.cs new file mode 100644 index 000000000..7ae91aeae --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiTradeOrderAggregateConsultResponse.cs @@ -0,0 +1,101 @@ +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// KoubeiTradeOrderAggregateConsultResponse. + /// + public class KoubeiTradeOrderAggregateConsultResponse : AlipayResponse + { + /// + /// 买家ID, 支付成功时才返回 + /// + [JsonPropertyName("buyer_id")] + public string BuyerId { get; set; } + + /// + /// 付款用户类型; 支付宝(alipay)/微信(weixin),支付成功时才返回 + /// + [JsonPropertyName("buyer_id_type")] + public string BuyerIdType { get; set; } + + /// + /// 用户实付金额,支付成功时才返回 + /// + [JsonPropertyName("buyer_pay_amount")] + public string BuyerPayAmount { get; set; } + + /// + /// 订单创建时间 + /// + [JsonPropertyName("create_time")] + public string CreateTime { get; set; } + + /// + /// 本交易支付时使用的所有优惠券信息 + /// + [JsonPropertyName("discount_detail_list")] + public DiscountDetailInfo DiscountDetailList { get; set; } + + /// + /// 支付成功时间 + /// + [JsonPropertyName("gmt_payment_time")] + public string GmtPaymentTime { get; set; } + + /// + /// 商家优惠金额 + /// + [JsonPropertyName("merchant_discount_amount")] + public string MerchantDiscountAmount { get; set; } + + /// + /// 口碑订单号 + /// + [JsonPropertyName("order_no")] + public string OrderNo { get; set; } + + /// + /// SUCCESS - 支付成功 FAILED - 支付失败 PROCESSING - 处理中 CLOSED - 关单 + /// + [JsonPropertyName("order_status")] + public string OrderStatus { get; set; } + + /// + /// 商家请求订单号 + /// + [JsonPropertyName("out_order_no")] + public string OutOrderNo { get; set; } + + /// + /// 支付渠道; 支付宝(alipay)/微信(wechat) + /// + [JsonPropertyName("pay_channel")] + public string PayChannel { get; set; } + + /// + /// 平台优惠金额 + /// + [JsonPropertyName("platform_discount_amount")] + public string PlatformDiscountAmount { get; set; } + + /// + /// 实收金额 + /// + [JsonPropertyName("receipt_amount")] + public string ReceiptAmount { get; set; } + + /// + /// 订单金额 + /// + [JsonPropertyName("total_amount")] + public string TotalAmount { get; set; } + + /// + /// 支付宝/微信交易号; 支付成功时才返回 + /// + [JsonPropertyName("trade_no")] + public string TradeNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditGuaranteeSelleradmittanceQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditGuaranteeSelleradmittanceQueryResponse.cs index a29a29c1c..b2b372bc2 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditGuaranteeSelleradmittanceQueryResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditGuaranteeSelleradmittanceQueryResponse.cs @@ -8,7 +8,7 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Response public class MybankCreditGuaranteeSelleradmittanceQueryResponse : AlipayResponse { /// - /// 查询decision是否准入 + /// 查询decision是否准入。为空表示不准入 /// [JsonPropertyName("is_admitted")] public bool IsAdmitted { get; set; } @@ -18,5 +18,17 @@ public class MybankCreditGuaranteeSelleradmittanceQueryResponse : AlipayResponse /// [JsonPropertyName("is_signed")] public bool IsSigned { get; set; } + + /// + /// 是否解约AE提前收款,为空表示未解约 + /// + [JsonPropertyName("is_unsigned")] + public bool IsUnsigned { get; set; } + + /// + /// 解约时间,为空表示无解约时间 + /// + [JsonPropertyName("unsign_date")] + public string UnsignDate { get; set; } } } diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditSupplychainCreditpaySyncnameCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditSupplychainCreditpaySyncnameCreateResponse.cs new file mode 100644 index 000000000..b47d06bb2 --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditSupplychainCreditpaySyncnameCreateResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// MybankCreditSupplychainCreditpaySyncnameCreateResponse. + /// + public class MybankCreditSupplychainCreditpaySyncnameCreateResponse : AlipayResponse + { + /// + /// 业务序列号 + /// + [JsonPropertyName("ev_seq_no")] + public string EvSeqNo { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudVerifyResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudVerifyResponse.cs deleted file mode 100644 index e7bf7333e..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudVerifyResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// SsdataDataserviceRiskAntifraudVerifyResponse. - /// - public class SsdataDataserviceRiskAntifraudVerifyResponse : AlipayResponse - { - /// - /// 蚁盾对于每一次请求返回的业务号。后续可以通过此业务号进行对账 - /// - [JsonPropertyName("biz_no")] - public string BizNo { get; set; } - - /// - /// 用户唯一请求id - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - - /// - /// 验证code列表 - /// - [JsonPropertyName("verify_code")] - public string VerifyCode { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudintegrationQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudintegrationQueryResponse.cs deleted file mode 100644 index 8444914fe..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntifraudintegrationQueryResponse.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// SsdataDataserviceRiskAntifraudintegrationQueryResponse. - /// - public class SsdataDataserviceRiskAntifraudintegrationQueryResponse : AlipayResponse - { - /// - /// 蚁盾对于每一次请求返回的业务号。后续可以通过此业务号进行对账 - /// - [JsonPropertyName("biz_no")] - public string BizNo { get; set; } - - /// - /// 欺诈关注清单是否命中,yes标识命中,no标识未命中 - /// - [JsonPropertyName("hit")] - public string Hit { get; set; } - - /// - /// 欺诈关注清单的RiskCode列表,对应的描述见产品文档 - /// - [JsonPropertyName("risk_code")] - public string RiskCode { get; set; } - - /// - /// 申请欺诈评分,分数范围是[0,100]的整数,分数越高信息越真实 - /// - [JsonPropertyName("score")] - public string Score { get; set; } - - /// - /// 用户唯一请求id - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - - /// - /// 验证code列表 - /// - [JsonPropertyName("verify_code")] - public string VerifyCode { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntijunkregisterQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntijunkregisterQueryResponse.cs deleted file mode 100644 index 3f1849683..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntijunkregisterQueryResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// SsdataDataserviceRiskAntijunkregisterQueryResponse. - /// - public class SsdataDataserviceRiskAntijunkregisterQueryResponse : AlipayResponse - { - /// - /// 风险解释,即本次风险评分中TOP 3,信息代码、风险因子代码、风险因子名、风险描述。详情请参考 - /// - [JsonPropertyName("infocode")] - public string Infocode { get; set; } - - /// - /// 基于传入的介质参数,计算得到的垃圾注册风险分,范围[0,100],分数越高风险程度越高 - /// - [JsonPropertyName("score")] - public string Score { get; set; } - - /// - /// 用户唯一请求ID - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntiscalperQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntiscalperQueryResponse.cs deleted file mode 100644 index 75dee523d..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskAntiscalperQueryResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// SsdataDataserviceRiskAntiscalperQueryResponse. - /// - public class SsdataDataserviceRiskAntiscalperQueryResponse : AlipayResponse - { - /// - /// 风险解释,即本次风险评分中TOP 3,信息代码、风险因子代码、风险因子名、风险描述。详情请参考 - /// - [JsonPropertyName("infocode")] - public string Infocode { get; set; } - - /// - /// 基于传入的介质参数,计算得到的黄牛风险分,范围[0,100],分数越高风险程度越高 - /// - [JsonPropertyName("score")] - public string Score { get; set; } - - /// - /// 用户唯一请求ID - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskCodeQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskCodeQueryResponse.cs deleted file mode 100644 index 7c19c43a4..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskCodeQueryResponse.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Collections.Generic; -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// SsdataDataserviceRiskCodeQueryResponse. - /// - public class SsdataDataserviceRiskCodeQueryResponse : AlipayResponse - { - /// - /// 是否命中yes/no - /// - [JsonPropertyName("hit")] - public string Hit { get; set; } - - /// - /// 风险码,具体见接口文档 - /// - [JsonPropertyName("risk_code")] - public List RiskCode { get; set; } - - /// - /// 调用订单号 - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - - /// - /// 验证码, 具体见接口文档 - /// - [JsonPropertyName("verify_code")] - public List VerifyCode { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskIpprofileQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskIpprofileQueryResponse.cs deleted file mode 100644 index 260e5fa7f..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskIpprofileQueryResponse.cs +++ /dev/null @@ -1,209 +0,0 @@ -using System.Collections.Generic; -using System.Text.Json.Serialization; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// SsdataDataserviceRiskIpprofileQueryResponse. - /// - public class SsdataDataserviceRiskIpprofileQueryResponse : AlipayResponse - { - /// - /// IP上用户活跃度分值(分值越高活跃度越高) - /// - [JsonPropertyName("ip_active_score")] - public string IpActiveScore { get; set; } - - /// - /// IP地址 - /// - [JsonPropertyName("ip_address")] - public string IpAddress { get; set; } - - /// - /// IP对应AS描述 - /// - [JsonPropertyName("ip_as_name")] - public string IpAsName { get; set; } - - /// - /// ip对应AS号 - /// - [JsonPropertyName("ip_asn")] - public string IpAsn { get; set; } - - /// - /// IP归属运营商所属市 - /// - [JsonPropertyName("ip_carrier_city")] - public string IpCarrierCity { get; set; } - - /// - /// IP归属运营商所属区县 - /// - [JsonPropertyName("ip_carrier_district")] - public string IpCarrierDistrict { get; set; } - - /// - /// IP归属运营商所属省 - /// - [JsonPropertyName("ip_carrier_province")] - public string IpCarrierProvince { get; set; } - - /// - /// 真实使用地所在市 - /// - [JsonPropertyName("ip_gps_city")] - public string IpGpsCity { get; set; } - - /// - /// 真实使用地所在区县 - /// - [JsonPropertyName("ip_gps_district")] - public string IpGpsDistrict { get; set; } - - /// - /// 真实使用地所在省 - /// - [JsonPropertyName("ip_gps_province")] - public string IpGpsProvince { get; set; } - - /// - /// IP最大概率经纬度点的纬度 - /// - [JsonPropertyName("ip_latitude")] - public string IpLatitude { get; set; } - - /// - /// IP最大概率经纬度点的经度 - /// - [JsonPropertyName("ip_longitude")] - public string IpLongitude { get; set; } - - /// - /// IP所属网段 - /// - [JsonPropertyName("ip_net_id")] - public string IpNetId { get; set; } - - /// - /// IP非人操作分值(分值越高非人概率越高) - /// - [JsonPropertyName("ip_not_human_score")] - public string IpNotHumanScore { get; set; } - - /// - /// IP运营商名称 - /// - [JsonPropertyName("ip_opt_desc")] - public string IpOptDesc { get; set; } - - /// - /// 近三个月是否发生过案件 - /// - [JsonPropertyName("is_case_threemonth")] - public string IsCaseThreemonth { get; set; } - - /// - /// 是否3G/4G等基站类IP - /// - [JsonPropertyName("is_cellular_ip")] - public string IsCellularIp { get; set; } - - /// - /// 是否教育网IP - /// - [JsonPropertyName("is_edu_ip")] - public string IsEduIp { get; set; } - - /// - /// 是否IDCIP - /// - [JsonPropertyName("is_idc_ip")] - public string IsIdcIp { get; set; } - - /// - /// 是否境外IP - /// - [JsonPropertyName("is_oversea_ip")] - public string IsOverseaIp { get; set; } - - /// - /// 是否代理IP - /// - [JsonPropertyName("is_proxy_ip")] - public string IsProxyIp { get; set; } - - /// - /// 自然人主体使用当前IP的概率 - /// - [JsonPropertyName("net_cert_ratio")] - public string NetCertRatio { get; set; } - - /// - /// 该城市使用当前IP的概率 - /// - [JsonPropertyName("net_city_ratio")] - public string NetCityRatio { get; set; } - - /// - /// 该区使用当前IP的概率 - /// - [JsonPropertyName("net_district_ratio")] - public string NetDistrictRatio { get; set; } - - /// - /// 手机号持有人使用当前IP的概率 - /// - [JsonPropertyName("net_phone_ratio")] - public string NetPhoneRatio { get; set; } - - /// - /// 用户使用当前IP的概率综合分 - /// - [JsonPropertyName("net_ratio_norm")] - public string NetRatioNorm { get; set; } - - /// - /// 风险码,比如 r_ip_004 表示 ip近期不活跃,r_ip_005表示ip较新,r_ip_006表示ip上聚集多个设备,r_ip_007表示设备分布异常; - /// - [JsonPropertyName("riskcode")] - public List Riskcode { get; set; } - - /// - /// 用户唯一请求id - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - - /// - /// IP使用时间类型 - /// - [JsonPropertyName("usage_time_type")] - public string UsageTimeType { get; set; } - - /// - /// IP上近半年的活跃用户数 - /// - [JsonPropertyName("user_cnt_halfyear")] - public string UserCntHalfyear { get; set; } - - /// - /// IP上周活跃平均用户数 - /// - [JsonPropertyName("user_cnt_weekavg")] - public string UserCntWeekavg { get; set; } - - /// - /// IP上周用户数波动指数 - /// - [JsonPropertyName("user_cnt_weekstddev")] - public string UserCntWeekstddev { get; set; } - - /// - /// IP上活跃用户的稳定指数 - /// - [JsonPropertyName("user_stability")] - public string UserStability { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskRainscoreQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskRainscoreQueryResponse.cs deleted file mode 100644 index 0a8fc5142..000000000 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/SsdataDataserviceRiskRainscoreQueryResponse.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Collections.Generic; -using System.Text.Json.Serialization; -using Essensoft.AspNetCore.Payment.Alipay.Domain; - -namespace Essensoft.AspNetCore.Payment.Alipay.Response -{ - /// - /// SsdataDataserviceRiskRainscoreQueryResponse. - /// - public class SsdataDataserviceRiskRainscoreQueryResponse : AlipayResponse - { - /// - /// 风险解释,即本次风险评分中TOP 3风险因子的代码、名称、解释、风险倍数(JSON格式)。详情请参考《风险解释与身份标签》 - /// - [JsonPropertyName("infocode")] - public List Infocode { get; set; } - - /// - /// 身份标签,即本次风险评分中评分主体(手机号)相关自然人的推测身份,例如:Scalper_3C(3C行业黄牛)等。没有与当前风险类型相关的推测身份时,身份标签可能为空。详情及申请方式请参考《风险解释及身份标签》 - /// - [JsonPropertyName("label")] - public List Label { get; set; } - - /// - /// 风险评分,范围为[0,100],评分越高风险越大 - /// - [JsonPropertyName("score")] - public string Score { get; set; } - - /// - /// 用户唯一请求id - /// - [JsonPropertyName("unique_id")] - public string UniqueId { get; set; } - } -} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractCommonCancelResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractCommonCancelResponse.cs new file mode 100644 index 000000000..1f67ac26c --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractCommonCancelResponse.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// ZhimaMerchantContractCommonCancelResponse. + /// + public class ZhimaMerchantContractCommonCancelResponse : AlipayResponse + { + /// + /// 业务结果返回值 + /// + [JsonPropertyName("biz_data")] + public string BizData { get; set; } + + /// + /// 业务结果,成功或失败 + /// + [JsonPropertyName("biz_result")] + public string BizResult { get; set; } + + /// + /// 结果码 + /// + [JsonPropertyName("result_code")] + public string ResultCode { get; set; } + + /// + /// 错误描述 + /// + [JsonPropertyName("result_desc")] + public string ResultDesc { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractPageQueryResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractPageQueryResponse.cs new file mode 100644 index 000000000..47e8315ce --- /dev/null +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractPageQueryResponse.cs @@ -0,0 +1,36 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Essensoft.AspNetCore.Payment.Alipay.Domain; + +namespace Essensoft.AspNetCore.Payment.Alipay.Response +{ + /// + /// ZhimaMerchantContractPageQueryResponse. + /// + public class ZhimaMerchantContractPageQueryResponse : AlipayResponse + { + /// + /// 合约详情信息 + /// + [JsonPropertyName("biz_data")] + public List BizData { get; set; } + + /// + /// 业务结果描述,成功则为空,失败才会有 + /// + [JsonPropertyName("biz_desc")] + public string BizDesc { get; set; } + + /// + /// 业务成功标识,success/failed + /// + [JsonPropertyName("biz_result")] + public string BizResult { get; set; } + + /// + /// 是否有下一页 + /// + [JsonPropertyName("has_next")] + public bool HasNext { get; set; } + } +} diff --git a/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractQuickCreateResponse.cs b/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractQuickCreateResponse.cs index 91de79595..83a7fb5e6 100644 --- a/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractQuickCreateResponse.cs +++ b/src/Essensoft.AspNetCore.Payment.Alipay/Response/ZhimaMerchantContractQuickCreateResponse.cs @@ -7,6 +7,18 @@ namespace Essensoft.AspNetCore.Payment.Alipay.Response /// public class ZhimaMerchantContractQuickCreateResponse : AlipayResponse { + /// + /// 错误码 + /// + [JsonPropertyName("biz_code")] + public string BizCode { get; set; } + + /// + /// 错误说明 + /// + [JsonPropertyName("biz_desc")] + public string BizDesc { get; set; } + /// /// 发约单单号 ///