diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f146bc9a..500fe76f0 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,7 +96,6 @@ add_subdirectory(ram) add_subdirectory(sts) add_subdirectory(gpdb) add_subdirectory(cr) -add_subdirectory(finmall) add_subdirectory(openanalytics) add_subdirectory(snsuapi) add_subdirectory(ubsms) @@ -117,4 +116,4 @@ add_subdirectory(dysmsapi) add_subdirectory(ons) add_subdirectory(ivision) add_subdirectory(imm) -add_subdirectory(bssopenapi) \ No newline at end of file +add_subdirectory(bssopenapi) diff --git a/finmall/CMakeLists.txt b/finmall/CMakeLists.txt deleted file mode 100644 index 69fbeb851..000000000 --- a/finmall/CMakeLists.txt +++ /dev/null @@ -1,238 +0,0 @@ -# -# Copyright 2009-2017 Alibaba Cloud All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) - -set(finmall_public_header - include/alibabacloud/finmall/FinmallClient.h - include/alibabacloud/finmall/FinmallExport.h ) - -set(finmall_public_header_model - include/alibabacloud/finmall/model/GetCreditDetailRequest.h - include/alibabacloud/finmall/model/GetCreditDetailResult.h - include/alibabacloud/finmall/model/GetDocumentDownloadUrlRequest.h - include/alibabacloud/finmall/model/GetDocumentDownloadUrlResult.h - include/alibabacloud/finmall/model/GetCreditWithdrawRecordRequest.h - include/alibabacloud/finmall/model/GetCreditWithdrawRecordResult.h - include/alibabacloud/finmall/model/GetCustomerVerifyInfoRequest.h - include/alibabacloud/finmall/model/GetCustomerVerifyInfoResult.h - include/alibabacloud/finmall/model/QueryFundPartyListRequest.h - include/alibabacloud/finmall/model/QueryFundPartyListResult.h - include/alibabacloud/finmall/model/GetCreditStatusRequest.h - include/alibabacloud/finmall/model/GetCreditStatusResult.h - include/alibabacloud/finmall/model/SaveAuthenticationInfoRequest.h - include/alibabacloud/finmall/model/SaveAuthenticationInfoResult.h - include/alibabacloud/finmall/model/GetTradeDataRequest.h - include/alibabacloud/finmall/model/GetTradeDataResult.h - include/alibabacloud/finmall/model/UploadCustomIDImageRequest.h - include/alibabacloud/finmall/model/UploadCustomIDImageResult.h - include/alibabacloud/finmall/model/QuerySignResultRequest.h - include/alibabacloud/finmall/model/QuerySignResultResult.h - include/alibabacloud/finmall/model/ApplyForLoanRequest.h - include/alibabacloud/finmall/model/ApplyForLoanResult.h - include/alibabacloud/finmall/model/GetZhimaScoreRequest.h - include/alibabacloud/finmall/model/GetZhimaScoreResult.h - include/alibabacloud/finmall/model/PayForOrderRequest.h - include/alibabacloud/finmall/model/PayForOrderResult.h - include/alibabacloud/finmall/model/QueryTrialRecordsRequest.h - include/alibabacloud/finmall/model/QueryTrialRecordsResult.h - include/alibabacloud/finmall/model/GetCurrentTermRepayInfoRequest.h - include/alibabacloud/finmall/model/GetCurrentTermRepayInfoResult.h - include/alibabacloud/finmall/model/UpdateAuthenticationInfoRequest.h - include/alibabacloud/finmall/model/UpdateAuthenticationInfoResult.h - include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoRequest.h - include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoResult.h - include/alibabacloud/finmall/model/GetCreditSignatureInfoRequest.h - include/alibabacloud/finmall/model/GetCreditSignatureInfoResult.h - include/alibabacloud/finmall/model/AddTrialRecordRequest.h - include/alibabacloud/finmall/model/AddTrialRecordResult.h - include/alibabacloud/finmall/model/GetAuthorizeCreditQueryRequest.h - include/alibabacloud/finmall/model/GetAuthorizeCreditQueryResult.h - include/alibabacloud/finmall/model/CancelCreditRequest.h - include/alibabacloud/finmall/model/CancelCreditResult.h - include/alibabacloud/finmall/model/GetCustomStatusInfoRequest.h - include/alibabacloud/finmall/model/GetCustomStatusInfoResult.h - include/alibabacloud/finmall/model/GetOverdueRecordListRequest.h - include/alibabacloud/finmall/model/GetOverdueRecordListResult.h - include/alibabacloud/finmall/model/GetProductDetailRequest.h - include/alibabacloud/finmall/model/GetProductDetailResult.h - include/alibabacloud/finmall/model/VerifyCustomerRequest.h - include/alibabacloud/finmall/model/VerifyCustomerResult.h - include/alibabacloud/finmall/model/SignLoanAgreementRequest.h - include/alibabacloud/finmall/model/SignLoanAgreementResult.h - include/alibabacloud/finmall/model/AddCustomInfoRequest.h - include/alibabacloud/finmall/model/AddCustomInfoResult.h - include/alibabacloud/finmall/model/GetProductListRequest.h - include/alibabacloud/finmall/model/GetProductListResult.h - include/alibabacloud/finmall/model/GetLoanAgreementRequest.h - include/alibabacloud/finmall/model/GetLoanAgreementResult.h - include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementRequest.h - include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementResult.h - include/alibabacloud/finmall/model/SignedPageResultRequest.h - include/alibabacloud/finmall/model/SignedPageResultResult.h - include/alibabacloud/finmall/model/GetLoanApplyRecordListRequest.h - include/alibabacloud/finmall/model/GetLoanApplyRecordListResult.h - include/alibabacloud/finmall/model/GetLatestOverdueRecordRequest.h - include/alibabacloud/finmall/model/GetLatestOverdueRecordResult.h - include/alibabacloud/finmall/model/GetCreditListRequest.h - include/alibabacloud/finmall/model/GetCreditListResult.h - include/alibabacloud/finmall/model/SignResultNotifyRequest.h - include/alibabacloud/finmall/model/SignResultNotifyResult.h - include/alibabacloud/finmall/model/VerifySMSTokenRequest.h - include/alibabacloud/finmall/model/VerifySMSTokenResult.h - include/alibabacloud/finmall/model/GetCreditRepayListRequest.h - include/alibabacloud/finmall/model/GetCreditRepayListResult.h - include/alibabacloud/finmall/model/GetSignContractUrlRequest.h - include/alibabacloud/finmall/model/GetSignContractUrlResult.h - include/alibabacloud/finmall/model/GetRepayPlanTrialRequest.h - include/alibabacloud/finmall/model/GetRepayPlanTrialResult.h ) - -set(finmall_src - src/FinmallClient.cc - src/model/GetCreditDetailRequest.cc - src/model/GetCreditDetailResult.cc - src/model/GetDocumentDownloadUrlRequest.cc - src/model/GetDocumentDownloadUrlResult.cc - src/model/GetCreditWithdrawRecordRequest.cc - src/model/GetCreditWithdrawRecordResult.cc - src/model/GetCustomerVerifyInfoRequest.cc - src/model/GetCustomerVerifyInfoResult.cc - src/model/QueryFundPartyListRequest.cc - src/model/QueryFundPartyListResult.cc - src/model/GetCreditStatusRequest.cc - src/model/GetCreditStatusResult.cc - src/model/SaveAuthenticationInfoRequest.cc - src/model/SaveAuthenticationInfoResult.cc - src/model/GetTradeDataRequest.cc - src/model/GetTradeDataResult.cc - src/model/UploadCustomIDImageRequest.cc - src/model/UploadCustomIDImageResult.cc - src/model/QuerySignResultRequest.cc - src/model/QuerySignResultResult.cc - src/model/ApplyForLoanRequest.cc - src/model/ApplyForLoanResult.cc - src/model/GetZhimaScoreRequest.cc - src/model/GetZhimaScoreResult.cc - src/model/PayForOrderRequest.cc - src/model/PayForOrderResult.cc - src/model/QueryTrialRecordsRequest.cc - src/model/QueryTrialRecordsResult.cc - src/model/GetCurrentTermRepayInfoRequest.cc - src/model/GetCurrentTermRepayInfoResult.cc - src/model/UpdateAuthenticationInfoRequest.cc - src/model/UpdateAuthenticationInfoResult.cc - src/model/UpdateEnterpriseCustomInfoRequest.cc - src/model/UpdateEnterpriseCustomInfoResult.cc - src/model/GetCreditSignatureInfoRequest.cc - src/model/GetCreditSignatureInfoResult.cc - src/model/AddTrialRecordRequest.cc - src/model/AddTrialRecordResult.cc - src/model/GetAuthorizeCreditQueryRequest.cc - src/model/GetAuthorizeCreditQueryResult.cc - src/model/CancelCreditRequest.cc - src/model/CancelCreditResult.cc - src/model/GetCustomStatusInfoRequest.cc - src/model/GetCustomStatusInfoResult.cc - src/model/GetOverdueRecordListRequest.cc - src/model/GetOverdueRecordListResult.cc - src/model/GetProductDetailRequest.cc - src/model/GetProductDetailResult.cc - src/model/VerifyCustomerRequest.cc - src/model/VerifyCustomerResult.cc - src/model/SignLoanAgreementRequest.cc - src/model/SignLoanAgreementResult.cc - src/model/AddCustomInfoRequest.cc - src/model/AddCustomInfoResult.cc - src/model/GetProductListRequest.cc - src/model/GetProductListResult.cc - src/model/GetLoanAgreementRequest.cc - src/model/GetLoanAgreementResult.cc - src/model/GetUserInfoAuthorizationAgreementRequest.cc - src/model/GetUserInfoAuthorizationAgreementResult.cc - src/model/SignedPageResultRequest.cc - src/model/SignedPageResultResult.cc - src/model/GetLoanApplyRecordListRequest.cc - src/model/GetLoanApplyRecordListResult.cc - src/model/GetLatestOverdueRecordRequest.cc - src/model/GetLatestOverdueRecordResult.cc - src/model/GetCreditListRequest.cc - src/model/GetCreditListResult.cc - src/model/SignResultNotifyRequest.cc - src/model/SignResultNotifyResult.cc - src/model/VerifySMSTokenRequest.cc - src/model/VerifySMSTokenResult.cc - src/model/GetCreditRepayListRequest.cc - src/model/GetCreditRepayListResult.cc - src/model/GetSignContractUrlRequest.cc - src/model/GetSignContractUrlResult.cc - src/model/GetRepayPlanTrialRequest.cc - src/model/GetRepayPlanTrialResult.cc ) - -add_library(finmall ${LIB_TYPE} - ${finmall_public_header} - ${finmall_public_header_model} - ${finmall_src}) - -set_target_properties(finmall - PROPERTIES - LINKER_LANGUAGE CXX - ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib - RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin - OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}finmall - ) - -if(${LIB_TYPE} STREQUAL "SHARED") - set_target_properties(finmall - PROPERTIES - DEFINE_SYMBOL ALIBABACLOUD_FINMALL_LIBRARY) -endif() - -target_include_directories(finmall - PRIVATE include - ${CMAKE_SOURCE_DIR}/core/include - ) -target_link_libraries(finmall - core) - -if(CMAKE_HOST_WIN32) - ExternalProject_Get_Property(jsoncpp INSTALL_DIR) - set(jsoncpp_install_dir ${INSTALL_DIR}) - add_dependencies(finmall - jsoncpp) - target_include_directories(finmall - PRIVATE ${jsoncpp_install_dir}/include) - target_link_libraries(finmall - ${jsoncpp_install_dir}/lib/jsoncpp.lib) - set_target_properties(finmall - PROPERTIES - COMPILE_OPTIONS "/bigobj") -else() - target_include_directories(finmall - PRIVATE /usr/include/jsoncpp) - target_link_libraries(finmall - jsoncpp) -endif() - -install(FILES ${finmall_public_header} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/finmall) -install(FILES ${finmall_public_header_model} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/finmall/model) -install(TARGETS finmall - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/FinmallClient.h b/finmall/include/alibabacloud/finmall/FinmallClient.h deleted file mode 100644 index 55bf035d8..000000000 --- a/finmall/include/alibabacloud/finmall/FinmallClient.h +++ /dev/null @@ -1,358 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_FINMALLCLIENT_H_ -#define ALIBABACLOUD_FINMALL_FINMALLCLIENT_H_ - -#include -#include -#include -#include -#include "FinmallExport.h" -#include "model/GetCreditDetailRequest.h" -#include "model/GetCreditDetailResult.h" -#include "model/GetDocumentDownloadUrlRequest.h" -#include "model/GetDocumentDownloadUrlResult.h" -#include "model/GetCreditWithdrawRecordRequest.h" -#include "model/GetCreditWithdrawRecordResult.h" -#include "model/GetCustomerVerifyInfoRequest.h" -#include "model/GetCustomerVerifyInfoResult.h" -#include "model/QueryFundPartyListRequest.h" -#include "model/QueryFundPartyListResult.h" -#include "model/GetCreditStatusRequest.h" -#include "model/GetCreditStatusResult.h" -#include "model/SaveAuthenticationInfoRequest.h" -#include "model/SaveAuthenticationInfoResult.h" -#include "model/GetTradeDataRequest.h" -#include "model/GetTradeDataResult.h" -#include "model/UploadCustomIDImageRequest.h" -#include "model/UploadCustomIDImageResult.h" -#include "model/QuerySignResultRequest.h" -#include "model/QuerySignResultResult.h" -#include "model/ApplyForLoanRequest.h" -#include "model/ApplyForLoanResult.h" -#include "model/GetZhimaScoreRequest.h" -#include "model/GetZhimaScoreResult.h" -#include "model/PayForOrderRequest.h" -#include "model/PayForOrderResult.h" -#include "model/QueryTrialRecordsRequest.h" -#include "model/QueryTrialRecordsResult.h" -#include "model/GetCurrentTermRepayInfoRequest.h" -#include "model/GetCurrentTermRepayInfoResult.h" -#include "model/UpdateAuthenticationInfoRequest.h" -#include "model/UpdateAuthenticationInfoResult.h" -#include "model/UpdateEnterpriseCustomInfoRequest.h" -#include "model/UpdateEnterpriseCustomInfoResult.h" -#include "model/GetCreditSignatureInfoRequest.h" -#include "model/GetCreditSignatureInfoResult.h" -#include "model/AddTrialRecordRequest.h" -#include "model/AddTrialRecordResult.h" -#include "model/GetAuthorizeCreditQueryRequest.h" -#include "model/GetAuthorizeCreditQueryResult.h" -#include "model/CancelCreditRequest.h" -#include "model/CancelCreditResult.h" -#include "model/GetCustomStatusInfoRequest.h" -#include "model/GetCustomStatusInfoResult.h" -#include "model/GetOverdueRecordListRequest.h" -#include "model/GetOverdueRecordListResult.h" -#include "model/GetProductDetailRequest.h" -#include "model/GetProductDetailResult.h" -#include "model/VerifyCustomerRequest.h" -#include "model/VerifyCustomerResult.h" -#include "model/SignLoanAgreementRequest.h" -#include "model/SignLoanAgreementResult.h" -#include "model/AddCustomInfoRequest.h" -#include "model/AddCustomInfoResult.h" -#include "model/GetProductListRequest.h" -#include "model/GetProductListResult.h" -#include "model/GetLoanAgreementRequest.h" -#include "model/GetLoanAgreementResult.h" -#include "model/GetUserInfoAuthorizationAgreementRequest.h" -#include "model/GetUserInfoAuthorizationAgreementResult.h" -#include "model/SignedPageResultRequest.h" -#include "model/SignedPageResultResult.h" -#include "model/GetLoanApplyRecordListRequest.h" -#include "model/GetLoanApplyRecordListResult.h" -#include "model/GetLatestOverdueRecordRequest.h" -#include "model/GetLatestOverdueRecordResult.h" -#include "model/GetCreditListRequest.h" -#include "model/GetCreditListResult.h" -#include "model/SignResultNotifyRequest.h" -#include "model/SignResultNotifyResult.h" -#include "model/VerifySMSTokenRequest.h" -#include "model/VerifySMSTokenResult.h" -#include "model/GetCreditRepayListRequest.h" -#include "model/GetCreditRepayListResult.h" -#include "model/GetSignContractUrlRequest.h" -#include "model/GetSignContractUrlResult.h" -#include "model/GetRepayPlanTrialRequest.h" -#include "model/GetRepayPlanTrialResult.h" - - -namespace AlibabaCloud -{ - namespace Finmall - { - class ALIBABACLOUD_FINMALL_EXPORT FinmallClient : public RpcServiceClient - { - public: - typedef Outcome GetCreditDetailOutcome; - typedef std::future GetCreditDetailOutcomeCallable; - typedef std::function&)> GetCreditDetailAsyncHandler; - typedef Outcome GetDocumentDownloadUrlOutcome; - typedef std::future GetDocumentDownloadUrlOutcomeCallable; - typedef std::function&)> GetDocumentDownloadUrlAsyncHandler; - typedef Outcome GetCreditWithdrawRecordOutcome; - typedef std::future GetCreditWithdrawRecordOutcomeCallable; - typedef std::function&)> GetCreditWithdrawRecordAsyncHandler; - typedef Outcome GetCustomerVerifyInfoOutcome; - typedef std::future GetCustomerVerifyInfoOutcomeCallable; - typedef std::function&)> GetCustomerVerifyInfoAsyncHandler; - typedef Outcome QueryFundPartyListOutcome; - typedef std::future QueryFundPartyListOutcomeCallable; - typedef std::function&)> QueryFundPartyListAsyncHandler; - typedef Outcome GetCreditStatusOutcome; - typedef std::future GetCreditStatusOutcomeCallable; - typedef std::function&)> GetCreditStatusAsyncHandler; - typedef Outcome SaveAuthenticationInfoOutcome; - typedef std::future SaveAuthenticationInfoOutcomeCallable; - typedef std::function&)> SaveAuthenticationInfoAsyncHandler; - typedef Outcome GetTradeDataOutcome; - typedef std::future GetTradeDataOutcomeCallable; - typedef std::function&)> GetTradeDataAsyncHandler; - typedef Outcome UploadCustomIDImageOutcome; - typedef std::future UploadCustomIDImageOutcomeCallable; - typedef std::function&)> UploadCustomIDImageAsyncHandler; - typedef Outcome QuerySignResultOutcome; - typedef std::future QuerySignResultOutcomeCallable; - typedef std::function&)> QuerySignResultAsyncHandler; - typedef Outcome ApplyForLoanOutcome; - typedef std::future ApplyForLoanOutcomeCallable; - typedef std::function&)> ApplyForLoanAsyncHandler; - typedef Outcome GetZhimaScoreOutcome; - typedef std::future GetZhimaScoreOutcomeCallable; - typedef std::function&)> GetZhimaScoreAsyncHandler; - typedef Outcome PayForOrderOutcome; - typedef std::future PayForOrderOutcomeCallable; - typedef std::function&)> PayForOrderAsyncHandler; - typedef Outcome QueryTrialRecordsOutcome; - typedef std::future QueryTrialRecordsOutcomeCallable; - typedef std::function&)> QueryTrialRecordsAsyncHandler; - typedef Outcome GetCurrentTermRepayInfoOutcome; - typedef std::future GetCurrentTermRepayInfoOutcomeCallable; - typedef std::function&)> GetCurrentTermRepayInfoAsyncHandler; - typedef Outcome UpdateAuthenticationInfoOutcome; - typedef std::future UpdateAuthenticationInfoOutcomeCallable; - typedef std::function&)> UpdateAuthenticationInfoAsyncHandler; - typedef Outcome UpdateEnterpriseCustomInfoOutcome; - typedef std::future UpdateEnterpriseCustomInfoOutcomeCallable; - typedef std::function&)> UpdateEnterpriseCustomInfoAsyncHandler; - typedef Outcome GetCreditSignatureInfoOutcome; - typedef std::future GetCreditSignatureInfoOutcomeCallable; - typedef std::function&)> GetCreditSignatureInfoAsyncHandler; - typedef Outcome AddTrialRecordOutcome; - typedef std::future AddTrialRecordOutcomeCallable; - typedef std::function&)> AddTrialRecordAsyncHandler; - typedef Outcome GetAuthorizeCreditQueryOutcome; - typedef std::future GetAuthorizeCreditQueryOutcomeCallable; - typedef std::function&)> GetAuthorizeCreditQueryAsyncHandler; - typedef Outcome CancelCreditOutcome; - typedef std::future CancelCreditOutcomeCallable; - typedef std::function&)> CancelCreditAsyncHandler; - typedef Outcome GetCustomStatusInfoOutcome; - typedef std::future GetCustomStatusInfoOutcomeCallable; - typedef std::function&)> GetCustomStatusInfoAsyncHandler; - typedef Outcome GetOverdueRecordListOutcome; - typedef std::future GetOverdueRecordListOutcomeCallable; - typedef std::function&)> GetOverdueRecordListAsyncHandler; - typedef Outcome GetProductDetailOutcome; - typedef std::future GetProductDetailOutcomeCallable; - typedef std::function&)> GetProductDetailAsyncHandler; - typedef Outcome VerifyCustomerOutcome; - typedef std::future VerifyCustomerOutcomeCallable; - typedef std::function&)> VerifyCustomerAsyncHandler; - typedef Outcome SignLoanAgreementOutcome; - typedef std::future SignLoanAgreementOutcomeCallable; - typedef std::function&)> SignLoanAgreementAsyncHandler; - typedef Outcome AddCustomInfoOutcome; - typedef std::future AddCustomInfoOutcomeCallable; - typedef std::function&)> AddCustomInfoAsyncHandler; - typedef Outcome GetProductListOutcome; - typedef std::future GetProductListOutcomeCallable; - typedef std::function&)> GetProductListAsyncHandler; - typedef Outcome GetLoanAgreementOutcome; - typedef std::future GetLoanAgreementOutcomeCallable; - typedef std::function&)> GetLoanAgreementAsyncHandler; - typedef Outcome GetUserInfoAuthorizationAgreementOutcome; - typedef std::future GetUserInfoAuthorizationAgreementOutcomeCallable; - typedef std::function&)> GetUserInfoAuthorizationAgreementAsyncHandler; - typedef Outcome SignedPageResultOutcome; - typedef std::future SignedPageResultOutcomeCallable; - typedef std::function&)> SignedPageResultAsyncHandler; - typedef Outcome GetLoanApplyRecordListOutcome; - typedef std::future GetLoanApplyRecordListOutcomeCallable; - typedef std::function&)> GetLoanApplyRecordListAsyncHandler; - typedef Outcome GetLatestOverdueRecordOutcome; - typedef std::future GetLatestOverdueRecordOutcomeCallable; - typedef std::function&)> GetLatestOverdueRecordAsyncHandler; - typedef Outcome GetCreditListOutcome; - typedef std::future GetCreditListOutcomeCallable; - typedef std::function&)> GetCreditListAsyncHandler; - typedef Outcome SignResultNotifyOutcome; - typedef std::future SignResultNotifyOutcomeCallable; - typedef std::function&)> SignResultNotifyAsyncHandler; - typedef Outcome VerifySMSTokenOutcome; - typedef std::future VerifySMSTokenOutcomeCallable; - typedef std::function&)> VerifySMSTokenAsyncHandler; - typedef Outcome GetCreditRepayListOutcome; - typedef std::future GetCreditRepayListOutcomeCallable; - typedef std::function&)> GetCreditRepayListAsyncHandler; - typedef Outcome GetSignContractUrlOutcome; - typedef std::future GetSignContractUrlOutcomeCallable; - typedef std::function&)> GetSignContractUrlAsyncHandler; - typedef Outcome GetRepayPlanTrialOutcome; - typedef std::future GetRepayPlanTrialOutcomeCallable; - typedef std::function&)> GetRepayPlanTrialAsyncHandler; - - FinmallClient(const Credentials &credentials, const ClientConfiguration &configuration); - FinmallClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); - FinmallClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); - ~FinmallClient(); - GetCreditDetailOutcome getCreditDetail(const Model::GetCreditDetailRequest &request)const; - void getCreditDetailAsync(const Model::GetCreditDetailRequest& request, const GetCreditDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCreditDetailOutcomeCallable getCreditDetailCallable(const Model::GetCreditDetailRequest& request) const; - GetDocumentDownloadUrlOutcome getDocumentDownloadUrl(const Model::GetDocumentDownloadUrlRequest &request)const; - void getDocumentDownloadUrlAsync(const Model::GetDocumentDownloadUrlRequest& request, const GetDocumentDownloadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDocumentDownloadUrlOutcomeCallable getDocumentDownloadUrlCallable(const Model::GetDocumentDownloadUrlRequest& request) const; - GetCreditWithdrawRecordOutcome getCreditWithdrawRecord(const Model::GetCreditWithdrawRecordRequest &request)const; - void getCreditWithdrawRecordAsync(const Model::GetCreditWithdrawRecordRequest& request, const GetCreditWithdrawRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCreditWithdrawRecordOutcomeCallable getCreditWithdrawRecordCallable(const Model::GetCreditWithdrawRecordRequest& request) const; - GetCustomerVerifyInfoOutcome getCustomerVerifyInfo(const Model::GetCustomerVerifyInfoRequest &request)const; - void getCustomerVerifyInfoAsync(const Model::GetCustomerVerifyInfoRequest& request, const GetCustomerVerifyInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCustomerVerifyInfoOutcomeCallable getCustomerVerifyInfoCallable(const Model::GetCustomerVerifyInfoRequest& request) const; - QueryFundPartyListOutcome queryFundPartyList(const Model::QueryFundPartyListRequest &request)const; - void queryFundPartyListAsync(const Model::QueryFundPartyListRequest& request, const QueryFundPartyListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryFundPartyListOutcomeCallable queryFundPartyListCallable(const Model::QueryFundPartyListRequest& request) const; - GetCreditStatusOutcome getCreditStatus(const Model::GetCreditStatusRequest &request)const; - void getCreditStatusAsync(const Model::GetCreditStatusRequest& request, const GetCreditStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCreditStatusOutcomeCallable getCreditStatusCallable(const Model::GetCreditStatusRequest& request) const; - SaveAuthenticationInfoOutcome saveAuthenticationInfo(const Model::SaveAuthenticationInfoRequest &request)const; - void saveAuthenticationInfoAsync(const Model::SaveAuthenticationInfoRequest& request, const SaveAuthenticationInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SaveAuthenticationInfoOutcomeCallable saveAuthenticationInfoCallable(const Model::SaveAuthenticationInfoRequest& request) const; - GetTradeDataOutcome getTradeData(const Model::GetTradeDataRequest &request)const; - void getTradeDataAsync(const Model::GetTradeDataRequest& request, const GetTradeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetTradeDataOutcomeCallable getTradeDataCallable(const Model::GetTradeDataRequest& request) const; - UploadCustomIDImageOutcome uploadCustomIDImage(const Model::UploadCustomIDImageRequest &request)const; - void uploadCustomIDImageAsync(const Model::UploadCustomIDImageRequest& request, const UploadCustomIDImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UploadCustomIDImageOutcomeCallable uploadCustomIDImageCallable(const Model::UploadCustomIDImageRequest& request) const; - QuerySignResultOutcome querySignResult(const Model::QuerySignResultRequest &request)const; - void querySignResultAsync(const Model::QuerySignResultRequest& request, const QuerySignResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QuerySignResultOutcomeCallable querySignResultCallable(const Model::QuerySignResultRequest& request) const; - ApplyForLoanOutcome applyForLoan(const Model::ApplyForLoanRequest &request)const; - void applyForLoanAsync(const Model::ApplyForLoanRequest& request, const ApplyForLoanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ApplyForLoanOutcomeCallable applyForLoanCallable(const Model::ApplyForLoanRequest& request) const; - GetZhimaScoreOutcome getZhimaScore(const Model::GetZhimaScoreRequest &request)const; - void getZhimaScoreAsync(const Model::GetZhimaScoreRequest& request, const GetZhimaScoreAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetZhimaScoreOutcomeCallable getZhimaScoreCallable(const Model::GetZhimaScoreRequest& request) const; - PayForOrderOutcome payForOrder(const Model::PayForOrderRequest &request)const; - void payForOrderAsync(const Model::PayForOrderRequest& request, const PayForOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PayForOrderOutcomeCallable payForOrderCallable(const Model::PayForOrderRequest& request) const; - QueryTrialRecordsOutcome queryTrialRecords(const Model::QueryTrialRecordsRequest &request)const; - void queryTrialRecordsAsync(const Model::QueryTrialRecordsRequest& request, const QueryTrialRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTrialRecordsOutcomeCallable queryTrialRecordsCallable(const Model::QueryTrialRecordsRequest& request) const; - GetCurrentTermRepayInfoOutcome getCurrentTermRepayInfo(const Model::GetCurrentTermRepayInfoRequest &request)const; - void getCurrentTermRepayInfoAsync(const Model::GetCurrentTermRepayInfoRequest& request, const GetCurrentTermRepayInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCurrentTermRepayInfoOutcomeCallable getCurrentTermRepayInfoCallable(const Model::GetCurrentTermRepayInfoRequest& request) const; - UpdateAuthenticationInfoOutcome updateAuthenticationInfo(const Model::UpdateAuthenticationInfoRequest &request)const; - void updateAuthenticationInfoAsync(const Model::UpdateAuthenticationInfoRequest& request, const UpdateAuthenticationInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateAuthenticationInfoOutcomeCallable updateAuthenticationInfoCallable(const Model::UpdateAuthenticationInfoRequest& request) const; - UpdateEnterpriseCustomInfoOutcome updateEnterpriseCustomInfo(const Model::UpdateEnterpriseCustomInfoRequest &request)const; - void updateEnterpriseCustomInfoAsync(const Model::UpdateEnterpriseCustomInfoRequest& request, const UpdateEnterpriseCustomInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateEnterpriseCustomInfoOutcomeCallable updateEnterpriseCustomInfoCallable(const Model::UpdateEnterpriseCustomInfoRequest& request) const; - GetCreditSignatureInfoOutcome getCreditSignatureInfo(const Model::GetCreditSignatureInfoRequest &request)const; - void getCreditSignatureInfoAsync(const Model::GetCreditSignatureInfoRequest& request, const GetCreditSignatureInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCreditSignatureInfoOutcomeCallable getCreditSignatureInfoCallable(const Model::GetCreditSignatureInfoRequest& request) const; - AddTrialRecordOutcome addTrialRecord(const Model::AddTrialRecordRequest &request)const; - void addTrialRecordAsync(const Model::AddTrialRecordRequest& request, const AddTrialRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddTrialRecordOutcomeCallable addTrialRecordCallable(const Model::AddTrialRecordRequest& request) const; - GetAuthorizeCreditQueryOutcome getAuthorizeCreditQuery(const Model::GetAuthorizeCreditQueryRequest &request)const; - void getAuthorizeCreditQueryAsync(const Model::GetAuthorizeCreditQueryRequest& request, const GetAuthorizeCreditQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetAuthorizeCreditQueryOutcomeCallable getAuthorizeCreditQueryCallable(const Model::GetAuthorizeCreditQueryRequest& request) const; - CancelCreditOutcome cancelCredit(const Model::CancelCreditRequest &request)const; - void cancelCreditAsync(const Model::CancelCreditRequest& request, const CancelCreditAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CancelCreditOutcomeCallable cancelCreditCallable(const Model::CancelCreditRequest& request) const; - GetCustomStatusInfoOutcome getCustomStatusInfo(const Model::GetCustomStatusInfoRequest &request)const; - void getCustomStatusInfoAsync(const Model::GetCustomStatusInfoRequest& request, const GetCustomStatusInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCustomStatusInfoOutcomeCallable getCustomStatusInfoCallable(const Model::GetCustomStatusInfoRequest& request) const; - GetOverdueRecordListOutcome getOverdueRecordList(const Model::GetOverdueRecordListRequest &request)const; - void getOverdueRecordListAsync(const Model::GetOverdueRecordListRequest& request, const GetOverdueRecordListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetOverdueRecordListOutcomeCallable getOverdueRecordListCallable(const Model::GetOverdueRecordListRequest& request) const; - GetProductDetailOutcome getProductDetail(const Model::GetProductDetailRequest &request)const; - void getProductDetailAsync(const Model::GetProductDetailRequest& request, const GetProductDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetProductDetailOutcomeCallable getProductDetailCallable(const Model::GetProductDetailRequest& request) const; - VerifyCustomerOutcome verifyCustomer(const Model::VerifyCustomerRequest &request)const; - void verifyCustomerAsync(const Model::VerifyCustomerRequest& request, const VerifyCustomerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VerifyCustomerOutcomeCallable verifyCustomerCallable(const Model::VerifyCustomerRequest& request) const; - SignLoanAgreementOutcome signLoanAgreement(const Model::SignLoanAgreementRequest &request)const; - void signLoanAgreementAsync(const Model::SignLoanAgreementRequest& request, const SignLoanAgreementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SignLoanAgreementOutcomeCallable signLoanAgreementCallable(const Model::SignLoanAgreementRequest& request) const; - AddCustomInfoOutcome addCustomInfo(const Model::AddCustomInfoRequest &request)const; - void addCustomInfoAsync(const Model::AddCustomInfoRequest& request, const AddCustomInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddCustomInfoOutcomeCallable addCustomInfoCallable(const Model::AddCustomInfoRequest& request) const; - GetProductListOutcome getProductList(const Model::GetProductListRequest &request)const; - void getProductListAsync(const Model::GetProductListRequest& request, const GetProductListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetProductListOutcomeCallable getProductListCallable(const Model::GetProductListRequest& request) const; - GetLoanAgreementOutcome getLoanAgreement(const Model::GetLoanAgreementRequest &request)const; - void getLoanAgreementAsync(const Model::GetLoanAgreementRequest& request, const GetLoanAgreementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetLoanAgreementOutcomeCallable getLoanAgreementCallable(const Model::GetLoanAgreementRequest& request) const; - GetUserInfoAuthorizationAgreementOutcome getUserInfoAuthorizationAgreement(const Model::GetUserInfoAuthorizationAgreementRequest &request)const; - void getUserInfoAuthorizationAgreementAsync(const Model::GetUserInfoAuthorizationAgreementRequest& request, const GetUserInfoAuthorizationAgreementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetUserInfoAuthorizationAgreementOutcomeCallable getUserInfoAuthorizationAgreementCallable(const Model::GetUserInfoAuthorizationAgreementRequest& request) const; - SignedPageResultOutcome signedPageResult(const Model::SignedPageResultRequest &request)const; - void signedPageResultAsync(const Model::SignedPageResultRequest& request, const SignedPageResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SignedPageResultOutcomeCallable signedPageResultCallable(const Model::SignedPageResultRequest& request) const; - GetLoanApplyRecordListOutcome getLoanApplyRecordList(const Model::GetLoanApplyRecordListRequest &request)const; - void getLoanApplyRecordListAsync(const Model::GetLoanApplyRecordListRequest& request, const GetLoanApplyRecordListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetLoanApplyRecordListOutcomeCallable getLoanApplyRecordListCallable(const Model::GetLoanApplyRecordListRequest& request) const; - GetLatestOverdueRecordOutcome getLatestOverdueRecord(const Model::GetLatestOverdueRecordRequest &request)const; - void getLatestOverdueRecordAsync(const Model::GetLatestOverdueRecordRequest& request, const GetLatestOverdueRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetLatestOverdueRecordOutcomeCallable getLatestOverdueRecordCallable(const Model::GetLatestOverdueRecordRequest& request) const; - GetCreditListOutcome getCreditList(const Model::GetCreditListRequest &request)const; - void getCreditListAsync(const Model::GetCreditListRequest& request, const GetCreditListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCreditListOutcomeCallable getCreditListCallable(const Model::GetCreditListRequest& request) const; - SignResultNotifyOutcome signResultNotify(const Model::SignResultNotifyRequest &request)const; - void signResultNotifyAsync(const Model::SignResultNotifyRequest& request, const SignResultNotifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SignResultNotifyOutcomeCallable signResultNotifyCallable(const Model::SignResultNotifyRequest& request) const; - VerifySMSTokenOutcome verifySMSToken(const Model::VerifySMSTokenRequest &request)const; - void verifySMSTokenAsync(const Model::VerifySMSTokenRequest& request, const VerifySMSTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VerifySMSTokenOutcomeCallable verifySMSTokenCallable(const Model::VerifySMSTokenRequest& request) const; - GetCreditRepayListOutcome getCreditRepayList(const Model::GetCreditRepayListRequest &request)const; - void getCreditRepayListAsync(const Model::GetCreditRepayListRequest& request, const GetCreditRepayListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCreditRepayListOutcomeCallable getCreditRepayListCallable(const Model::GetCreditRepayListRequest& request) const; - GetSignContractUrlOutcome getSignContractUrl(const Model::GetSignContractUrlRequest &request)const; - void getSignContractUrlAsync(const Model::GetSignContractUrlRequest& request, const GetSignContractUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetSignContractUrlOutcomeCallable getSignContractUrlCallable(const Model::GetSignContractUrlRequest& request) const; - GetRepayPlanTrialOutcome getRepayPlanTrial(const Model::GetRepayPlanTrialRequest &request)const; - void getRepayPlanTrialAsync(const Model::GetRepayPlanTrialRequest& request, const GetRepayPlanTrialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetRepayPlanTrialOutcomeCallable getRepayPlanTrialCallable(const Model::GetRepayPlanTrialRequest& request) const; - - private: - std::shared_ptr endpointProvider_; - }; - } -} - -#endif // !ALIBABACLOUD_FINMALL_FINMALLCLIENT_H_ diff --git a/finmall/include/alibabacloud/finmall/FinmallExport.h b/finmall/include/alibabacloud/finmall/FinmallExport.h deleted file mode 100644 index 4a035e380..000000000 --- a/finmall/include/alibabacloud/finmall/FinmallExport.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_FINMALLEXPORT_H_ -#define ALIBABACLOUD_FINMALL_FINMALLEXPORT_H_ - -#include - -#if defined(ALIBABACLOUD_SHARED) -# if defined(ALIBABACLOUD_FINMALL_LIBRARY) -# define ALIBABACLOUD_FINMALL_EXPORT ALIBABACLOUD_DECL_EXPORT -# else -# define ALIBABACLOUD_FINMALL_EXPORT ALIBABACLOUD_DECL_IMPORT -# endif -#else -# define ALIBABACLOUD_FINMALL_EXPORT -#endif - -#endif // !ALIBABACLOUD_FINMALL_FINMALLEXPORT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/AddCustomInfoRequest.h b/finmall/include/alibabacloud/finmall/model/AddCustomInfoRequest.h deleted file mode 100644 index 93364ca2f..000000000 --- a/finmall/include/alibabacloud/finmall/model/AddCustomInfoRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT AddCustomInfoRequest : public RpcServiceRequest - { - - public: - AddCustomInfoRequest(); - ~AddCustomInfoRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/AddCustomInfoResult.h b/finmall/include/alibabacloud/finmall/model/AddCustomInfoResult.h deleted file mode 100644 index 06c93be59..000000000 --- a/finmall/include/alibabacloud/finmall/model/AddCustomInfoResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT AddCustomInfoResult : public ServiceResult - { - public: - struct Data - { - std::string userState; - std::string customId; - std::string validateState; - std::string validateTime; - }; - - - AddCustomInfoResult(); - explicit AddCustomInfoResult(const std::string &payload); - ~AddCustomInfoResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/AddTrialRecordRequest.h b/finmall/include/alibabacloud/finmall/model/AddTrialRecordRequest.h deleted file mode 100644 index f54101425..000000000 --- a/finmall/include/alibabacloud/finmall/model/AddTrialRecordRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT AddTrialRecordRequest : public RpcServiceRequest - { - - public: - AddTrialRecordRequest(); - ~AddTrialRecordRequest(); - - std::string getNote()const; - void setNote(const std::string& note); - std::string getEnterpriseEmail()const; - void setEnterpriseEmail(const std::string& enterpriseEmail); - std::string getContractPhoneNumber()const; - void setContractPhoneNumber(const std::string& contractPhoneNumber); - std::string getContractName()const; - void setContractName(const std::string& contractName); - std::string getChannel()const; - void setChannel(const std::string& channel); - std::string getEnterpriseName()const; - void setEnterpriseName(const std::string& enterpriseName); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getProducts()const; - void setProducts(const std::string& products); - std::string getBudget()const; - void setBudget(const std::string& budget); - - private: - std::string note_; - std::string enterpriseEmail_; - std::string contractPhoneNumber_; - std::string contractName_; - std::string channel_; - std::string enterpriseName_; - std::string userId_; - std::string products_; - std::string budget_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/AddTrialRecordResult.h b/finmall/include/alibabacloud/finmall/model/AddTrialRecordResult.h deleted file mode 100644 index f74d314bb..000000000 --- a/finmall/include/alibabacloud/finmall/model/AddTrialRecordResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT AddTrialRecordResult : public ServiceResult - { - public: - struct Data - { - std::string customId; - }; - - - AddTrialRecordResult(); - explicit AddTrialRecordResult(const std::string &payload); - ~AddTrialRecordResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/ApplyForLoanRequest.h b/finmall/include/alibabacloud/finmall/model/ApplyForLoanRequest.h deleted file mode 100644 index 7f705e03f..000000000 --- a/finmall/include/alibabacloud/finmall/model/ApplyForLoanRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT ApplyForLoanRequest : public RpcServiceRequest - { - - public: - ApplyForLoanRequest(); - ~ApplyForLoanRequest(); - - std::string getBizType()const; - void setBizType(const std::string& bizType); - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getProductId()const; - void setProductId(const std::string& productId); - std::string getFundpartyId()const; - void setFundpartyId(const std::string& fundpartyId); - std::string getBizData()const; - void setBizData(const std::string& bizData); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string bizType_; - std::string creditId_; - std::string productId_; - std::string fundpartyId_; - std::string bizData_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/ApplyForLoanResult.h b/finmall/include/alibabacloud/finmall/model/ApplyForLoanResult.h deleted file mode 100644 index 6a3098b58..000000000 --- a/finmall/include/alibabacloud/finmall/model/ApplyForLoanResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT ApplyForLoanResult : public ServiceResult - { - public: - struct Data - { - std::string returnCode; - }; - - - ApplyForLoanResult(); - explicit ApplyForLoanResult(const std::string &payload); - ~ApplyForLoanResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/CancelCreditRequest.h b/finmall/include/alibabacloud/finmall/model/CancelCreditRequest.h deleted file mode 100644 index 897951c4a..000000000 --- a/finmall/include/alibabacloud/finmall/model/CancelCreditRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT CancelCreditRequest : public RpcServiceRequest - { - - public: - CancelCreditRequest(); - ~CancelCreditRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/CancelCreditResult.h b/finmall/include/alibabacloud/finmall/model/CancelCreditResult.h deleted file mode 100644 index 51e0404a1..000000000 --- a/finmall/include/alibabacloud/finmall/model/CancelCreditResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT CancelCreditResult : public ServiceResult - { - public: - struct Data - { - std::string returnCode; - std::string creditId; - }; - - - CancelCreditResult(); - explicit CancelCreditResult(const std::string &payload); - ~CancelCreditResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetAuthorizeCreditQueryRequest.h b/finmall/include/alibabacloud/finmall/model/GetAuthorizeCreditQueryRequest.h deleted file mode 100644 index 7fabade3d..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetAuthorizeCreditQueryRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetAuthorizeCreditQueryRequest : public RpcServiceRequest - { - - public: - GetAuthorizeCreditQueryRequest(); - ~GetAuthorizeCreditQueryRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getFundPartyId()const; - void setFundPartyId(const std::string& fundPartyId); - std::string getReturnUrl()const; - void setReturnUrl(const std::string& returnUrl); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string fundPartyId_; - std::string returnUrl_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetAuthorizeCreditQueryResult.h b/finmall/include/alibabacloud/finmall/model/GetAuthorizeCreditQueryResult.h deleted file mode 100644 index c425fdb5b..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetAuthorizeCreditQueryResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetAuthorizeCreditQueryResult : public ServiceResult - { - public: - struct Data - { - std::string viewUrl; - std::string returnCode; - std::string url; - std::string downloadUrl; - }; - - - GetAuthorizeCreditQueryResult(); - explicit GetAuthorizeCreditQueryResult(const std::string &payload); - ~GetAuthorizeCreditQueryResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditDetailRequest.h b/finmall/include/alibabacloud/finmall/model/GetCreditDetailRequest.h deleted file mode 100644 index 1192f754c..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditDetailRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditDetailRequest : public RpcServiceRequest - { - - public: - GetCreditDetailRequest(); - ~GetCreditDetailRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditDetailResult.h b/finmall/include/alibabacloud/finmall/model/GetCreditDetailResult.h deleted file mode 100644 index 4d21356df..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditDetailResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditDetailResult : public ServiceResult - { - public: - struct Data - { - std::string loanBalance; - std::string downPaymentRate; - std::string productName; - std::string amount; - std::string downPaymentAmount; - std::string productId; - std::string createDate; - std::string fundPartyId; - std::string updateDate; - std::string creditId; - std::string state; - std::string debtorName; - std::string repayPhase; - std::string lineOfCredit; - }; - - - GetCreditDetailResult(); - explicit GetCreditDetailResult(const std::string &payload); - ~GetCreditDetailResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditListRequest.h b/finmall/include/alibabacloud/finmall/model/GetCreditListRequest.h deleted file mode 100644 index 1f0283a45..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditListRequest : public RpcServiceRequest - { - - public: - GetCreditListRequest(); - ~GetCreditListRequest(); - - std::string getQueryExpression()const; - void setQueryExpression(const std::string& queryExpression); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getUserId()const; - void setUserId(const std::string& userId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string queryExpression_; - int pageSize_; - std::string userId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditListResult.h b/finmall/include/alibabacloud/finmall/model/GetCreditListResult.h deleted file mode 100644 index 5a1fe20ca..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditListResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditListResult : public ServiceResult - { - public: - - - GetCreditListResult(); - explicit GetCreditListResult(const std::string &payload); - ~GetCreditListResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditRepayListRequest.h b/finmall/include/alibabacloud/finmall/model/GetCreditRepayListRequest.h deleted file mode 100644 index a28ef278f..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditRepayListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditRepayListRequest : public RpcServiceRequest - { - - public: - GetCreditRepayListRequest(); - ~GetCreditRepayListRequest(); - - std::string getQueryExpression()const; - void setQueryExpression(const std::string& queryExpression); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getUserId()const; - void setUserId(const std::string& userId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string queryExpression_; - int pageSize_; - std::string userId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditRepayListResult.h b/finmall/include/alibabacloud/finmall/model/GetCreditRepayListResult.h deleted file mode 100644 index d518df362..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditRepayListResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditRepayListResult : public ServiceResult - { - public: - - - GetCreditRepayListResult(); - explicit GetCreditRepayListResult(const std::string &payload); - ~GetCreditRepayListResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditSignatureInfoRequest.h b/finmall/include/alibabacloud/finmall/model/GetCreditSignatureInfoRequest.h deleted file mode 100644 index 977e37ddc..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditSignatureInfoRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditSignatureInfoRequest : public RpcServiceRequest - { - - public: - GetCreditSignatureInfoRequest(); - ~GetCreditSignatureInfoRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditSignatureInfoResult.h b/finmall/include/alibabacloud/finmall/model/GetCreditSignatureInfoResult.h deleted file mode 100644 index 5666bed8f..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditSignatureInfoResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditSignatureInfoResult : public ServiceResult - { - public: - - - GetCreditSignatureInfoResult(); - explicit GetCreditSignatureInfoResult(const std::string &payload); - ~GetCreditSignatureInfoResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditStatusRequest.h b/finmall/include/alibabacloud/finmall/model/GetCreditStatusRequest.h deleted file mode 100644 index 2681fb574..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditStatusRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditStatusRequest : public RpcServiceRequest - { - - public: - GetCreditStatusRequest(); - ~GetCreditStatusRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditStatusResult.h b/finmall/include/alibabacloud/finmall/model/GetCreditStatusResult.h deleted file mode 100644 index ab43283db..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditStatusResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditStatusResult : public ServiceResult - { - public: - struct Data - { - std::string status; - std::string fundPartyId; - std::string creditApproveComment; - std::string createTime; - std::string tradeDataId; - std::string productId; - }; - - - GetCreditStatusResult(); - explicit GetCreditStatusResult(const std::string &payload); - ~GetCreditStatusResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditWithdrawRecordRequest.h b/finmall/include/alibabacloud/finmall/model/GetCreditWithdrawRecordRequest.h deleted file mode 100644 index a24bd64e3..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditWithdrawRecordRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditWithdrawRecordRequest : public RpcServiceRequest - { - - public: - GetCreditWithdrawRecordRequest(); - ~GetCreditWithdrawRecordRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCreditWithdrawRecordResult.h b/finmall/include/alibabacloud/finmall/model/GetCreditWithdrawRecordResult.h deleted file mode 100644 index 4dbcfd14c..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCreditWithdrawRecordResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCreditWithdrawRecordResult : public ServiceResult - { - public: - - - GetCreditWithdrawRecordResult(); - explicit GetCreditWithdrawRecordResult(const std::string &payload); - ~GetCreditWithdrawRecordResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCurrentTermRepayInfoRequest.h b/finmall/include/alibabacloud/finmall/model/GetCurrentTermRepayInfoRequest.h deleted file mode 100644 index 948110ca8..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCurrentTermRepayInfoRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCurrentTermRepayInfoRequest : public RpcServiceRequest - { - - public: - GetCurrentTermRepayInfoRequest(); - ~GetCurrentTermRepayInfoRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCurrentTermRepayInfoResult.h b/finmall/include/alibabacloud/finmall/model/GetCurrentTermRepayInfoResult.h deleted file mode 100644 index d5d19e0b8..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCurrentTermRepayInfoResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCurrentTermRepayInfoResult : public ServiceResult - { - public: - struct Data - { - std::string fineAmt; - std::string loanBalance; - std::string expiryDate; - std::string balAmt; - std::string fineInter; - std::string creditId; - std::string interAmt; - std::string interInter; - std::string totalLoanAmount; - std::string repayPrincipalAmount; - }; - - - GetCurrentTermRepayInfoResult(); - explicit GetCurrentTermRepayInfoResult(const std::string &payload); - ~GetCurrentTermRepayInfoResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCustomStatusInfoRequest.h b/finmall/include/alibabacloud/finmall/model/GetCustomStatusInfoRequest.h deleted file mode 100644 index aa21d555e..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCustomStatusInfoRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCustomStatusInfoRequest : public RpcServiceRequest - { - - public: - GetCustomStatusInfoRequest(); - ~GetCustomStatusInfoRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCustomStatusInfoResult.h b/finmall/include/alibabacloud/finmall/model/GetCustomStatusInfoResult.h deleted file mode 100644 index 86cf0d2a3..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCustomStatusInfoResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCustomStatusInfoResult : public ServiceResult - { - public: - struct Data - { - std::string userState; - std::string customId; - std::string validateState; - std::string validateTime; - }; - - - GetCustomStatusInfoResult(); - explicit GetCustomStatusInfoResult(const std::string &payload); - ~GetCustomStatusInfoResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCustomerVerifyInfoRequest.h b/finmall/include/alibabacloud/finmall/model/GetCustomerVerifyInfoRequest.h deleted file mode 100644 index 5310da2b5..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCustomerVerifyInfoRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCustomerVerifyInfoRequest : public RpcServiceRequest - { - - public: - GetCustomerVerifyInfoRequest(); - ~GetCustomerVerifyInfoRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetCustomerVerifyInfoResult.h b/finmall/include/alibabacloud/finmall/model/GetCustomerVerifyInfoResult.h deleted file mode 100644 index f4e99e30b..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetCustomerVerifyInfoResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetCustomerVerifyInfoResult : public ServiceResult - { - public: - struct Data - { - std::string idCardNumber; - std::string email; - std::string address; - std::string idCardBackPage; - std::string validateState; - std::string bankCard; - std::string idCardFrontPage; - std::string legalPersonName; - std::string businessLicense; - std::string loanSubject; - std::string enterpriseName; - std::string phoneNumber; - std::string validateTime; - }; - - - GetCustomerVerifyInfoResult(); - explicit GetCustomerVerifyInfoResult(const std::string &payload); - ~GetCustomerVerifyInfoResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetDocumentDownloadUrlRequest.h b/finmall/include/alibabacloud/finmall/model/GetDocumentDownloadUrlRequest.h deleted file mode 100644 index 5f6e26219..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetDocumentDownloadUrlRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetDocumentDownloadUrlRequest : public RpcServiceRequest - { - - public: - GetDocumentDownloadUrlRequest(); - ~GetDocumentDownloadUrlRequest(); - - std::string getBizType()const; - void setBizType(const std::string& bizType); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getDocumentId()const; - void setDocumentId(const std::string& documentId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string bizType_; - std::string bizId_; - std::string documentId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetDocumentDownloadUrlResult.h b/finmall/include/alibabacloud/finmall/model/GetDocumentDownloadUrlResult.h deleted file mode 100644 index 3bfcdc735..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetDocumentDownloadUrlResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetDocumentDownloadUrlResult : public ServiceResult - { - public: - struct Data - { - std::string viewUrl; - std::string downloadUrl; - }; - - - GetDocumentDownloadUrlResult(); - explicit GetDocumentDownloadUrlResult(const std::string &payload); - ~GetDocumentDownloadUrlResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetLatestOverdueRecordRequest.h b/finmall/include/alibabacloud/finmall/model/GetLatestOverdueRecordRequest.h deleted file mode 100644 index 6345b68f1..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetLatestOverdueRecordRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetLatestOverdueRecordRequest : public RpcServiceRequest - { - - public: - GetLatestOverdueRecordRequest(); - ~GetLatestOverdueRecordRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetLatestOverdueRecordResult.h b/finmall/include/alibabacloud/finmall/model/GetLatestOverdueRecordResult.h deleted file mode 100644 index 5c5efc35f..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetLatestOverdueRecordResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetLatestOverdueRecordResult : public ServiceResult - { - public: - struct Data - { - std::string interestAmount; - std::string creditAccount; - std::string overdueStartDate; - std::string overdueId; - std::string creditId; - std::string interestOfInterest; - std::string overdueType; - std::string fineInterest; - std::string principal; - std::string fineAmount; - std::string overdueDays; - }; - - - GetLatestOverdueRecordResult(); - explicit GetLatestOverdueRecordResult(const std::string &payload); - ~GetLatestOverdueRecordResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetLoanAgreementRequest.h b/finmall/include/alibabacloud/finmall/model/GetLoanAgreementRequest.h deleted file mode 100644 index 871cc0d59..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetLoanAgreementRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetLoanAgreementRequest : public RpcServiceRequest - { - - public: - GetLoanAgreementRequest(); - ~GetLoanAgreementRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getFundPartyId()const; - void setFundPartyId(const std::string& fundPartyId); - std::string getReturnUrl()const; - void setReturnUrl(const std::string& returnUrl); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string fundPartyId_; - std::string returnUrl_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetLoanAgreementResult.h b/finmall/include/alibabacloud/finmall/model/GetLoanAgreementResult.h deleted file mode 100644 index 0a4b7b65c..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetLoanAgreementResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetLoanAgreementResult : public ServiceResult - { - public: - struct Data - { - std::string viewUrl; - std::string returnCode; - std::string url; - std::string downloadUrl; - }; - - - GetLoanAgreementResult(); - explicit GetLoanAgreementResult(const std::string &payload); - ~GetLoanAgreementResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetLoanApplyRecordListRequest.h b/finmall/include/alibabacloud/finmall/model/GetLoanApplyRecordListRequest.h deleted file mode 100644 index f34e35ab5..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetLoanApplyRecordListRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetLoanApplyRecordListRequest : public RpcServiceRequest - { - - public: - GetLoanApplyRecordListRequest(); - ~GetLoanApplyRecordListRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetLoanApplyRecordListResult.h b/finmall/include/alibabacloud/finmall/model/GetLoanApplyRecordListResult.h deleted file mode 100644 index 723ae2972..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetLoanApplyRecordListResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetLoanApplyRecordListResult : public ServiceResult - { - public: - - - GetLoanApplyRecordListResult(); - explicit GetLoanApplyRecordListResult(const std::string &payload); - ~GetLoanApplyRecordListResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetOverdueRecordListRequest.h b/finmall/include/alibabacloud/finmall/model/GetOverdueRecordListRequest.h deleted file mode 100644 index 008e8be27..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetOverdueRecordListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetOverdueRecordListRequest : public RpcServiceRequest - { - - public: - GetOverdueRecordListRequest(); - ~GetOverdueRecordListRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getQueryExpression()const; - void setQueryExpression(const std::string& queryExpression); - std::string getUserId()const; - void setUserId(const std::string& userId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string queryExpression_; - std::string userId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetOverdueRecordListResult.h b/finmall/include/alibabacloud/finmall/model/GetOverdueRecordListResult.h deleted file mode 100644 index 832438c2a..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetOverdueRecordListResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetOverdueRecordListResult : public ServiceResult - { - public: - - - GetOverdueRecordListResult(); - explicit GetOverdueRecordListResult(const std::string &payload); - ~GetOverdueRecordListResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetProductDetailRequest.h b/finmall/include/alibabacloud/finmall/model/GetProductDetailRequest.h deleted file mode 100644 index 0e7d2c392..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetProductDetailRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetProductDetailRequest : public RpcServiceRequest - { - - public: - GetProductDetailRequest(); - ~GetProductDetailRequest(); - - std::string getProductId()const; - void setProductId(const std::string& productId); - std::string getFundPartyId()const; - void setFundPartyId(const std::string& fundPartyId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string productId_; - std::string fundPartyId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetProductDetailResult.h b/finmall/include/alibabacloud/finmall/model/GetProductDetailResult.h deleted file mode 100644 index 945f62212..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetProductDetailResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetProductDetailResult : public ServiceResult - { - public: - struct Data - { - std::string principalLimit; - std::string comment; - std::string productName; - std::string terms; - std::string productId; - std::string yearRate; - std::string fineAmount; - std::string lendingOrganizations; - std::string dailyRate; - std::string financialInfo; - std::string foundPartyName; - std::string interestRate; - std::string foundPartyId; - }; - - - GetProductDetailResult(); - explicit GetProductDetailResult(const std::string &payload); - ~GetProductDetailResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetProductListRequest.h b/finmall/include/alibabacloud/finmall/model/GetProductListRequest.h deleted file mode 100644 index 4480ccf20..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetProductListRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetProductListRequest : public RpcServiceRequest - { - - public: - GetProductListRequest(); - ~GetProductListRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getFundPartyId()const; - void setFundPartyId(const std::string& fundPartyId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string fundPartyId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetProductListResult.h b/finmall/include/alibabacloud/finmall/model/GetProductListResult.h deleted file mode 100644 index ba67e3695..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetProductListResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetProductListResult : public ServiceResult - { - public: - - - GetProductListResult(); - explicit GetProductListResult(const std::string &payload); - ~GetProductListResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetRepayPlanTrialRequest.h b/finmall/include/alibabacloud/finmall/model/GetRepayPlanTrialRequest.h deleted file mode 100644 index 42f553349..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetRepayPlanTrialRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetRepayPlanTrialRequest : public RpcServiceRequest - { - - public: - GetRepayPlanTrialRequest(); - ~GetRepayPlanTrialRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getProductId()const; - void setProductId(const std::string& productId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string productId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetRepayPlanTrialResult.h b/finmall/include/alibabacloud/finmall/model/GetRepayPlanTrialResult.h deleted file mode 100644 index 524824886..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetRepayPlanTrialResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetRepayPlanTrialResult : public ServiceResult - { - public: - struct Data - { - std::string amount; - std::string loanRate; - std::string terms; - std::string plan; - std::string repayMethod; - std::string prepayment; - }; - - - GetRepayPlanTrialResult(); - explicit GetRepayPlanTrialResult(const std::string &payload); - ~GetRepayPlanTrialResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetSignContractUrlRequest.h b/finmall/include/alibabacloud/finmall/model/GetSignContractUrlRequest.h deleted file mode 100644 index d529f0315..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetSignContractUrlRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetSignContractUrlRequest : public RpcServiceRequest - { - - public: - GetSignContractUrlRequest(); - ~GetSignContractUrlRequest(); - - std::string getExtInfo()const; - void setExtInfo(const std::string& extInfo); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - std::string getReturnUrl()const; - void setReturnUrl(const std::string& returnUrl); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string extInfo_; - std::string bizId_; - std::string sceneId_; - std::string returnUrl_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetSignContractUrlResult.h b/finmall/include/alibabacloud/finmall/model/GetSignContractUrlResult.h deleted file mode 100644 index d2dd2afe6..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetSignContractUrlResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetSignContractUrlResult : public ServiceResult - { - public: - struct Data - { - std::string url; - }; - - - GetSignContractUrlResult(); - explicit GetSignContractUrlResult(const std::string &payload); - ~GetSignContractUrlResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetTradeDataRequest.h b/finmall/include/alibabacloud/finmall/model/GetTradeDataRequest.h deleted file mode 100644 index 2e18cd707..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetTradeDataRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATAREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetTradeDataRequest : public RpcServiceRequest - { - - public: - GetTradeDataRequest(); - ~GetTradeDataRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATAREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetTradeDataResult.h b/finmall/include/alibabacloud/finmall/model/GetTradeDataResult.h deleted file mode 100644 index 7957b44de..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetTradeDataResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATARESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetTradeDataResult : public ServiceResult - { - public: - - - GetTradeDataResult(); - explicit GetTradeDataResult(const std::string &payload); - ~GetTradeDataResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATARESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementRequest.h b/finmall/include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementRequest.h deleted file mode 100644 index 5a90245f9..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetUserInfoAuthorizationAgreementRequest : public RpcServiceRequest - { - - public: - GetUserInfoAuthorizationAgreementRequest(); - ~GetUserInfoAuthorizationAgreementRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getFundPartyId()const; - void setFundPartyId(const std::string& fundPartyId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string fundPartyId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementResult.h b/finmall/include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementResult.h deleted file mode 100644 index 420b566ed..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetUserInfoAuthorizationAgreementResult : public ServiceResult - { - public: - struct Data - { - std::string content; - std::string url; - }; - - - GetUserInfoAuthorizationAgreementResult(); - explicit GetUserInfoAuthorizationAgreementResult(const std::string &payload); - ~GetUserInfoAuthorizationAgreementResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetZhimaScoreRequest.h b/finmall/include/alibabacloud/finmall/model/GetZhimaScoreRequest.h deleted file mode 100644 index fe7dd66a1..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetZhimaScoreRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCOREREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCOREREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetZhimaScoreRequest : public RpcServiceRequest - { - - public: - GetZhimaScoreRequest(); - ~GetZhimaScoreRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCOREREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/GetZhimaScoreResult.h b/finmall/include/alibabacloud/finmall/model/GetZhimaScoreResult.h deleted file mode 100644 index 8efa6f636..000000000 --- a/finmall/include/alibabacloud/finmall/model/GetZhimaScoreResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCORERESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCORERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT GetZhimaScoreResult : public ServiceResult - { - public: - struct Data - { - std::string score; - }; - - - GetZhimaScoreResult(); - explicit GetZhimaScoreResult(const std::string &payload); - ~GetZhimaScoreResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCORERESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/PayForOrderRequest.h b/finmall/include/alibabacloud/finmall/model/PayForOrderRequest.h deleted file mode 100644 index 1848323d8..000000000 --- a/finmall/include/alibabacloud/finmall/model/PayForOrderRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT PayForOrderRequest : public RpcServiceRequest - { - - public: - PayForOrderRequest(); - ~PayForOrderRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getSmsIvToken()const; - void setSmsIvToken(const std::string& smsIvToken); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string smsIvToken_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/PayForOrderResult.h b/finmall/include/alibabacloud/finmall/model/PayForOrderResult.h deleted file mode 100644 index fd3a0df15..000000000 --- a/finmall/include/alibabacloud/finmall/model/PayForOrderResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT PayForOrderResult : public ServiceResult - { - public: - struct Data - { - std::string returnCode; - }; - - - PayForOrderResult(); - explicit PayForOrderResult(const std::string &payload); - ~PayForOrderResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/QueryFundPartyListRequest.h b/finmall/include/alibabacloud/finmall/model/QueryFundPartyListRequest.h deleted file mode 100644 index 4bdbfb643..000000000 --- a/finmall/include/alibabacloud/finmall/model/QueryFundPartyListRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT QueryFundPartyListRequest : public RpcServiceRequest - { - - public: - QueryFundPartyListRequest(); - ~QueryFundPartyListRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/QueryFundPartyListResult.h b/finmall/include/alibabacloud/finmall/model/QueryFundPartyListResult.h deleted file mode 100644 index 3c6031eaa..000000000 --- a/finmall/include/alibabacloud/finmall/model/QueryFundPartyListResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT QueryFundPartyListResult : public ServiceResult - { - public: - - - QueryFundPartyListResult(); - explicit QueryFundPartyListResult(const std::string &payload); - ~QueryFundPartyListResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/QuerySignResultRequest.h b/finmall/include/alibabacloud/finmall/model/QuerySignResultRequest.h deleted file mode 100644 index fbb473d3a..000000000 --- a/finmall/include/alibabacloud/finmall/model/QuerySignResultRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT QuerySignResultRequest : public RpcServiceRequest - { - - public: - QuerySignResultRequest(); - ~QuerySignResultRequest(); - - std::string getExtInfo()const; - void setExtInfo(const std::string& extInfo); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - std::string getType()const; - void setType(const std::string& type); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string extInfo_; - std::string bizId_; - std::string sceneId_; - std::string type_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/QuerySignResultResult.h b/finmall/include/alibabacloud/finmall/model/QuerySignResultResult.h deleted file mode 100644 index 76c15fe7c..000000000 --- a/finmall/include/alibabacloud/finmall/model/QuerySignResultResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT QuerySignResultResult : public ServiceResult - { - public: - struct Data - { - std::string status; - std::string url; - }; - - - QuerySignResultResult(); - explicit QuerySignResultResult(const std::string &payload); - ~QuerySignResultResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/QueryTrialRecordsRequest.h b/finmall/include/alibabacloud/finmall/model/QueryTrialRecordsRequest.h deleted file mode 100644 index 17a7d4b44..000000000 --- a/finmall/include/alibabacloud/finmall/model/QueryTrialRecordsRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT QueryTrialRecordsRequest : public RpcServiceRequest - { - - public: - QueryTrialRecordsRequest(); - ~QueryTrialRecordsRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/QueryTrialRecordsResult.h b/finmall/include/alibabacloud/finmall/model/QueryTrialRecordsResult.h deleted file mode 100644 index 933b6bccf..000000000 --- a/finmall/include/alibabacloud/finmall/model/QueryTrialRecordsResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT QueryTrialRecordsResult : public ServiceResult - { - public: - - - QueryTrialRecordsResult(); - explicit QueryTrialRecordsResult(const std::string &payload); - ~QueryTrialRecordsResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SaveAuthenticationInfoRequest.h b/finmall/include/alibabacloud/finmall/model/SaveAuthenticationInfoRequest.h deleted file mode 100644 index 70417b941..000000000 --- a/finmall/include/alibabacloud/finmall/model/SaveAuthenticationInfoRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SaveAuthenticationInfoRequest : public RpcServiceRequest - { - - public: - SaveAuthenticationInfoRequest(); - ~SaveAuthenticationInfoRequest(); - - std::string getIdCardNumber()const; - void setIdCardNumber(const std::string& idCardNumber); - std::string getAddress()const; - void setAddress(const std::string& address); - std::string getEmployeeEmail()const; - void setEmployeeEmail(const std::string& employeeEmail); - std::string getEmployeePhoneNumber()const; - void setEmployeePhoneNumber(const std::string& employeePhoneNumber); - std::string getPhoneNumber()const; - void setPhoneNumber(const std::string& phoneNumber); - std::string getBusinessLicense()const; - void setBusinessLicense(const std::string& businessLicense); - std::string getLegalPersonName()const; - void setLegalPersonName(const std::string& legalPersonName); - std::string getEnterpriseName()const; - void setEnterpriseName(const std::string& enterpriseName); - std::string getAuthenticateType()const; - void setAuthenticateType(const std::string& authenticateType); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getZhimaReturnUrl()const; - void setZhimaReturnUrl(const std::string& zhimaReturnUrl); - std::string getBankCard()const; - void setBankCard(const std::string& bankCard); - std::string getEmail()const; - void setEmail(const std::string& email); - std::string getEmployeeName()const; - void setEmployeeName(const std::string& employeeName); - std::string getEmployeeIdCardNumber()const; - void setEmployeeIdCardNumber(const std::string& employeeIdCardNumber); - - private: - std::string idCardNumber_; - std::string address_; - std::string employeeEmail_; - std::string employeePhoneNumber_; - std::string phoneNumber_; - std::string businessLicense_; - std::string legalPersonName_; - std::string enterpriseName_; - std::string authenticateType_; - std::string userId_; - std::string zhimaReturnUrl_; - std::string bankCard_; - std::string email_; - std::string employeeName_; - std::string employeeIdCardNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SaveAuthenticationInfoResult.h b/finmall/include/alibabacloud/finmall/model/SaveAuthenticationInfoResult.h deleted file mode 100644 index 21e15ca38..000000000 --- a/finmall/include/alibabacloud/finmall/model/SaveAuthenticationInfoResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SaveAuthenticationInfoResult : public ServiceResult - { - public: - - - SaveAuthenticationInfoResult(); - explicit SaveAuthenticationInfoResult(const std::string &payload); - ~SaveAuthenticationInfoResult(); - std::string getMessage()const; - bool getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - bool data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SignLoanAgreementRequest.h b/finmall/include/alibabacloud/finmall/model/SignLoanAgreementRequest.h deleted file mode 100644 index 6390a0d76..000000000 --- a/finmall/include/alibabacloud/finmall/model/SignLoanAgreementRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SignLoanAgreementRequest : public RpcServiceRequest - { - - public: - SignLoanAgreementRequest(); - ~SignLoanAgreementRequest(); - - std::string getCreditId()const; - void setCreditId(const std::string& creditId); - std::string getReserved()const; - void setReserved(const std::string& reserved); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string creditId_; - std::string reserved_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SignLoanAgreementResult.h b/finmall/include/alibabacloud/finmall/model/SignLoanAgreementResult.h deleted file mode 100644 index bca80a4b1..000000000 --- a/finmall/include/alibabacloud/finmall/model/SignLoanAgreementResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SignLoanAgreementResult : public ServiceResult - { - public: - struct Data - { - std::string returnCode; - }; - - - SignLoanAgreementResult(); - explicit SignLoanAgreementResult(const std::string &payload); - ~SignLoanAgreementResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SignResultNotifyRequest.h b/finmall/include/alibabacloud/finmall/model/SignResultNotifyRequest.h deleted file mode 100644 index c6cc1d0ae..000000000 --- a/finmall/include/alibabacloud/finmall/model/SignResultNotifyRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SignResultNotifyRequest : public RpcServiceRequest - { - - public: - SignResultNotifyRequest(); - ~SignResultNotifyRequest(); - - std::string getDocId()const; - void setDocId(const std::string& docId); - std::string getDocContent()const; - void setDocContent(const std::string& docContent); - std::string getSign()const; - void setSign(const std::string& sign); - int getResultCode()const; - void setResultCode(int resultCode); - long getTime()const; - void setTime(long time); - std::string getTransactionId()const; - void setTransactionId(const std::string& transactionId); - std::string getResultDesc()const; - void setResultDesc(const std::string& resultDesc); - - private: - std::string docId_; - std::string docContent_; - std::string sign_; - int resultCode_; - long time_; - std::string transactionId_; - std::string resultDesc_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SignResultNotifyResult.h b/finmall/include/alibabacloud/finmall/model/SignResultNotifyResult.h deleted file mode 100644 index f4aeda035..000000000 --- a/finmall/include/alibabacloud/finmall/model/SignResultNotifyResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SignResultNotifyResult : public ServiceResult - { - public: - - - SignResultNotifyResult(); - explicit SignResultNotifyResult(const std::string &payload); - ~SignResultNotifyResult(); - std::string getMessage()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SignedPageResultRequest.h b/finmall/include/alibabacloud/finmall/model/SignedPageResultRequest.h deleted file mode 100644 index 9600a921a..000000000 --- a/finmall/include/alibabacloud/finmall/model/SignedPageResultRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SignedPageResultRequest : public RpcServiceRequest - { - - public: - SignedPageResultRequest(); - ~SignedPageResultRequest(); - - std::string getDownloadUrl()const; - void setDownloadUrl(const std::string& downloadUrl); - std::string getDigest()const; - void setDigest(const std::string& digest); - std::string getViewUrl()const; - void setViewUrl(const std::string& viewUrl); - int getResultCode()const; - void setResultCode(int resultCode); - std::string getTransactionId()const; - void setTransactionId(const std::string& transactionId); - std::string getResultDesc()const; - void setResultDesc(const std::string& resultDesc); - std::string getTimestamp()const; - void setTimestamp(const std::string& timestamp); - - private: - std::string downloadUrl_; - std::string digest_; - std::string viewUrl_; - int resultCode_; - std::string transactionId_; - std::string resultDesc_; - std::string timestamp_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/SignedPageResultResult.h b/finmall/include/alibabacloud/finmall/model/SignedPageResultResult.h deleted file mode 100644 index 605f3b10d..000000000 --- a/finmall/include/alibabacloud/finmall/model/SignedPageResultResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT SignedPageResultResult : public ServiceResult - { - public: - struct Data - { - std::string returnCode; - }; - - - SignedPageResultResult(); - explicit SignedPageResultResult(const std::string &payload); - ~SignedPageResultResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/UpdateAuthenticationInfoRequest.h b/finmall/include/alibabacloud/finmall/model/UpdateAuthenticationInfoRequest.h deleted file mode 100644 index 8a1b3ca29..000000000 --- a/finmall/include/alibabacloud/finmall/model/UpdateAuthenticationInfoRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT UpdateAuthenticationInfoRequest : public RpcServiceRequest - { - - public: - UpdateAuthenticationInfoRequest(); - ~UpdateAuthenticationInfoRequest(); - - std::string getIdCardNumber()const; - void setIdCardNumber(const std::string& idCardNumber); - std::string getAddress()const; - void setAddress(const std::string& address); - std::string getEmployeeEmail()const; - void setEmployeeEmail(const std::string& employeeEmail); - std::string getEmployeePhoneNumber()const; - void setEmployeePhoneNumber(const std::string& employeePhoneNumber); - std::string getPhoneNumber()const; - void setPhoneNumber(const std::string& phoneNumber); - std::string getBusinessLicense()const; - void setBusinessLicense(const std::string& businessLicense); - std::string getLegalPersonName()const; - void setLegalPersonName(const std::string& legalPersonName); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getSmsIvToken()const; - void setSmsIvToken(const std::string& smsIvToken); - std::string getBankCard()const; - void setBankCard(const std::string& bankCard); - std::string getEmail()const; - void setEmail(const std::string& email); - std::string getEmployeeName()const; - void setEmployeeName(const std::string& employeeName); - std::string getEmployeeIdCardNumber()const; - void setEmployeeIdCardNumber(const std::string& employeeIdCardNumber); - - private: - std::string idCardNumber_; - std::string address_; - std::string employeeEmail_; - std::string employeePhoneNumber_; - std::string phoneNumber_; - std::string businessLicense_; - std::string legalPersonName_; - std::string userId_; - std::string smsIvToken_; - std::string bankCard_; - std::string email_; - std::string employeeName_; - std::string employeeIdCardNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/UpdateAuthenticationInfoResult.h b/finmall/include/alibabacloud/finmall/model/UpdateAuthenticationInfoResult.h deleted file mode 100644 index 92bb7ab98..000000000 --- a/finmall/include/alibabacloud/finmall/model/UpdateAuthenticationInfoResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT UpdateAuthenticationInfoResult : public ServiceResult - { - public: - - - UpdateAuthenticationInfoResult(); - explicit UpdateAuthenticationInfoResult(const std::string &payload); - ~UpdateAuthenticationInfoResult(); - std::string getMessage()const; - bool getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - bool data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoRequest.h b/finmall/include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoRequest.h deleted file mode 100644 index 340b7a671..000000000 --- a/finmall/include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoRequest.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFOREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT UpdateEnterpriseCustomInfoRequest : public RpcServiceRequest - { - - public: - UpdateEnterpriseCustomInfoRequest(); - ~UpdateEnterpriseCustomInfoRequest(); - - std::string getIdCardNumber()const; - void setIdCardNumber(const std::string& idCardNumber); - std::string getAddress()const; - void setAddress(const std::string& address); - std::string getIdCardFrontPage()const; - void setIdCardFrontPage(const std::string& idCardFrontPage); - std::string getPhoneNumber()const; - void setPhoneNumber(const std::string& phoneNumber); - std::string getBusinessLicense()const; - void setBusinessLicense(const std::string& businessLicense); - std::string getIdCardBackPage()const; - void setIdCardBackPage(const std::string& idCardBackPage); - std::string getLegalPersonName()const; - void setLegalPersonName(const std::string& legalPersonName); - std::string getEnterpriseName()const; - void setEnterpriseName(const std::string& enterpriseName); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getLoanSubject()const; - void setLoanSubject(const std::string& loanSubject); - std::string getZhimaReturnUrl()const; - void setZhimaReturnUrl(const std::string& zhimaReturnUrl); - std::string getSmsIvToken()const; - void setSmsIvToken(const std::string& smsIvToken); - std::string getBankCard()const; - void setBankCard(const std::string& bankCard); - std::string getEmail()const; - void setEmail(const std::string& email); - - private: - std::string idCardNumber_; - std::string address_; - std::string idCardFrontPage_; - std::string phoneNumber_; - std::string businessLicense_; - std::string idCardBackPage_; - std::string legalPersonName_; - std::string enterpriseName_; - std::string userId_; - std::string loanSubject_; - std::string zhimaReturnUrl_; - std::string smsIvToken_; - std::string bankCard_; - std::string email_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFOREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoResult.h b/finmall/include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoResult.h deleted file mode 100644 index 81b3dbea8..000000000 --- a/finmall/include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFORESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT UpdateEnterpriseCustomInfoResult : public ServiceResult - { - public: - - - UpdateEnterpriseCustomInfoResult(); - explicit UpdateEnterpriseCustomInfoResult(const std::string &payload); - ~UpdateEnterpriseCustomInfoResult(); - std::string getMessage()const; - std::string getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFORESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/UploadCustomIDImageRequest.h b/finmall/include/alibabacloud/finmall/model/UploadCustomIDImageRequest.h deleted file mode 100644 index 28ea3e7df..000000000 --- a/finmall/include/alibabacloud/finmall/model/UploadCustomIDImageRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGEREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT UploadCustomIDImageRequest : public RpcServiceRequest - { - - public: - UploadCustomIDImageRequest(); - ~UploadCustomIDImageRequest(); - - std::string getImageType()const; - void setImageType(const std::string& imageType); - std::string getSide()const; - void setSide(const std::string& side); - std::string getImageFile()const; - void setImageFile(const std::string& imageFile); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string imageType_; - std::string side_; - std::string imageFile_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGEREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/UploadCustomIDImageResult.h b/finmall/include/alibabacloud/finmall/model/UploadCustomIDImageResult.h deleted file mode 100644 index 30bd5d0bf..000000000 --- a/finmall/include/alibabacloud/finmall/model/UploadCustomIDImageResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGERESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT UploadCustomIDImageResult : public ServiceResult - { - public: - struct Data - { - std::string returnCode; - std::string url; - }; - - - UploadCustomIDImageResult(); - explicit UploadCustomIDImageResult(const std::string &payload); - ~UploadCustomIDImageResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGERESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/VerifyCustomerRequest.h b/finmall/include/alibabacloud/finmall/model/VerifyCustomerRequest.h deleted file mode 100644 index 210497114..000000000 --- a/finmall/include/alibabacloud/finmall/model/VerifyCustomerRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT VerifyCustomerRequest : public RpcServiceRequest - { - - public: - VerifyCustomerRequest(); - ~VerifyCustomerRequest(); - - std::string getIdCardNumber()const; - void setIdCardNumber(const std::string& idCardNumber); - std::string getAddress()const; - void setAddress(const std::string& address); - std::string getIdCardFrontPage()const; - void setIdCardFrontPage(const std::string& idCardFrontPage); - std::string getPhoneNumber()const; - void setPhoneNumber(const std::string& phoneNumber); - std::string getBusinessLicense()const; - void setBusinessLicense(const std::string& businessLicense); - std::string getIdCardBackPage()const; - void setIdCardBackPage(const std::string& idCardBackPage); - std::string getLegalPersonName()const; - void setLegalPersonName(const std::string& legalPersonName); - std::string getEnterpriseName()const; - void setEnterpriseName(const std::string& enterpriseName); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getLoanSubject()const; - void setLoanSubject(const std::string& loanSubject); - std::string getZhimaReturnUrl()const; - void setZhimaReturnUrl(const std::string& zhimaReturnUrl); - std::string getBankCard()const; - void setBankCard(const std::string& bankCard); - std::string getEmail()const; - void setEmail(const std::string& email); - - private: - std::string idCardNumber_; - std::string address_; - std::string idCardFrontPage_; - std::string phoneNumber_; - std::string businessLicense_; - std::string idCardBackPage_; - std::string legalPersonName_; - std::string enterpriseName_; - std::string userId_; - std::string loanSubject_; - std::string zhimaReturnUrl_; - std::string bankCard_; - std::string email_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/VerifyCustomerResult.h b/finmall/include/alibabacloud/finmall/model/VerifyCustomerResult.h deleted file mode 100644 index c0e93744b..000000000 --- a/finmall/include/alibabacloud/finmall/model/VerifyCustomerResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT VerifyCustomerResult : public ServiceResult - { - public: - struct Data - { - std::string returnCode; - std::string zhimaReturnUrl; - }; - - - VerifyCustomerResult(); - explicit VerifyCustomerResult(const std::string &payload); - ~VerifyCustomerResult(); - std::string getMessage()const; - Data getData()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - Data data_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERRESULT_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/VerifySMSTokenRequest.h b/finmall/include/alibabacloud/finmall/model/VerifySMSTokenRequest.h deleted file mode 100644 index adca2173c..000000000 --- a/finmall/include/alibabacloud/finmall/model/VerifySMSTokenRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_VERIFYSMSTOKENREQUEST_H_ -#define ALIBABACLOUD_FINMALL_MODEL_VERIFYSMSTOKENREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT VerifySMSTokenRequest : public RpcServiceRequest - { - - public: - VerifySMSTokenRequest(); - ~VerifySMSTokenRequest(); - - std::string getActionType()const; - void setActionType(const std::string& actionType); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string actionType_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_VERIFYSMSTOKENREQUEST_H_ \ No newline at end of file diff --git a/finmall/include/alibabacloud/finmall/model/VerifySMSTokenResult.h b/finmall/include/alibabacloud/finmall/model/VerifySMSTokenResult.h deleted file mode 100644 index 36f404ad9..000000000 --- a/finmall/include/alibabacloud/finmall/model/VerifySMSTokenResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_FINMALL_MODEL_VERIFYSMSTOKENRESULT_H_ -#define ALIBABACLOUD_FINMALL_MODEL_VERIFYSMSTOKENRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Finmall - { - namespace Model - { - class ALIBABACLOUD_FINMALL_EXPORT VerifySMSTokenResult : public ServiceResult - { - public: - - - VerifySMSTokenResult(); - explicit VerifySMSTokenResult(const std::string &payload); - ~VerifySMSTokenResult(); - std::string getMessage()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string message_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FINMALL_MODEL_VERIFYSMSTOKENRESULT_H_ \ No newline at end of file diff --git a/finmall/src/FinmallClient.cc b/finmall/src/FinmallClient.cc deleted file mode 100644 index cef1d7635..000000000 --- a/finmall/src/FinmallClient.cc +++ /dev/null @@ -1,1457 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud; -using namespace AlibabaCloud::Location; -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -namespace -{ - const std::string SERVICE_NAME = "finmall"; -} - -FinmallClient::FinmallClient(const Credentials &credentials, const ClientConfiguration &configuration) : - RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) -{ - auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "finmall"); -} - -FinmallClient::FinmallClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : - RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) -{ - auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "finmall"); -} - -FinmallClient::FinmallClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : - RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) -{ - auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "finmall"); -} - -FinmallClient::~FinmallClient() -{} - -FinmallClient::GetCreditDetailOutcome FinmallClient::getCreditDetail(const GetCreditDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCreditDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCreditDetailOutcome(GetCreditDetailResult(outcome.result())); - else - return GetCreditDetailOutcome(outcome.error()); -} - -void FinmallClient::getCreditDetailAsync(const GetCreditDetailRequest& request, const GetCreditDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCreditDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCreditDetailOutcomeCallable FinmallClient::getCreditDetailCallable(const GetCreditDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCreditDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetDocumentDownloadUrlOutcome FinmallClient::getDocumentDownloadUrl(const GetDocumentDownloadUrlRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDocumentDownloadUrlOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDocumentDownloadUrlOutcome(GetDocumentDownloadUrlResult(outcome.result())); - else - return GetDocumentDownloadUrlOutcome(outcome.error()); -} - -void FinmallClient::getDocumentDownloadUrlAsync(const GetDocumentDownloadUrlRequest& request, const GetDocumentDownloadUrlAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDocumentDownloadUrl(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetDocumentDownloadUrlOutcomeCallable FinmallClient::getDocumentDownloadUrlCallable(const GetDocumentDownloadUrlRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDocumentDownloadUrl(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCreditWithdrawRecordOutcome FinmallClient::getCreditWithdrawRecord(const GetCreditWithdrawRecordRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCreditWithdrawRecordOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCreditWithdrawRecordOutcome(GetCreditWithdrawRecordResult(outcome.result())); - else - return GetCreditWithdrawRecordOutcome(outcome.error()); -} - -void FinmallClient::getCreditWithdrawRecordAsync(const GetCreditWithdrawRecordRequest& request, const GetCreditWithdrawRecordAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCreditWithdrawRecord(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCreditWithdrawRecordOutcomeCallable FinmallClient::getCreditWithdrawRecordCallable(const GetCreditWithdrawRecordRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCreditWithdrawRecord(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCustomerVerifyInfoOutcome FinmallClient::getCustomerVerifyInfo(const GetCustomerVerifyInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCustomerVerifyInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCustomerVerifyInfoOutcome(GetCustomerVerifyInfoResult(outcome.result())); - else - return GetCustomerVerifyInfoOutcome(outcome.error()); -} - -void FinmallClient::getCustomerVerifyInfoAsync(const GetCustomerVerifyInfoRequest& request, const GetCustomerVerifyInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCustomerVerifyInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCustomerVerifyInfoOutcomeCallable FinmallClient::getCustomerVerifyInfoCallable(const GetCustomerVerifyInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCustomerVerifyInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::QueryFundPartyListOutcome FinmallClient::queryFundPartyList(const QueryFundPartyListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryFundPartyListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryFundPartyListOutcome(QueryFundPartyListResult(outcome.result())); - else - return QueryFundPartyListOutcome(outcome.error()); -} - -void FinmallClient::queryFundPartyListAsync(const QueryFundPartyListRequest& request, const QueryFundPartyListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryFundPartyList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::QueryFundPartyListOutcomeCallable FinmallClient::queryFundPartyListCallable(const QueryFundPartyListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryFundPartyList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCreditStatusOutcome FinmallClient::getCreditStatus(const GetCreditStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCreditStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCreditStatusOutcome(GetCreditStatusResult(outcome.result())); - else - return GetCreditStatusOutcome(outcome.error()); -} - -void FinmallClient::getCreditStatusAsync(const GetCreditStatusRequest& request, const GetCreditStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCreditStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCreditStatusOutcomeCallable FinmallClient::getCreditStatusCallable(const GetCreditStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCreditStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::SaveAuthenticationInfoOutcome FinmallClient::saveAuthenticationInfo(const SaveAuthenticationInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SaveAuthenticationInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SaveAuthenticationInfoOutcome(SaveAuthenticationInfoResult(outcome.result())); - else - return SaveAuthenticationInfoOutcome(outcome.error()); -} - -void FinmallClient::saveAuthenticationInfoAsync(const SaveAuthenticationInfoRequest& request, const SaveAuthenticationInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, saveAuthenticationInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::SaveAuthenticationInfoOutcomeCallable FinmallClient::saveAuthenticationInfoCallable(const SaveAuthenticationInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->saveAuthenticationInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetTradeDataOutcome FinmallClient::getTradeData(const GetTradeDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetTradeDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetTradeDataOutcome(GetTradeDataResult(outcome.result())); - else - return GetTradeDataOutcome(outcome.error()); -} - -void FinmallClient::getTradeDataAsync(const GetTradeDataRequest& request, const GetTradeDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getTradeData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetTradeDataOutcomeCallable FinmallClient::getTradeDataCallable(const GetTradeDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getTradeData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::UploadCustomIDImageOutcome FinmallClient::uploadCustomIDImage(const UploadCustomIDImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UploadCustomIDImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UploadCustomIDImageOutcome(UploadCustomIDImageResult(outcome.result())); - else - return UploadCustomIDImageOutcome(outcome.error()); -} - -void FinmallClient::uploadCustomIDImageAsync(const UploadCustomIDImageRequest& request, const UploadCustomIDImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, uploadCustomIDImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::UploadCustomIDImageOutcomeCallable FinmallClient::uploadCustomIDImageCallable(const UploadCustomIDImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->uploadCustomIDImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::QuerySignResultOutcome FinmallClient::querySignResult(const QuerySignResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QuerySignResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QuerySignResultOutcome(QuerySignResultResult(outcome.result())); - else - return QuerySignResultOutcome(outcome.error()); -} - -void FinmallClient::querySignResultAsync(const QuerySignResultRequest& request, const QuerySignResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, querySignResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::QuerySignResultOutcomeCallable FinmallClient::querySignResultCallable(const QuerySignResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->querySignResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::ApplyForLoanOutcome FinmallClient::applyForLoan(const ApplyForLoanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ApplyForLoanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ApplyForLoanOutcome(ApplyForLoanResult(outcome.result())); - else - return ApplyForLoanOutcome(outcome.error()); -} - -void FinmallClient::applyForLoanAsync(const ApplyForLoanRequest& request, const ApplyForLoanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, applyForLoan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::ApplyForLoanOutcomeCallable FinmallClient::applyForLoanCallable(const ApplyForLoanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->applyForLoan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetZhimaScoreOutcome FinmallClient::getZhimaScore(const GetZhimaScoreRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetZhimaScoreOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetZhimaScoreOutcome(GetZhimaScoreResult(outcome.result())); - else - return GetZhimaScoreOutcome(outcome.error()); -} - -void FinmallClient::getZhimaScoreAsync(const GetZhimaScoreRequest& request, const GetZhimaScoreAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getZhimaScore(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetZhimaScoreOutcomeCallable FinmallClient::getZhimaScoreCallable(const GetZhimaScoreRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getZhimaScore(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::PayForOrderOutcome FinmallClient::payForOrder(const PayForOrderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PayForOrderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PayForOrderOutcome(PayForOrderResult(outcome.result())); - else - return PayForOrderOutcome(outcome.error()); -} - -void FinmallClient::payForOrderAsync(const PayForOrderRequest& request, const PayForOrderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, payForOrder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::PayForOrderOutcomeCallable FinmallClient::payForOrderCallable(const PayForOrderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->payForOrder(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::QueryTrialRecordsOutcome FinmallClient::queryTrialRecords(const QueryTrialRecordsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryTrialRecordsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryTrialRecordsOutcome(QueryTrialRecordsResult(outcome.result())); - else - return QueryTrialRecordsOutcome(outcome.error()); -} - -void FinmallClient::queryTrialRecordsAsync(const QueryTrialRecordsRequest& request, const QueryTrialRecordsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryTrialRecords(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::QueryTrialRecordsOutcomeCallable FinmallClient::queryTrialRecordsCallable(const QueryTrialRecordsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryTrialRecords(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCurrentTermRepayInfoOutcome FinmallClient::getCurrentTermRepayInfo(const GetCurrentTermRepayInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCurrentTermRepayInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCurrentTermRepayInfoOutcome(GetCurrentTermRepayInfoResult(outcome.result())); - else - return GetCurrentTermRepayInfoOutcome(outcome.error()); -} - -void FinmallClient::getCurrentTermRepayInfoAsync(const GetCurrentTermRepayInfoRequest& request, const GetCurrentTermRepayInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCurrentTermRepayInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCurrentTermRepayInfoOutcomeCallable FinmallClient::getCurrentTermRepayInfoCallable(const GetCurrentTermRepayInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCurrentTermRepayInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::UpdateAuthenticationInfoOutcome FinmallClient::updateAuthenticationInfo(const UpdateAuthenticationInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateAuthenticationInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateAuthenticationInfoOutcome(UpdateAuthenticationInfoResult(outcome.result())); - else - return UpdateAuthenticationInfoOutcome(outcome.error()); -} - -void FinmallClient::updateAuthenticationInfoAsync(const UpdateAuthenticationInfoRequest& request, const UpdateAuthenticationInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateAuthenticationInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::UpdateAuthenticationInfoOutcomeCallable FinmallClient::updateAuthenticationInfoCallable(const UpdateAuthenticationInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateAuthenticationInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::UpdateEnterpriseCustomInfoOutcome FinmallClient::updateEnterpriseCustomInfo(const UpdateEnterpriseCustomInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateEnterpriseCustomInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateEnterpriseCustomInfoOutcome(UpdateEnterpriseCustomInfoResult(outcome.result())); - else - return UpdateEnterpriseCustomInfoOutcome(outcome.error()); -} - -void FinmallClient::updateEnterpriseCustomInfoAsync(const UpdateEnterpriseCustomInfoRequest& request, const UpdateEnterpriseCustomInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateEnterpriseCustomInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::UpdateEnterpriseCustomInfoOutcomeCallable FinmallClient::updateEnterpriseCustomInfoCallable(const UpdateEnterpriseCustomInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateEnterpriseCustomInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCreditSignatureInfoOutcome FinmallClient::getCreditSignatureInfo(const GetCreditSignatureInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCreditSignatureInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCreditSignatureInfoOutcome(GetCreditSignatureInfoResult(outcome.result())); - else - return GetCreditSignatureInfoOutcome(outcome.error()); -} - -void FinmallClient::getCreditSignatureInfoAsync(const GetCreditSignatureInfoRequest& request, const GetCreditSignatureInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCreditSignatureInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCreditSignatureInfoOutcomeCallable FinmallClient::getCreditSignatureInfoCallable(const GetCreditSignatureInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCreditSignatureInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::AddTrialRecordOutcome FinmallClient::addTrialRecord(const AddTrialRecordRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddTrialRecordOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddTrialRecordOutcome(AddTrialRecordResult(outcome.result())); - else - return AddTrialRecordOutcome(outcome.error()); -} - -void FinmallClient::addTrialRecordAsync(const AddTrialRecordRequest& request, const AddTrialRecordAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addTrialRecord(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::AddTrialRecordOutcomeCallable FinmallClient::addTrialRecordCallable(const AddTrialRecordRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addTrialRecord(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetAuthorizeCreditQueryOutcome FinmallClient::getAuthorizeCreditQuery(const GetAuthorizeCreditQueryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetAuthorizeCreditQueryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetAuthorizeCreditQueryOutcome(GetAuthorizeCreditQueryResult(outcome.result())); - else - return GetAuthorizeCreditQueryOutcome(outcome.error()); -} - -void FinmallClient::getAuthorizeCreditQueryAsync(const GetAuthorizeCreditQueryRequest& request, const GetAuthorizeCreditQueryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getAuthorizeCreditQuery(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetAuthorizeCreditQueryOutcomeCallable FinmallClient::getAuthorizeCreditQueryCallable(const GetAuthorizeCreditQueryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getAuthorizeCreditQuery(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::CancelCreditOutcome FinmallClient::cancelCredit(const CancelCreditRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CancelCreditOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CancelCreditOutcome(CancelCreditResult(outcome.result())); - else - return CancelCreditOutcome(outcome.error()); -} - -void FinmallClient::cancelCreditAsync(const CancelCreditRequest& request, const CancelCreditAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cancelCredit(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::CancelCreditOutcomeCallable FinmallClient::cancelCreditCallable(const CancelCreditRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cancelCredit(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCustomStatusInfoOutcome FinmallClient::getCustomStatusInfo(const GetCustomStatusInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCustomStatusInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCustomStatusInfoOutcome(GetCustomStatusInfoResult(outcome.result())); - else - return GetCustomStatusInfoOutcome(outcome.error()); -} - -void FinmallClient::getCustomStatusInfoAsync(const GetCustomStatusInfoRequest& request, const GetCustomStatusInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCustomStatusInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCustomStatusInfoOutcomeCallable FinmallClient::getCustomStatusInfoCallable(const GetCustomStatusInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCustomStatusInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetOverdueRecordListOutcome FinmallClient::getOverdueRecordList(const GetOverdueRecordListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetOverdueRecordListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetOverdueRecordListOutcome(GetOverdueRecordListResult(outcome.result())); - else - return GetOverdueRecordListOutcome(outcome.error()); -} - -void FinmallClient::getOverdueRecordListAsync(const GetOverdueRecordListRequest& request, const GetOverdueRecordListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getOverdueRecordList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetOverdueRecordListOutcomeCallable FinmallClient::getOverdueRecordListCallable(const GetOverdueRecordListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getOverdueRecordList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetProductDetailOutcome FinmallClient::getProductDetail(const GetProductDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetProductDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetProductDetailOutcome(GetProductDetailResult(outcome.result())); - else - return GetProductDetailOutcome(outcome.error()); -} - -void FinmallClient::getProductDetailAsync(const GetProductDetailRequest& request, const GetProductDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getProductDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetProductDetailOutcomeCallable FinmallClient::getProductDetailCallable(const GetProductDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getProductDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::VerifyCustomerOutcome FinmallClient::verifyCustomer(const VerifyCustomerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return VerifyCustomerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return VerifyCustomerOutcome(VerifyCustomerResult(outcome.result())); - else - return VerifyCustomerOutcome(outcome.error()); -} - -void FinmallClient::verifyCustomerAsync(const VerifyCustomerRequest& request, const VerifyCustomerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, verifyCustomer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::VerifyCustomerOutcomeCallable FinmallClient::verifyCustomerCallable(const VerifyCustomerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->verifyCustomer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::SignLoanAgreementOutcome FinmallClient::signLoanAgreement(const SignLoanAgreementRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SignLoanAgreementOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SignLoanAgreementOutcome(SignLoanAgreementResult(outcome.result())); - else - return SignLoanAgreementOutcome(outcome.error()); -} - -void FinmallClient::signLoanAgreementAsync(const SignLoanAgreementRequest& request, const SignLoanAgreementAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, signLoanAgreement(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::SignLoanAgreementOutcomeCallable FinmallClient::signLoanAgreementCallable(const SignLoanAgreementRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->signLoanAgreement(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::AddCustomInfoOutcome FinmallClient::addCustomInfo(const AddCustomInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddCustomInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddCustomInfoOutcome(AddCustomInfoResult(outcome.result())); - else - return AddCustomInfoOutcome(outcome.error()); -} - -void FinmallClient::addCustomInfoAsync(const AddCustomInfoRequest& request, const AddCustomInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addCustomInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::AddCustomInfoOutcomeCallable FinmallClient::addCustomInfoCallable(const AddCustomInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addCustomInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetProductListOutcome FinmallClient::getProductList(const GetProductListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetProductListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetProductListOutcome(GetProductListResult(outcome.result())); - else - return GetProductListOutcome(outcome.error()); -} - -void FinmallClient::getProductListAsync(const GetProductListRequest& request, const GetProductListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getProductList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetProductListOutcomeCallable FinmallClient::getProductListCallable(const GetProductListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getProductList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetLoanAgreementOutcome FinmallClient::getLoanAgreement(const GetLoanAgreementRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetLoanAgreementOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetLoanAgreementOutcome(GetLoanAgreementResult(outcome.result())); - else - return GetLoanAgreementOutcome(outcome.error()); -} - -void FinmallClient::getLoanAgreementAsync(const GetLoanAgreementRequest& request, const GetLoanAgreementAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getLoanAgreement(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetLoanAgreementOutcomeCallable FinmallClient::getLoanAgreementCallable(const GetLoanAgreementRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getLoanAgreement(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetUserInfoAuthorizationAgreementOutcome FinmallClient::getUserInfoAuthorizationAgreement(const GetUserInfoAuthorizationAgreementRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetUserInfoAuthorizationAgreementOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetUserInfoAuthorizationAgreementOutcome(GetUserInfoAuthorizationAgreementResult(outcome.result())); - else - return GetUserInfoAuthorizationAgreementOutcome(outcome.error()); -} - -void FinmallClient::getUserInfoAuthorizationAgreementAsync(const GetUserInfoAuthorizationAgreementRequest& request, const GetUserInfoAuthorizationAgreementAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getUserInfoAuthorizationAgreement(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetUserInfoAuthorizationAgreementOutcomeCallable FinmallClient::getUserInfoAuthorizationAgreementCallable(const GetUserInfoAuthorizationAgreementRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getUserInfoAuthorizationAgreement(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::SignedPageResultOutcome FinmallClient::signedPageResult(const SignedPageResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SignedPageResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SignedPageResultOutcome(SignedPageResultResult(outcome.result())); - else - return SignedPageResultOutcome(outcome.error()); -} - -void FinmallClient::signedPageResultAsync(const SignedPageResultRequest& request, const SignedPageResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, signedPageResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::SignedPageResultOutcomeCallable FinmallClient::signedPageResultCallable(const SignedPageResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->signedPageResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetLoanApplyRecordListOutcome FinmallClient::getLoanApplyRecordList(const GetLoanApplyRecordListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetLoanApplyRecordListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetLoanApplyRecordListOutcome(GetLoanApplyRecordListResult(outcome.result())); - else - return GetLoanApplyRecordListOutcome(outcome.error()); -} - -void FinmallClient::getLoanApplyRecordListAsync(const GetLoanApplyRecordListRequest& request, const GetLoanApplyRecordListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getLoanApplyRecordList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetLoanApplyRecordListOutcomeCallable FinmallClient::getLoanApplyRecordListCallable(const GetLoanApplyRecordListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getLoanApplyRecordList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetLatestOverdueRecordOutcome FinmallClient::getLatestOverdueRecord(const GetLatestOverdueRecordRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetLatestOverdueRecordOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetLatestOverdueRecordOutcome(GetLatestOverdueRecordResult(outcome.result())); - else - return GetLatestOverdueRecordOutcome(outcome.error()); -} - -void FinmallClient::getLatestOverdueRecordAsync(const GetLatestOverdueRecordRequest& request, const GetLatestOverdueRecordAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getLatestOverdueRecord(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetLatestOverdueRecordOutcomeCallable FinmallClient::getLatestOverdueRecordCallable(const GetLatestOverdueRecordRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getLatestOverdueRecord(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCreditListOutcome FinmallClient::getCreditList(const GetCreditListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCreditListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCreditListOutcome(GetCreditListResult(outcome.result())); - else - return GetCreditListOutcome(outcome.error()); -} - -void FinmallClient::getCreditListAsync(const GetCreditListRequest& request, const GetCreditListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCreditList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCreditListOutcomeCallable FinmallClient::getCreditListCallable(const GetCreditListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCreditList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::SignResultNotifyOutcome FinmallClient::signResultNotify(const SignResultNotifyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SignResultNotifyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SignResultNotifyOutcome(SignResultNotifyResult(outcome.result())); - else - return SignResultNotifyOutcome(outcome.error()); -} - -void FinmallClient::signResultNotifyAsync(const SignResultNotifyRequest& request, const SignResultNotifyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, signResultNotify(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::SignResultNotifyOutcomeCallable FinmallClient::signResultNotifyCallable(const SignResultNotifyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->signResultNotify(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::VerifySMSTokenOutcome FinmallClient::verifySMSToken(const VerifySMSTokenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return VerifySMSTokenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return VerifySMSTokenOutcome(VerifySMSTokenResult(outcome.result())); - else - return VerifySMSTokenOutcome(outcome.error()); -} - -void FinmallClient::verifySMSTokenAsync(const VerifySMSTokenRequest& request, const VerifySMSTokenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, verifySMSToken(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::VerifySMSTokenOutcomeCallable FinmallClient::verifySMSTokenCallable(const VerifySMSTokenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->verifySMSToken(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetCreditRepayListOutcome FinmallClient::getCreditRepayList(const GetCreditRepayListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetCreditRepayListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetCreditRepayListOutcome(GetCreditRepayListResult(outcome.result())); - else - return GetCreditRepayListOutcome(outcome.error()); -} - -void FinmallClient::getCreditRepayListAsync(const GetCreditRepayListRequest& request, const GetCreditRepayListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getCreditRepayList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetCreditRepayListOutcomeCallable FinmallClient::getCreditRepayListCallable(const GetCreditRepayListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getCreditRepayList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetSignContractUrlOutcome FinmallClient::getSignContractUrl(const GetSignContractUrlRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetSignContractUrlOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetSignContractUrlOutcome(GetSignContractUrlResult(outcome.result())); - else - return GetSignContractUrlOutcome(outcome.error()); -} - -void FinmallClient::getSignContractUrlAsync(const GetSignContractUrlRequest& request, const GetSignContractUrlAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getSignContractUrl(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetSignContractUrlOutcomeCallable FinmallClient::getSignContractUrlCallable(const GetSignContractUrlRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getSignContractUrl(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -FinmallClient::GetRepayPlanTrialOutcome FinmallClient::getRepayPlanTrial(const GetRepayPlanTrialRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetRepayPlanTrialOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetRepayPlanTrialOutcome(GetRepayPlanTrialResult(outcome.result())); - else - return GetRepayPlanTrialOutcome(outcome.error()); -} - -void FinmallClient::getRepayPlanTrialAsync(const GetRepayPlanTrialRequest& request, const GetRepayPlanTrialAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getRepayPlanTrial(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -FinmallClient::GetRepayPlanTrialOutcomeCallable FinmallClient::getRepayPlanTrialCallable(const GetRepayPlanTrialRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getRepayPlanTrial(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - diff --git a/finmall/src/model/AddCustomInfoRequest.cc b/finmall/src/model/AddCustomInfoRequest.cc deleted file mode 100644 index bd01e0258..000000000 --- a/finmall/src/model/AddCustomInfoRequest.cc +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::AddCustomInfoRequest; - -AddCustomInfoRequest::AddCustomInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "AddCustomInfo") -{} - -AddCustomInfoRequest::~AddCustomInfoRequest() -{} - -std::string AddCustomInfoRequest::getUserId()const -{ - return userId_; -} - -void AddCustomInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/AddCustomInfoResult.cc b/finmall/src/model/AddCustomInfoResult.cc deleted file mode 100644 index 7052853e5..000000000 --- a/finmall/src/model/AddCustomInfoResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -AddCustomInfoResult::AddCustomInfoResult() : - ServiceResult() -{} - -AddCustomInfoResult::AddCustomInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddCustomInfoResult::~AddCustomInfoResult() -{} - -void AddCustomInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["CustomId"].isNull()) - data_.customId = dataNode["CustomId"].asString(); - if(!dataNode["ValidateState"].isNull()) - data_.validateState = dataNode["ValidateState"].asString(); - if(!dataNode["ValidateTime"].isNull()) - data_.validateTime = dataNode["ValidateTime"].asString(); - if(!dataNode["UserState"].isNull()) - data_.userState = dataNode["UserState"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string AddCustomInfoResult::getMessage()const -{ - return message_; -} - -AddCustomInfoResult::Data AddCustomInfoResult::getData()const -{ - return data_; -} - -std::string AddCustomInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/AddTrialRecordRequest.cc b/finmall/src/model/AddTrialRecordRequest.cc deleted file mode 100644 index 12463b3e6..000000000 --- a/finmall/src/model/AddTrialRecordRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::AddTrialRecordRequest; - -AddTrialRecordRequest::AddTrialRecordRequest() : - RpcServiceRequest("finmall", "2018-07-23", "AddTrialRecord") -{} - -AddTrialRecordRequest::~AddTrialRecordRequest() -{} - -std::string AddTrialRecordRequest::getNote()const -{ - return note_; -} - -void AddTrialRecordRequest::setNote(const std::string& note) -{ - note_ = note; - setParameter("Note", note); -} - -std::string AddTrialRecordRequest::getEnterpriseEmail()const -{ - return enterpriseEmail_; -} - -void AddTrialRecordRequest::setEnterpriseEmail(const std::string& enterpriseEmail) -{ - enterpriseEmail_ = enterpriseEmail; - setParameter("EnterpriseEmail", enterpriseEmail); -} - -std::string AddTrialRecordRequest::getContractPhoneNumber()const -{ - return contractPhoneNumber_; -} - -void AddTrialRecordRequest::setContractPhoneNumber(const std::string& contractPhoneNumber) -{ - contractPhoneNumber_ = contractPhoneNumber; - setParameter("ContractPhoneNumber", contractPhoneNumber); -} - -std::string AddTrialRecordRequest::getContractName()const -{ - return contractName_; -} - -void AddTrialRecordRequest::setContractName(const std::string& contractName) -{ - contractName_ = contractName; - setParameter("ContractName", contractName); -} - -std::string AddTrialRecordRequest::getChannel()const -{ - return channel_; -} - -void AddTrialRecordRequest::setChannel(const std::string& channel) -{ - channel_ = channel; - setParameter("Channel", channel); -} - -std::string AddTrialRecordRequest::getEnterpriseName()const -{ - return enterpriseName_; -} - -void AddTrialRecordRequest::setEnterpriseName(const std::string& enterpriseName) -{ - enterpriseName_ = enterpriseName; - setParameter("EnterpriseName", enterpriseName); -} - -std::string AddTrialRecordRequest::getUserId()const -{ - return userId_; -} - -void AddTrialRecordRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -std::string AddTrialRecordRequest::getProducts()const -{ - return products_; -} - -void AddTrialRecordRequest::setProducts(const std::string& products) -{ - products_ = products; - setParameter("Products", products); -} - -std::string AddTrialRecordRequest::getBudget()const -{ - return budget_; -} - -void AddTrialRecordRequest::setBudget(const std::string& budget) -{ - budget_ = budget; - setParameter("Budget", budget); -} - diff --git a/finmall/src/model/AddTrialRecordResult.cc b/finmall/src/model/AddTrialRecordResult.cc deleted file mode 100644 index b5dc2c6fb..000000000 --- a/finmall/src/model/AddTrialRecordResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -AddTrialRecordResult::AddTrialRecordResult() : - ServiceResult() -{} - -AddTrialRecordResult::AddTrialRecordResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddTrialRecordResult::~AddTrialRecordResult() -{} - -void AddTrialRecordResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["CustomId"].isNull()) - data_.customId = dataNode["CustomId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string AddTrialRecordResult::getMessage()const -{ - return message_; -} - -AddTrialRecordResult::Data AddTrialRecordResult::getData()const -{ - return data_; -} - -std::string AddTrialRecordResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/ApplyForLoanRequest.cc b/finmall/src/model/ApplyForLoanRequest.cc deleted file mode 100644 index c8f21522f..000000000 --- a/finmall/src/model/ApplyForLoanRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::ApplyForLoanRequest; - -ApplyForLoanRequest::ApplyForLoanRequest() : - RpcServiceRequest("finmall", "2018-07-23", "ApplyForLoan") -{} - -ApplyForLoanRequest::~ApplyForLoanRequest() -{} - -std::string ApplyForLoanRequest::getBizType()const -{ - return bizType_; -} - -void ApplyForLoanRequest::setBizType(const std::string& bizType) -{ - bizType_ = bizType; - setParameter("BizType", bizType); -} - -std::string ApplyForLoanRequest::getCreditId()const -{ - return creditId_; -} - -void ApplyForLoanRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string ApplyForLoanRequest::getProductId()const -{ - return productId_; -} - -void ApplyForLoanRequest::setProductId(const std::string& productId) -{ - productId_ = productId; - setParameter("ProductId", productId); -} - -std::string ApplyForLoanRequest::getFundpartyId()const -{ - return fundpartyId_; -} - -void ApplyForLoanRequest::setFundpartyId(const std::string& fundpartyId) -{ - fundpartyId_ = fundpartyId; - setParameter("FundpartyId", fundpartyId); -} - -std::string ApplyForLoanRequest::getBizData()const -{ - return bizData_; -} - -void ApplyForLoanRequest::setBizData(const std::string& bizData) -{ - bizData_ = bizData; - setParameter("BizData", bizData); -} - -std::string ApplyForLoanRequest::getUserId()const -{ - return userId_; -} - -void ApplyForLoanRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/ApplyForLoanResult.cc b/finmall/src/model/ApplyForLoanResult.cc deleted file mode 100644 index 861ddbe7d..000000000 --- a/finmall/src/model/ApplyForLoanResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -ApplyForLoanResult::ApplyForLoanResult() : - ServiceResult() -{} - -ApplyForLoanResult::ApplyForLoanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ApplyForLoanResult::~ApplyForLoanResult() -{} - -void ApplyForLoanResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string ApplyForLoanResult::getMessage()const -{ - return message_; -} - -ApplyForLoanResult::Data ApplyForLoanResult::getData()const -{ - return data_; -} - -std::string ApplyForLoanResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/CancelCreditRequest.cc b/finmall/src/model/CancelCreditRequest.cc deleted file mode 100644 index 2bf4556e1..000000000 --- a/finmall/src/model/CancelCreditRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::CancelCreditRequest; - -CancelCreditRequest::CancelCreditRequest() : - RpcServiceRequest("finmall", "2018-07-23", "CancelCredit") -{} - -CancelCreditRequest::~CancelCreditRequest() -{} - -std::string CancelCreditRequest::getCreditId()const -{ - return creditId_; -} - -void CancelCreditRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string CancelCreditRequest::getUserId()const -{ - return userId_; -} - -void CancelCreditRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/CancelCreditResult.cc b/finmall/src/model/CancelCreditResult.cc deleted file mode 100644 index d27b4e0ff..000000000 --- a/finmall/src/model/CancelCreditResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -CancelCreditResult::CancelCreditResult() : - ServiceResult() -{} - -CancelCreditResult::CancelCreditResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CancelCreditResult::~CancelCreditResult() -{} - -void CancelCreditResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!dataNode["CreditId"].isNull()) - data_.creditId = dataNode["CreditId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string CancelCreditResult::getMessage()const -{ - return message_; -} - -CancelCreditResult::Data CancelCreditResult::getData()const -{ - return data_; -} - -std::string CancelCreditResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetAuthorizeCreditQueryRequest.cc b/finmall/src/model/GetAuthorizeCreditQueryRequest.cc deleted file mode 100644 index c4a009c4d..000000000 --- a/finmall/src/model/GetAuthorizeCreditQueryRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetAuthorizeCreditQueryRequest; - -GetAuthorizeCreditQueryRequest::GetAuthorizeCreditQueryRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetAuthorizeCreditQuery") -{} - -GetAuthorizeCreditQueryRequest::~GetAuthorizeCreditQueryRequest() -{} - -std::string GetAuthorizeCreditQueryRequest::getCreditId()const -{ - return creditId_; -} - -void GetAuthorizeCreditQueryRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetAuthorizeCreditQueryRequest::getFundPartyId()const -{ - return fundPartyId_; -} - -void GetAuthorizeCreditQueryRequest::setFundPartyId(const std::string& fundPartyId) -{ - fundPartyId_ = fundPartyId; - setParameter("FundPartyId", fundPartyId); -} - -std::string GetAuthorizeCreditQueryRequest::getReturnUrl()const -{ - return returnUrl_; -} - -void GetAuthorizeCreditQueryRequest::setReturnUrl(const std::string& returnUrl) -{ - returnUrl_ = returnUrl; - setParameter("ReturnUrl", returnUrl); -} - -std::string GetAuthorizeCreditQueryRequest::getUserId()const -{ - return userId_; -} - -void GetAuthorizeCreditQueryRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetAuthorizeCreditQueryResult.cc b/finmall/src/model/GetAuthorizeCreditQueryResult.cc deleted file mode 100644 index fa5f5c68f..000000000 --- a/finmall/src/model/GetAuthorizeCreditQueryResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetAuthorizeCreditQueryResult::GetAuthorizeCreditQueryResult() : - ServiceResult() -{} - -GetAuthorizeCreditQueryResult::GetAuthorizeCreditQueryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetAuthorizeCreditQueryResult::~GetAuthorizeCreditQueryResult() -{} - -void GetAuthorizeCreditQueryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Url"].isNull()) - data_.url = dataNode["Url"].asString(); - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!dataNode["DownloadUrl"].isNull()) - data_.downloadUrl = dataNode["DownloadUrl"].asString(); - if(!dataNode["ViewUrl"].isNull()) - data_.viewUrl = dataNode["ViewUrl"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetAuthorizeCreditQueryResult::getMessage()const -{ - return message_; -} - -GetAuthorizeCreditQueryResult::Data GetAuthorizeCreditQueryResult::getData()const -{ - return data_; -} - -std::string GetAuthorizeCreditQueryResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCreditDetailRequest.cc b/finmall/src/model/GetCreditDetailRequest.cc deleted file mode 100644 index 60b19dbe1..000000000 --- a/finmall/src/model/GetCreditDetailRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCreditDetailRequest; - -GetCreditDetailRequest::GetCreditDetailRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCreditDetail") -{} - -GetCreditDetailRequest::~GetCreditDetailRequest() -{} - -std::string GetCreditDetailRequest::getCreditId()const -{ - return creditId_; -} - -void GetCreditDetailRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetCreditDetailRequest::getUserId()const -{ - return userId_; -} - -void GetCreditDetailRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetCreditDetailResult.cc b/finmall/src/model/GetCreditDetailResult.cc deleted file mode 100644 index d0928b7cb..000000000 --- a/finmall/src/model/GetCreditDetailResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCreditDetailResult::GetCreditDetailResult() : - ServiceResult() -{} - -GetCreditDetailResult::GetCreditDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCreditDetailResult::~GetCreditDetailResult() -{} - -void GetCreditDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["CreditId"].isNull()) - data_.creditId = dataNode["CreditId"].asString(); - if(!dataNode["ProductName"].isNull()) - data_.productName = dataNode["ProductName"].asString(); - if(!dataNode["LineOfCredit"].isNull()) - data_.lineOfCredit = dataNode["LineOfCredit"].asString(); - if(!dataNode["Amount"].isNull()) - data_.amount = dataNode["Amount"].asString(); - if(!dataNode["DebtorName"].isNull()) - data_.debtorName = dataNode["DebtorName"].asString(); - if(!dataNode["LoanBalance"].isNull()) - data_.loanBalance = dataNode["LoanBalance"].asString(); - if(!dataNode["RepayPhase"].isNull()) - data_.repayPhase = dataNode["RepayPhase"].asString(); - if(!dataNode["State"].isNull()) - data_.state = dataNode["State"].asString(); - if(!dataNode["CreateDate"].isNull()) - data_.createDate = dataNode["CreateDate"].asString(); - if(!dataNode["UpdateDate"].isNull()) - data_.updateDate = dataNode["UpdateDate"].asString(); - if(!dataNode["ProductId"].isNull()) - data_.productId = dataNode["ProductId"].asString(); - if(!dataNode["FundPartyId"].isNull()) - data_.fundPartyId = dataNode["FundPartyId"].asString(); - if(!dataNode["DownPaymentAmount"].isNull()) - data_.downPaymentAmount = dataNode["DownPaymentAmount"].asString(); - if(!dataNode["DownPaymentRate"].isNull()) - data_.downPaymentRate = dataNode["DownPaymentRate"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetCreditDetailResult::getMessage()const -{ - return message_; -} - -GetCreditDetailResult::Data GetCreditDetailResult::getData()const -{ - return data_; -} - -std::string GetCreditDetailResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCreditListRequest.cc b/finmall/src/model/GetCreditListRequest.cc deleted file mode 100644 index ed637e062..000000000 --- a/finmall/src/model/GetCreditListRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCreditListRequest; - -GetCreditListRequest::GetCreditListRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCreditList") -{} - -GetCreditListRequest::~GetCreditListRequest() -{} - -std::string GetCreditListRequest::getQueryExpression()const -{ - return queryExpression_; -} - -void GetCreditListRequest::setQueryExpression(const std::string& queryExpression) -{ - queryExpression_ = queryExpression; - setParameter("QueryExpression", queryExpression); -} - -int GetCreditListRequest::getPageSize()const -{ - return pageSize_; -} - -void GetCreditListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetCreditListRequest::getUserId()const -{ - return userId_; -} - -void GetCreditListRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -int GetCreditListRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetCreditListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/finmall/src/model/GetCreditListResult.cc b/finmall/src/model/GetCreditListResult.cc deleted file mode 100644 index 9a482900c..000000000 --- a/finmall/src/model/GetCreditListResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCreditListResult::GetCreditListResult() : - ServiceResult() -{} - -GetCreditListResult::GetCreditListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCreditListResult::~GetCreditListResult() -{} - -void GetCreditListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetCreditListResult::getMessage()const -{ - return message_; -} - -std::string GetCreditListResult::getData()const -{ - return data_; -} - -std::string GetCreditListResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCreditRepayListRequest.cc b/finmall/src/model/GetCreditRepayListRequest.cc deleted file mode 100644 index 906e6af58..000000000 --- a/finmall/src/model/GetCreditRepayListRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCreditRepayListRequest; - -GetCreditRepayListRequest::GetCreditRepayListRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCreditRepayList") -{} - -GetCreditRepayListRequest::~GetCreditRepayListRequest() -{} - -std::string GetCreditRepayListRequest::getQueryExpression()const -{ - return queryExpression_; -} - -void GetCreditRepayListRequest::setQueryExpression(const std::string& queryExpression) -{ - queryExpression_ = queryExpression; - setParameter("QueryExpression", queryExpression); -} - -int GetCreditRepayListRequest::getPageSize()const -{ - return pageSize_; -} - -void GetCreditRepayListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetCreditRepayListRequest::getUserId()const -{ - return userId_; -} - -void GetCreditRepayListRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -int GetCreditRepayListRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetCreditRepayListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/finmall/src/model/GetCreditRepayListResult.cc b/finmall/src/model/GetCreditRepayListResult.cc deleted file mode 100644 index 9cfba5bbd..000000000 --- a/finmall/src/model/GetCreditRepayListResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCreditRepayListResult::GetCreditRepayListResult() : - ServiceResult() -{} - -GetCreditRepayListResult::GetCreditRepayListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCreditRepayListResult::~GetCreditRepayListResult() -{} - -void GetCreditRepayListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetCreditRepayListResult::getMessage()const -{ - return message_; -} - -std::string GetCreditRepayListResult::getData()const -{ - return data_; -} - -std::string GetCreditRepayListResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCreditSignatureInfoRequest.cc b/finmall/src/model/GetCreditSignatureInfoRequest.cc deleted file mode 100644 index dd82265a9..000000000 --- a/finmall/src/model/GetCreditSignatureInfoRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCreditSignatureInfoRequest; - -GetCreditSignatureInfoRequest::GetCreditSignatureInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCreditSignatureInfo") -{} - -GetCreditSignatureInfoRequest::~GetCreditSignatureInfoRequest() -{} - -std::string GetCreditSignatureInfoRequest::getCreditId()const -{ - return creditId_; -} - -void GetCreditSignatureInfoRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetCreditSignatureInfoRequest::getUserId()const -{ - return userId_; -} - -void GetCreditSignatureInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetCreditSignatureInfoResult.cc b/finmall/src/model/GetCreditSignatureInfoResult.cc deleted file mode 100644 index 990869821..000000000 --- a/finmall/src/model/GetCreditSignatureInfoResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCreditSignatureInfoResult::GetCreditSignatureInfoResult() : - ServiceResult() -{} - -GetCreditSignatureInfoResult::GetCreditSignatureInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCreditSignatureInfoResult::~GetCreditSignatureInfoResult() -{} - -void GetCreditSignatureInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetCreditSignatureInfoResult::getMessage()const -{ - return message_; -} - -std::string GetCreditSignatureInfoResult::getData()const -{ - return data_; -} - -std::string GetCreditSignatureInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCreditStatusRequest.cc b/finmall/src/model/GetCreditStatusRequest.cc deleted file mode 100644 index d5e369efc..000000000 --- a/finmall/src/model/GetCreditStatusRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCreditStatusRequest; - -GetCreditStatusRequest::GetCreditStatusRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCreditStatus") -{} - -GetCreditStatusRequest::~GetCreditStatusRequest() -{} - -std::string GetCreditStatusRequest::getCreditId()const -{ - return creditId_; -} - -void GetCreditStatusRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetCreditStatusRequest::getUserId()const -{ - return userId_; -} - -void GetCreditStatusRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetCreditStatusResult.cc b/finmall/src/model/GetCreditStatusResult.cc deleted file mode 100644 index 807df9c98..000000000 --- a/finmall/src/model/GetCreditStatusResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCreditStatusResult::GetCreditStatusResult() : - ServiceResult() -{} - -GetCreditStatusResult::GetCreditStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCreditStatusResult::~GetCreditStatusResult() -{} - -void GetCreditStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!dataNode["CreateTime"].isNull()) - data_.createTime = dataNode["CreateTime"].asString(); - if(!dataNode["ProductId"].isNull()) - data_.productId = dataNode["ProductId"].asString(); - if(!dataNode["FundPartyId"].isNull()) - data_.fundPartyId = dataNode["FundPartyId"].asString(); - if(!dataNode["TradeDataId"].isNull()) - data_.tradeDataId = dataNode["TradeDataId"].asString(); - if(!dataNode["CreditApproveComment"].isNull()) - data_.creditApproveComment = dataNode["CreditApproveComment"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetCreditStatusResult::getMessage()const -{ - return message_; -} - -GetCreditStatusResult::Data GetCreditStatusResult::getData()const -{ - return data_; -} - -std::string GetCreditStatusResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCreditWithdrawRecordRequest.cc b/finmall/src/model/GetCreditWithdrawRecordRequest.cc deleted file mode 100644 index 4998a2d29..000000000 --- a/finmall/src/model/GetCreditWithdrawRecordRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCreditWithdrawRecordRequest; - -GetCreditWithdrawRecordRequest::GetCreditWithdrawRecordRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCreditWithdrawRecord") -{} - -GetCreditWithdrawRecordRequest::~GetCreditWithdrawRecordRequest() -{} - -std::string GetCreditWithdrawRecordRequest::getCreditId()const -{ - return creditId_; -} - -void GetCreditWithdrawRecordRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetCreditWithdrawRecordRequest::getUserId()const -{ - return userId_; -} - -void GetCreditWithdrawRecordRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetCreditWithdrawRecordResult.cc b/finmall/src/model/GetCreditWithdrawRecordResult.cc deleted file mode 100644 index 6ef084ccd..000000000 --- a/finmall/src/model/GetCreditWithdrawRecordResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCreditWithdrawRecordResult::GetCreditWithdrawRecordResult() : - ServiceResult() -{} - -GetCreditWithdrawRecordResult::GetCreditWithdrawRecordResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCreditWithdrawRecordResult::~GetCreditWithdrawRecordResult() -{} - -void GetCreditWithdrawRecordResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetCreditWithdrawRecordResult::getMessage()const -{ - return message_; -} - -std::string GetCreditWithdrawRecordResult::getData()const -{ - return data_; -} - -std::string GetCreditWithdrawRecordResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCurrentTermRepayInfoRequest.cc b/finmall/src/model/GetCurrentTermRepayInfoRequest.cc deleted file mode 100644 index f5b80e0bc..000000000 --- a/finmall/src/model/GetCurrentTermRepayInfoRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCurrentTermRepayInfoRequest; - -GetCurrentTermRepayInfoRequest::GetCurrentTermRepayInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCurrentTermRepayInfo") -{} - -GetCurrentTermRepayInfoRequest::~GetCurrentTermRepayInfoRequest() -{} - -std::string GetCurrentTermRepayInfoRequest::getCreditId()const -{ - return creditId_; -} - -void GetCurrentTermRepayInfoRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetCurrentTermRepayInfoRequest::getUserId()const -{ - return userId_; -} - -void GetCurrentTermRepayInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetCurrentTermRepayInfoResult.cc b/finmall/src/model/GetCurrentTermRepayInfoResult.cc deleted file mode 100644 index 1e2aa678f..000000000 --- a/finmall/src/model/GetCurrentTermRepayInfoResult.cc +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCurrentTermRepayInfoResult::GetCurrentTermRepayInfoResult() : - ServiceResult() -{} - -GetCurrentTermRepayInfoResult::GetCurrentTermRepayInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCurrentTermRepayInfoResult::~GetCurrentTermRepayInfoResult() -{} - -void GetCurrentTermRepayInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["CreditId"].isNull()) - data_.creditId = dataNode["CreditId"].asString(); - if(!dataNode["BalAmt"].isNull()) - data_.balAmt = dataNode["BalAmt"].asString(); - if(!dataNode["InterAmt"].isNull()) - data_.interAmt = dataNode["InterAmt"].asString(); - if(!dataNode["FineAmt"].isNull()) - data_.fineAmt = dataNode["FineAmt"].asString(); - if(!dataNode["InterInter"].isNull()) - data_.interInter = dataNode["InterInter"].asString(); - if(!dataNode["FineInter"].isNull()) - data_.fineInter = dataNode["FineInter"].asString(); - if(!dataNode["ExpiryDate"].isNull()) - data_.expiryDate = dataNode["ExpiryDate"].asString(); - if(!dataNode["LoanBalance"].isNull()) - data_.loanBalance = dataNode["LoanBalance"].asString(); - if(!dataNode["TotalLoanAmount"].isNull()) - data_.totalLoanAmount = dataNode["TotalLoanAmount"].asString(); - if(!dataNode["RepayPrincipalAmount"].isNull()) - data_.repayPrincipalAmount = dataNode["RepayPrincipalAmount"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetCurrentTermRepayInfoResult::getMessage()const -{ - return message_; -} - -GetCurrentTermRepayInfoResult::Data GetCurrentTermRepayInfoResult::getData()const -{ - return data_; -} - -std::string GetCurrentTermRepayInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCustomStatusInfoRequest.cc b/finmall/src/model/GetCustomStatusInfoRequest.cc deleted file mode 100644 index 62b557b3c..000000000 --- a/finmall/src/model/GetCustomStatusInfoRequest.cc +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCustomStatusInfoRequest; - -GetCustomStatusInfoRequest::GetCustomStatusInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCustomStatusInfo") -{} - -GetCustomStatusInfoRequest::~GetCustomStatusInfoRequest() -{} - -std::string GetCustomStatusInfoRequest::getUserId()const -{ - return userId_; -} - -void GetCustomStatusInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetCustomStatusInfoResult.cc b/finmall/src/model/GetCustomStatusInfoResult.cc deleted file mode 100644 index 332f50f42..000000000 --- a/finmall/src/model/GetCustomStatusInfoResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCustomStatusInfoResult::GetCustomStatusInfoResult() : - ServiceResult() -{} - -GetCustomStatusInfoResult::GetCustomStatusInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCustomStatusInfoResult::~GetCustomStatusInfoResult() -{} - -void GetCustomStatusInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["UserState"].isNull()) - data_.userState = dataNode["UserState"].asString(); - if(!dataNode["ValidateState"].isNull()) - data_.validateState = dataNode["ValidateState"].asString(); - if(!dataNode["ValidateTime"].isNull()) - data_.validateTime = dataNode["ValidateTime"].asString(); - if(!dataNode["CustomId"].isNull()) - data_.customId = dataNode["CustomId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetCustomStatusInfoResult::getMessage()const -{ - return message_; -} - -GetCustomStatusInfoResult::Data GetCustomStatusInfoResult::getData()const -{ - return data_; -} - -std::string GetCustomStatusInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetCustomerVerifyInfoRequest.cc b/finmall/src/model/GetCustomerVerifyInfoRequest.cc deleted file mode 100644 index acf629583..000000000 --- a/finmall/src/model/GetCustomerVerifyInfoRequest.cc +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetCustomerVerifyInfoRequest; - -GetCustomerVerifyInfoRequest::GetCustomerVerifyInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetCustomerVerifyInfo") -{} - -GetCustomerVerifyInfoRequest::~GetCustomerVerifyInfoRequest() -{} - -std::string GetCustomerVerifyInfoRequest::getUserId()const -{ - return userId_; -} - -void GetCustomerVerifyInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetCustomerVerifyInfoResult.cc b/finmall/src/model/GetCustomerVerifyInfoResult.cc deleted file mode 100644 index 319b7e551..000000000 --- a/finmall/src/model/GetCustomerVerifyInfoResult.cc +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetCustomerVerifyInfoResult::GetCustomerVerifyInfoResult() : - ServiceResult() -{} - -GetCustomerVerifyInfoResult::GetCustomerVerifyInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetCustomerVerifyInfoResult::~GetCustomerVerifyInfoResult() -{} - -void GetCustomerVerifyInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["LegalPersonName"].isNull()) - data_.legalPersonName = dataNode["LegalPersonName"].asString(); - if(!dataNode["IdCardNumber"].isNull()) - data_.idCardNumber = dataNode["IdCardNumber"].asString(); - if(!dataNode["EnterpriseName"].isNull()) - data_.enterpriseName = dataNode["EnterpriseName"].asString(); - if(!dataNode["BusinessLicense"].isNull()) - data_.businessLicense = dataNode["BusinessLicense"].asString(); - if(!dataNode["Address"].isNull()) - data_.address = dataNode["Address"].asString(); - if(!dataNode["PhoneNumber"].isNull()) - data_.phoneNumber = dataNode["PhoneNumber"].asString(); - if(!dataNode["BankCard"].isNull()) - data_.bankCard = dataNode["BankCard"].asString(); - if(!dataNode["LoanSubject"].isNull()) - data_.loanSubject = dataNode["LoanSubject"].asString(); - if(!dataNode["IdCardFrontPage"].isNull()) - data_.idCardFrontPage = dataNode["IdCardFrontPage"].asString(); - if(!dataNode["IdCardBackPage"].isNull()) - data_.idCardBackPage = dataNode["IdCardBackPage"].asString(); - if(!dataNode["ValidateTime"].isNull()) - data_.validateTime = dataNode["ValidateTime"].asString(); - if(!dataNode["ValidateState"].isNull()) - data_.validateState = dataNode["ValidateState"].asString(); - if(!dataNode["Email"].isNull()) - data_.email = dataNode["Email"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetCustomerVerifyInfoResult::getMessage()const -{ - return message_; -} - -GetCustomerVerifyInfoResult::Data GetCustomerVerifyInfoResult::getData()const -{ - return data_; -} - -std::string GetCustomerVerifyInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetDocumentDownloadUrlRequest.cc b/finmall/src/model/GetDocumentDownloadUrlRequest.cc deleted file mode 100644 index 68bb6ff9f..000000000 --- a/finmall/src/model/GetDocumentDownloadUrlRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetDocumentDownloadUrlRequest; - -GetDocumentDownloadUrlRequest::GetDocumentDownloadUrlRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetDocumentDownloadUrl") -{} - -GetDocumentDownloadUrlRequest::~GetDocumentDownloadUrlRequest() -{} - -std::string GetDocumentDownloadUrlRequest::getBizType()const -{ - return bizType_; -} - -void GetDocumentDownloadUrlRequest::setBizType(const std::string& bizType) -{ - bizType_ = bizType; - setParameter("BizType", bizType); -} - -std::string GetDocumentDownloadUrlRequest::getBizId()const -{ - return bizId_; -} - -void GetDocumentDownloadUrlRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setParameter("BizId", bizId); -} - -std::string GetDocumentDownloadUrlRequest::getDocumentId()const -{ - return documentId_; -} - -void GetDocumentDownloadUrlRequest::setDocumentId(const std::string& documentId) -{ - documentId_ = documentId; - setParameter("DocumentId", documentId); -} - -std::string GetDocumentDownloadUrlRequest::getUserId()const -{ - return userId_; -} - -void GetDocumentDownloadUrlRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetDocumentDownloadUrlResult.cc b/finmall/src/model/GetDocumentDownloadUrlResult.cc deleted file mode 100644 index 781ced185..000000000 --- a/finmall/src/model/GetDocumentDownloadUrlResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetDocumentDownloadUrlResult::GetDocumentDownloadUrlResult() : - ServiceResult() -{} - -GetDocumentDownloadUrlResult::GetDocumentDownloadUrlResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDocumentDownloadUrlResult::~GetDocumentDownloadUrlResult() -{} - -void GetDocumentDownloadUrlResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["DownloadUrl"].isNull()) - data_.downloadUrl = dataNode["DownloadUrl"].asString(); - if(!dataNode["ViewUrl"].isNull()) - data_.viewUrl = dataNode["ViewUrl"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetDocumentDownloadUrlResult::getMessage()const -{ - return message_; -} - -GetDocumentDownloadUrlResult::Data GetDocumentDownloadUrlResult::getData()const -{ - return data_; -} - -std::string GetDocumentDownloadUrlResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetLatestOverdueRecordRequest.cc b/finmall/src/model/GetLatestOverdueRecordRequest.cc deleted file mode 100644 index 01b8dfe94..000000000 --- a/finmall/src/model/GetLatestOverdueRecordRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetLatestOverdueRecordRequest; - -GetLatestOverdueRecordRequest::GetLatestOverdueRecordRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetLatestOverdueRecord") -{} - -GetLatestOverdueRecordRequest::~GetLatestOverdueRecordRequest() -{} - -std::string GetLatestOverdueRecordRequest::getCreditId()const -{ - return creditId_; -} - -void GetLatestOverdueRecordRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetLatestOverdueRecordRequest::getUserId()const -{ - return userId_; -} - -void GetLatestOverdueRecordRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetLatestOverdueRecordResult.cc b/finmall/src/model/GetLatestOverdueRecordResult.cc deleted file mode 100644 index b95aeb1d7..000000000 --- a/finmall/src/model/GetLatestOverdueRecordResult.cc +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetLatestOverdueRecordResult::GetLatestOverdueRecordResult() : - ServiceResult() -{} - -GetLatestOverdueRecordResult::GetLatestOverdueRecordResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetLatestOverdueRecordResult::~GetLatestOverdueRecordResult() -{} - -void GetLatestOverdueRecordResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["OverdueId"].isNull()) - data_.overdueId = dataNode["OverdueId"].asString(); - if(!dataNode["CreditId"].isNull()) - data_.creditId = dataNode["CreditId"].asString(); - if(!dataNode["OverdueType"].isNull()) - data_.overdueType = dataNode["OverdueType"].asString(); - if(!dataNode["CreditAccount"].isNull()) - data_.creditAccount = dataNode["CreditAccount"].asString(); - if(!dataNode["Principal"].isNull()) - data_.principal = dataNode["Principal"].asString(); - if(!dataNode["InterestAmount"].isNull()) - data_.interestAmount = dataNode["InterestAmount"].asString(); - if(!dataNode["InterestOfInterest"].isNull()) - data_.interestOfInterest = dataNode["InterestOfInterest"].asString(); - if(!dataNode["FineAmount"].isNull()) - data_.fineAmount = dataNode["FineAmount"].asString(); - if(!dataNode["FineInterest"].isNull()) - data_.fineInterest = dataNode["FineInterest"].asString(); - if(!dataNode["OverdueStartDate"].isNull()) - data_.overdueStartDate = dataNode["OverdueStartDate"].asString(); - if(!dataNode["OverdueDays"].isNull()) - data_.overdueDays = dataNode["OverdueDays"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetLatestOverdueRecordResult::getMessage()const -{ - return message_; -} - -GetLatestOverdueRecordResult::Data GetLatestOverdueRecordResult::getData()const -{ - return data_; -} - -std::string GetLatestOverdueRecordResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetLoanAgreementRequest.cc b/finmall/src/model/GetLoanAgreementRequest.cc deleted file mode 100644 index e2763cf7a..000000000 --- a/finmall/src/model/GetLoanAgreementRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetLoanAgreementRequest; - -GetLoanAgreementRequest::GetLoanAgreementRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetLoanAgreement") -{} - -GetLoanAgreementRequest::~GetLoanAgreementRequest() -{} - -std::string GetLoanAgreementRequest::getCreditId()const -{ - return creditId_; -} - -void GetLoanAgreementRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetLoanAgreementRequest::getFundPartyId()const -{ - return fundPartyId_; -} - -void GetLoanAgreementRequest::setFundPartyId(const std::string& fundPartyId) -{ - fundPartyId_ = fundPartyId; - setParameter("FundPartyId", fundPartyId); -} - -std::string GetLoanAgreementRequest::getReturnUrl()const -{ - return returnUrl_; -} - -void GetLoanAgreementRequest::setReturnUrl(const std::string& returnUrl) -{ - returnUrl_ = returnUrl; - setParameter("ReturnUrl", returnUrl); -} - -std::string GetLoanAgreementRequest::getUserId()const -{ - return userId_; -} - -void GetLoanAgreementRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetLoanAgreementResult.cc b/finmall/src/model/GetLoanAgreementResult.cc deleted file mode 100644 index 01c6304bd..000000000 --- a/finmall/src/model/GetLoanAgreementResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetLoanAgreementResult::GetLoanAgreementResult() : - ServiceResult() -{} - -GetLoanAgreementResult::GetLoanAgreementResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetLoanAgreementResult::~GetLoanAgreementResult() -{} - -void GetLoanAgreementResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Url"].isNull()) - data_.url = dataNode["Url"].asString(); - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!dataNode["DownloadUrl"].isNull()) - data_.downloadUrl = dataNode["DownloadUrl"].asString(); - if(!dataNode["ViewUrl"].isNull()) - data_.viewUrl = dataNode["ViewUrl"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetLoanAgreementResult::getMessage()const -{ - return message_; -} - -GetLoanAgreementResult::Data GetLoanAgreementResult::getData()const -{ - return data_; -} - -std::string GetLoanAgreementResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetLoanApplyRecordListRequest.cc b/finmall/src/model/GetLoanApplyRecordListRequest.cc deleted file mode 100644 index 13c3f1a39..000000000 --- a/finmall/src/model/GetLoanApplyRecordListRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetLoanApplyRecordListRequest; - -GetLoanApplyRecordListRequest::GetLoanApplyRecordListRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetLoanApplyRecordList") -{} - -GetLoanApplyRecordListRequest::~GetLoanApplyRecordListRequest() -{} - -std::string GetLoanApplyRecordListRequest::getCreditId()const -{ - return creditId_; -} - -void GetLoanApplyRecordListRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetLoanApplyRecordListRequest::getUserId()const -{ - return userId_; -} - -void GetLoanApplyRecordListRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetLoanApplyRecordListResult.cc b/finmall/src/model/GetLoanApplyRecordListResult.cc deleted file mode 100644 index 73e1138d6..000000000 --- a/finmall/src/model/GetLoanApplyRecordListResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetLoanApplyRecordListResult::GetLoanApplyRecordListResult() : - ServiceResult() -{} - -GetLoanApplyRecordListResult::GetLoanApplyRecordListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetLoanApplyRecordListResult::~GetLoanApplyRecordListResult() -{} - -void GetLoanApplyRecordListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetLoanApplyRecordListResult::getMessage()const -{ - return message_; -} - -std::string GetLoanApplyRecordListResult::getData()const -{ - return data_; -} - -std::string GetLoanApplyRecordListResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetOverdueRecordListRequest.cc b/finmall/src/model/GetOverdueRecordListRequest.cc deleted file mode 100644 index 082f6f703..000000000 --- a/finmall/src/model/GetOverdueRecordListRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetOverdueRecordListRequest; - -GetOverdueRecordListRequest::GetOverdueRecordListRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetOverdueRecordList") -{} - -GetOverdueRecordListRequest::~GetOverdueRecordListRequest() -{} - -int GetOverdueRecordListRequest::getPageSize()const -{ - return pageSize_; -} - -void GetOverdueRecordListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetOverdueRecordListRequest::getQueryExpression()const -{ - return queryExpression_; -} - -void GetOverdueRecordListRequest::setQueryExpression(const std::string& queryExpression) -{ - queryExpression_ = queryExpression; - setParameter("QueryExpression", queryExpression); -} - -std::string GetOverdueRecordListRequest::getUserId()const -{ - return userId_; -} - -void GetOverdueRecordListRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -int GetOverdueRecordListRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetOverdueRecordListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/finmall/src/model/GetOverdueRecordListResult.cc b/finmall/src/model/GetOverdueRecordListResult.cc deleted file mode 100644 index 710ab9fad..000000000 --- a/finmall/src/model/GetOverdueRecordListResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetOverdueRecordListResult::GetOverdueRecordListResult() : - ServiceResult() -{} - -GetOverdueRecordListResult::GetOverdueRecordListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetOverdueRecordListResult::~GetOverdueRecordListResult() -{} - -void GetOverdueRecordListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetOverdueRecordListResult::getMessage()const -{ - return message_; -} - -std::string GetOverdueRecordListResult::getData()const -{ - return data_; -} - -std::string GetOverdueRecordListResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetProductDetailRequest.cc b/finmall/src/model/GetProductDetailRequest.cc deleted file mode 100644 index 9e4632157..000000000 --- a/finmall/src/model/GetProductDetailRequest.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetProductDetailRequest; - -GetProductDetailRequest::GetProductDetailRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetProductDetail") -{} - -GetProductDetailRequest::~GetProductDetailRequest() -{} - -std::string GetProductDetailRequest::getProductId()const -{ - return productId_; -} - -void GetProductDetailRequest::setProductId(const std::string& productId) -{ - productId_ = productId; - setParameter("ProductId", productId); -} - -std::string GetProductDetailRequest::getFundPartyId()const -{ - return fundPartyId_; -} - -void GetProductDetailRequest::setFundPartyId(const std::string& fundPartyId) -{ - fundPartyId_ = fundPartyId; - setParameter("FundPartyId", fundPartyId); -} - -std::string GetProductDetailRequest::getUserId()const -{ - return userId_; -} - -void GetProductDetailRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetProductDetailResult.cc b/finmall/src/model/GetProductDetailResult.cc deleted file mode 100644 index 603cd0965..000000000 --- a/finmall/src/model/GetProductDetailResult.cc +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetProductDetailResult::GetProductDetailResult() : - ServiceResult() -{} - -GetProductDetailResult::GetProductDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetProductDetailResult::~GetProductDetailResult() -{} - -void GetProductDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ProductId"].isNull()) - data_.productId = dataNode["ProductId"].asString(); - if(!dataNode["ProductName"].isNull()) - data_.productName = dataNode["ProductName"].asString(); - if(!dataNode["LendingOrganizations"].isNull()) - data_.lendingOrganizations = dataNode["LendingOrganizations"].asString(); - if(!dataNode["Terms"].isNull()) - data_.terms = dataNode["Terms"].asString(); - if(!dataNode["DailyRate"].isNull()) - data_.dailyRate = dataNode["DailyRate"].asString(); - if(!dataNode["YearRate"].isNull()) - data_.yearRate = dataNode["YearRate"].asString(); - if(!dataNode["FoundPartyName"].isNull()) - data_.foundPartyName = dataNode["FoundPartyName"].asString(); - if(!dataNode["FoundPartyId"].isNull()) - data_.foundPartyId = dataNode["FoundPartyId"].asString(); - if(!dataNode["InterestRate"].isNull()) - data_.interestRate = dataNode["InterestRate"].asString(); - if(!dataNode["PrincipalLimit"].isNull()) - data_.principalLimit = dataNode["PrincipalLimit"].asString(); - if(!dataNode["FinancialInfo"].isNull()) - data_.financialInfo = dataNode["FinancialInfo"].asString(); - if(!dataNode["FineAmount"].isNull()) - data_.fineAmount = dataNode["FineAmount"].asString(); - if(!dataNode["Comment"].isNull()) - data_.comment = dataNode["Comment"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - -} - -std::string GetProductDetailResult::getMessage()const -{ - return message_; -} - -GetProductDetailResult::Data GetProductDetailResult::getData()const -{ - return data_; -} - -std::string GetProductDetailResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetProductListRequest.cc b/finmall/src/model/GetProductListRequest.cc deleted file mode 100644 index 610379093..000000000 --- a/finmall/src/model/GetProductListRequest.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetProductListRequest; - -GetProductListRequest::GetProductListRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetProductList") -{} - -GetProductListRequest::~GetProductListRequest() -{} - -std::string GetProductListRequest::getCreditId()const -{ - return creditId_; -} - -void GetProductListRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetProductListRequest::getFundPartyId()const -{ - return fundPartyId_; -} - -void GetProductListRequest::setFundPartyId(const std::string& fundPartyId) -{ - fundPartyId_ = fundPartyId; - setParameter("FundPartyId", fundPartyId); -} - -std::string GetProductListRequest::getUserId()const -{ - return userId_; -} - -void GetProductListRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetProductListResult.cc b/finmall/src/model/GetProductListResult.cc deleted file mode 100644 index f1ca0bd60..000000000 --- a/finmall/src/model/GetProductListResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetProductListResult::GetProductListResult() : - ServiceResult() -{} - -GetProductListResult::GetProductListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetProductListResult::~GetProductListResult() -{} - -void GetProductListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetProductListResult::getMessage()const -{ - return message_; -} - -std::string GetProductListResult::getData()const -{ - return data_; -} - -std::string GetProductListResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetRepayPlanTrialRequest.cc b/finmall/src/model/GetRepayPlanTrialRequest.cc deleted file mode 100644 index 28f29a539..000000000 --- a/finmall/src/model/GetRepayPlanTrialRequest.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetRepayPlanTrialRequest; - -GetRepayPlanTrialRequest::GetRepayPlanTrialRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetRepayPlanTrial") -{} - -GetRepayPlanTrialRequest::~GetRepayPlanTrialRequest() -{} - -std::string GetRepayPlanTrialRequest::getCreditId()const -{ - return creditId_; -} - -void GetRepayPlanTrialRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetRepayPlanTrialRequest::getProductId()const -{ - return productId_; -} - -void GetRepayPlanTrialRequest::setProductId(const std::string& productId) -{ - productId_ = productId; - setParameter("ProductId", productId); -} - -std::string GetRepayPlanTrialRequest::getUserId()const -{ - return userId_; -} - -void GetRepayPlanTrialRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetRepayPlanTrialResult.cc b/finmall/src/model/GetRepayPlanTrialResult.cc deleted file mode 100644 index 953c08377..000000000 --- a/finmall/src/model/GetRepayPlanTrialResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetRepayPlanTrialResult::GetRepayPlanTrialResult() : - ServiceResult() -{} - -GetRepayPlanTrialResult::GetRepayPlanTrialResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetRepayPlanTrialResult::~GetRepayPlanTrialResult() -{} - -void GetRepayPlanTrialResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Amount"].isNull()) - data_.amount = dataNode["Amount"].asString(); - if(!dataNode["Plan"].isNull()) - data_.plan = dataNode["Plan"].asString(); - if(!dataNode["Terms"].isNull()) - data_.terms = dataNode["Terms"].asString(); - if(!dataNode["LoanRate"].isNull()) - data_.loanRate = dataNode["LoanRate"].asString(); - if(!dataNode["RepayMethod"].isNull()) - data_.repayMethod = dataNode["RepayMethod"].asString(); - if(!dataNode["Prepayment"].isNull()) - data_.prepayment = dataNode["Prepayment"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetRepayPlanTrialResult::getMessage()const -{ - return message_; -} - -GetRepayPlanTrialResult::Data GetRepayPlanTrialResult::getData()const -{ - return data_; -} - -std::string GetRepayPlanTrialResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetSignContractUrlRequest.cc b/finmall/src/model/GetSignContractUrlRequest.cc deleted file mode 100644 index 6b71cc609..000000000 --- a/finmall/src/model/GetSignContractUrlRequest.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetSignContractUrlRequest; - -GetSignContractUrlRequest::GetSignContractUrlRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetSignContractUrl") -{} - -GetSignContractUrlRequest::~GetSignContractUrlRequest() -{} - -std::string GetSignContractUrlRequest::getExtInfo()const -{ - return extInfo_; -} - -void GetSignContractUrlRequest::setExtInfo(const std::string& extInfo) -{ - extInfo_ = extInfo; - setParameter("ExtInfo", extInfo); -} - -std::string GetSignContractUrlRequest::getBizId()const -{ - return bizId_; -} - -void GetSignContractUrlRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setParameter("BizId", bizId); -} - -std::string GetSignContractUrlRequest::getSceneId()const -{ - return sceneId_; -} - -void GetSignContractUrlRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); -} - -std::string GetSignContractUrlRequest::getReturnUrl()const -{ - return returnUrl_; -} - -void GetSignContractUrlRequest::setReturnUrl(const std::string& returnUrl) -{ - returnUrl_ = returnUrl; - setParameter("ReturnUrl", returnUrl); -} - -std::string GetSignContractUrlRequest::getUserId()const -{ - return userId_; -} - -void GetSignContractUrlRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetSignContractUrlResult.cc b/finmall/src/model/GetSignContractUrlResult.cc deleted file mode 100644 index 30c30c52e..000000000 --- a/finmall/src/model/GetSignContractUrlResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetSignContractUrlResult::GetSignContractUrlResult() : - ServiceResult() -{} - -GetSignContractUrlResult::GetSignContractUrlResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetSignContractUrlResult::~GetSignContractUrlResult() -{} - -void GetSignContractUrlResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Url"].isNull()) - data_.url = dataNode["Url"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetSignContractUrlResult::getMessage()const -{ - return message_; -} - -GetSignContractUrlResult::Data GetSignContractUrlResult::getData()const -{ - return data_; -} - -std::string GetSignContractUrlResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetTradeDataRequest.cc b/finmall/src/model/GetTradeDataRequest.cc deleted file mode 100644 index a17a46435..000000000 --- a/finmall/src/model/GetTradeDataRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetTradeDataRequest; - -GetTradeDataRequest::GetTradeDataRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetTradeData") -{} - -GetTradeDataRequest::~GetTradeDataRequest() -{} - -std::string GetTradeDataRequest::getCreditId()const -{ - return creditId_; -} - -void GetTradeDataRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetTradeDataRequest::getUserId()const -{ - return userId_; -} - -void GetTradeDataRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetTradeDataResult.cc b/finmall/src/model/GetTradeDataResult.cc deleted file mode 100644 index 705145136..000000000 --- a/finmall/src/model/GetTradeDataResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetTradeDataResult::GetTradeDataResult() : - ServiceResult() -{} - -GetTradeDataResult::GetTradeDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetTradeDataResult::~GetTradeDataResult() -{} - -void GetTradeDataResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string GetTradeDataResult::getMessage()const -{ - return message_; -} - -std::string GetTradeDataResult::getData()const -{ - return data_; -} - -std::string GetTradeDataResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetUserInfoAuthorizationAgreementRequest.cc b/finmall/src/model/GetUserInfoAuthorizationAgreementRequest.cc deleted file mode 100644 index fa60b31cf..000000000 --- a/finmall/src/model/GetUserInfoAuthorizationAgreementRequest.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetUserInfoAuthorizationAgreementRequest; - -GetUserInfoAuthorizationAgreementRequest::GetUserInfoAuthorizationAgreementRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetUserInfoAuthorizationAgreement") -{} - -GetUserInfoAuthorizationAgreementRequest::~GetUserInfoAuthorizationAgreementRequest() -{} - -std::string GetUserInfoAuthorizationAgreementRequest::getCreditId()const -{ - return creditId_; -} - -void GetUserInfoAuthorizationAgreementRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string GetUserInfoAuthorizationAgreementRequest::getFundPartyId()const -{ - return fundPartyId_; -} - -void GetUserInfoAuthorizationAgreementRequest::setFundPartyId(const std::string& fundPartyId) -{ - fundPartyId_ = fundPartyId; - setParameter("FundPartyId", fundPartyId); -} - -std::string GetUserInfoAuthorizationAgreementRequest::getUserId()const -{ - return userId_; -} - -void GetUserInfoAuthorizationAgreementRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetUserInfoAuthorizationAgreementResult.cc b/finmall/src/model/GetUserInfoAuthorizationAgreementResult.cc deleted file mode 100644 index f09456243..000000000 --- a/finmall/src/model/GetUserInfoAuthorizationAgreementResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetUserInfoAuthorizationAgreementResult::GetUserInfoAuthorizationAgreementResult() : - ServiceResult() -{} - -GetUserInfoAuthorizationAgreementResult::GetUserInfoAuthorizationAgreementResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetUserInfoAuthorizationAgreementResult::~GetUserInfoAuthorizationAgreementResult() -{} - -void GetUserInfoAuthorizationAgreementResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Url"].isNull()) - data_.url = dataNode["Url"].asString(); - if(!dataNode["Content"].isNull()) - data_.content = dataNode["Content"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetUserInfoAuthorizationAgreementResult::getMessage()const -{ - return message_; -} - -GetUserInfoAuthorizationAgreementResult::Data GetUserInfoAuthorizationAgreementResult::getData()const -{ - return data_; -} - -std::string GetUserInfoAuthorizationAgreementResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/GetZhimaScoreRequest.cc b/finmall/src/model/GetZhimaScoreRequest.cc deleted file mode 100644 index ecbb10670..000000000 --- a/finmall/src/model/GetZhimaScoreRequest.cc +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::GetZhimaScoreRequest; - -GetZhimaScoreRequest::GetZhimaScoreRequest() : - RpcServiceRequest("finmall", "2018-07-23", "GetZhimaScore") -{} - -GetZhimaScoreRequest::~GetZhimaScoreRequest() -{} - -std::string GetZhimaScoreRequest::getUserId()const -{ - return userId_; -} - -void GetZhimaScoreRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/GetZhimaScoreResult.cc b/finmall/src/model/GetZhimaScoreResult.cc deleted file mode 100644 index 76c61e426..000000000 --- a/finmall/src/model/GetZhimaScoreResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -GetZhimaScoreResult::GetZhimaScoreResult() : - ServiceResult() -{} - -GetZhimaScoreResult::GetZhimaScoreResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetZhimaScoreResult::~GetZhimaScoreResult() -{} - -void GetZhimaScoreResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Score"].isNull()) - data_.score = dataNode["Score"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string GetZhimaScoreResult::getMessage()const -{ - return message_; -} - -GetZhimaScoreResult::Data GetZhimaScoreResult::getData()const -{ - return data_; -} - -std::string GetZhimaScoreResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/PayForOrderRequest.cc b/finmall/src/model/PayForOrderRequest.cc deleted file mode 100644 index 335480247..000000000 --- a/finmall/src/model/PayForOrderRequest.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::PayForOrderRequest; - -PayForOrderRequest::PayForOrderRequest() : - RpcServiceRequest("finmall", "2018-07-23", "PayForOrder") -{} - -PayForOrderRequest::~PayForOrderRequest() -{} - -std::string PayForOrderRequest::getCreditId()const -{ - return creditId_; -} - -void PayForOrderRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string PayForOrderRequest::getSmsIvToken()const -{ - return smsIvToken_; -} - -void PayForOrderRequest::setSmsIvToken(const std::string& smsIvToken) -{ - smsIvToken_ = smsIvToken; - setParameter("SmsIvToken", smsIvToken); -} - -std::string PayForOrderRequest::getUserId()const -{ - return userId_; -} - -void PayForOrderRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/PayForOrderResult.cc b/finmall/src/model/PayForOrderResult.cc deleted file mode 100644 index 0a341aa79..000000000 --- a/finmall/src/model/PayForOrderResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -PayForOrderResult::PayForOrderResult() : - ServiceResult() -{} - -PayForOrderResult::PayForOrderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PayForOrderResult::~PayForOrderResult() -{} - -void PayForOrderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string PayForOrderResult::getMessage()const -{ - return message_; -} - -PayForOrderResult::Data PayForOrderResult::getData()const -{ - return data_; -} - -std::string PayForOrderResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/QueryFundPartyListRequest.cc b/finmall/src/model/QueryFundPartyListRequest.cc deleted file mode 100644 index 945a70b08..000000000 --- a/finmall/src/model/QueryFundPartyListRequest.cc +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::QueryFundPartyListRequest; - -QueryFundPartyListRequest::QueryFundPartyListRequest() : - RpcServiceRequest("finmall", "2018-07-23", "QueryFundPartyList") -{} - -QueryFundPartyListRequest::~QueryFundPartyListRequest() -{} - -std::string QueryFundPartyListRequest::getUserId()const -{ - return userId_; -} - -void QueryFundPartyListRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/QueryFundPartyListResult.cc b/finmall/src/model/QueryFundPartyListResult.cc deleted file mode 100644 index 0912d3c20..000000000 --- a/finmall/src/model/QueryFundPartyListResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -QueryFundPartyListResult::QueryFundPartyListResult() : - ServiceResult() -{} - -QueryFundPartyListResult::QueryFundPartyListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryFundPartyListResult::~QueryFundPartyListResult() -{} - -void QueryFundPartyListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string QueryFundPartyListResult::getMessage()const -{ - return message_; -} - -std::string QueryFundPartyListResult::getData()const -{ - return data_; -} - -std::string QueryFundPartyListResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/QuerySignResultRequest.cc b/finmall/src/model/QuerySignResultRequest.cc deleted file mode 100644 index 95c95a999..000000000 --- a/finmall/src/model/QuerySignResultRequest.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::QuerySignResultRequest; - -QuerySignResultRequest::QuerySignResultRequest() : - RpcServiceRequest("finmall", "2018-07-23", "QuerySignResult") -{} - -QuerySignResultRequest::~QuerySignResultRequest() -{} - -std::string QuerySignResultRequest::getExtInfo()const -{ - return extInfo_; -} - -void QuerySignResultRequest::setExtInfo(const std::string& extInfo) -{ - extInfo_ = extInfo; - setParameter("ExtInfo", extInfo); -} - -std::string QuerySignResultRequest::getBizId()const -{ - return bizId_; -} - -void QuerySignResultRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setParameter("BizId", bizId); -} - -std::string QuerySignResultRequest::getSceneId()const -{ - return sceneId_; -} - -void QuerySignResultRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); -} - -std::string QuerySignResultRequest::getType()const -{ - return type_; -} - -void QuerySignResultRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string QuerySignResultRequest::getUserId()const -{ - return userId_; -} - -void QuerySignResultRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/QuerySignResultResult.cc b/finmall/src/model/QuerySignResultResult.cc deleted file mode 100644 index 6fb8a6a59..000000000 --- a/finmall/src/model/QuerySignResultResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -QuerySignResultResult::QuerySignResultResult() : - ServiceResult() -{} - -QuerySignResultResult::QuerySignResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QuerySignResultResult::~QuerySignResultResult() -{} - -void QuerySignResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["Url"].isNull()) - data_.url = dataNode["Url"].asString(); - if(!dataNode["Status"].isNull()) - data_.status = dataNode["Status"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string QuerySignResultResult::getMessage()const -{ - return message_; -} - -QuerySignResultResult::Data QuerySignResultResult::getData()const -{ - return data_; -} - -std::string QuerySignResultResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/QueryTrialRecordsRequest.cc b/finmall/src/model/QueryTrialRecordsRequest.cc deleted file mode 100644 index d018469df..000000000 --- a/finmall/src/model/QueryTrialRecordsRequest.cc +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::QueryTrialRecordsRequest; - -QueryTrialRecordsRequest::QueryTrialRecordsRequest() : - RpcServiceRequest("finmall", "2018-07-23", "QueryTrialRecords") -{} - -QueryTrialRecordsRequest::~QueryTrialRecordsRequest() -{} - -std::string QueryTrialRecordsRequest::getUserId()const -{ - return userId_; -} - -void QueryTrialRecordsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/QueryTrialRecordsResult.cc b/finmall/src/model/QueryTrialRecordsResult.cc deleted file mode 100644 index d7fdc2cbc..000000000 --- a/finmall/src/model/QueryTrialRecordsResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -QueryTrialRecordsResult::QueryTrialRecordsResult() : - ServiceResult() -{} - -QueryTrialRecordsResult::QueryTrialRecordsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTrialRecordsResult::~QueryTrialRecordsResult() -{} - -void QueryTrialRecordsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string QueryTrialRecordsResult::getMessage()const -{ - return message_; -} - -std::string QueryTrialRecordsResult::getData()const -{ - return data_; -} - -std::string QueryTrialRecordsResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/SaveAuthenticationInfoRequest.cc b/finmall/src/model/SaveAuthenticationInfoRequest.cc deleted file mode 100644 index bdc42a26f..000000000 --- a/finmall/src/model/SaveAuthenticationInfoRequest.cc +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::SaveAuthenticationInfoRequest; - -SaveAuthenticationInfoRequest::SaveAuthenticationInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "SaveAuthenticationInfo") -{} - -SaveAuthenticationInfoRequest::~SaveAuthenticationInfoRequest() -{} - -std::string SaveAuthenticationInfoRequest::getIdCardNumber()const -{ - return idCardNumber_; -} - -void SaveAuthenticationInfoRequest::setIdCardNumber(const std::string& idCardNumber) -{ - idCardNumber_ = idCardNumber; - setParameter("IdCardNumber", idCardNumber); -} - -std::string SaveAuthenticationInfoRequest::getAddress()const -{ - return address_; -} - -void SaveAuthenticationInfoRequest::setAddress(const std::string& address) -{ - address_ = address; - setParameter("Address", address); -} - -std::string SaveAuthenticationInfoRequest::getEmployeeEmail()const -{ - return employeeEmail_; -} - -void SaveAuthenticationInfoRequest::setEmployeeEmail(const std::string& employeeEmail) -{ - employeeEmail_ = employeeEmail; - setParameter("EmployeeEmail", employeeEmail); -} - -std::string SaveAuthenticationInfoRequest::getEmployeePhoneNumber()const -{ - return employeePhoneNumber_; -} - -void SaveAuthenticationInfoRequest::setEmployeePhoneNumber(const std::string& employeePhoneNumber) -{ - employeePhoneNumber_ = employeePhoneNumber; - setParameter("EmployeePhoneNumber", employeePhoneNumber); -} - -std::string SaveAuthenticationInfoRequest::getPhoneNumber()const -{ - return phoneNumber_; -} - -void SaveAuthenticationInfoRequest::setPhoneNumber(const std::string& phoneNumber) -{ - phoneNumber_ = phoneNumber; - setParameter("PhoneNumber", phoneNumber); -} - -std::string SaveAuthenticationInfoRequest::getBusinessLicense()const -{ - return businessLicense_; -} - -void SaveAuthenticationInfoRequest::setBusinessLicense(const std::string& businessLicense) -{ - businessLicense_ = businessLicense; - setParameter("BusinessLicense", businessLicense); -} - -std::string SaveAuthenticationInfoRequest::getLegalPersonName()const -{ - return legalPersonName_; -} - -void SaveAuthenticationInfoRequest::setLegalPersonName(const std::string& legalPersonName) -{ - legalPersonName_ = legalPersonName; - setParameter("LegalPersonName", legalPersonName); -} - -std::string SaveAuthenticationInfoRequest::getEnterpriseName()const -{ - return enterpriseName_; -} - -void SaveAuthenticationInfoRequest::setEnterpriseName(const std::string& enterpriseName) -{ - enterpriseName_ = enterpriseName; - setParameter("EnterpriseName", enterpriseName); -} - -std::string SaveAuthenticationInfoRequest::getAuthenticateType()const -{ - return authenticateType_; -} - -void SaveAuthenticationInfoRequest::setAuthenticateType(const std::string& authenticateType) -{ - authenticateType_ = authenticateType; - setParameter("AuthenticateType", authenticateType); -} - -std::string SaveAuthenticationInfoRequest::getUserId()const -{ - return userId_; -} - -void SaveAuthenticationInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -std::string SaveAuthenticationInfoRequest::getZhimaReturnUrl()const -{ - return zhimaReturnUrl_; -} - -void SaveAuthenticationInfoRequest::setZhimaReturnUrl(const std::string& zhimaReturnUrl) -{ - zhimaReturnUrl_ = zhimaReturnUrl; - setParameter("ZhimaReturnUrl", zhimaReturnUrl); -} - -std::string SaveAuthenticationInfoRequest::getBankCard()const -{ - return bankCard_; -} - -void SaveAuthenticationInfoRequest::setBankCard(const std::string& bankCard) -{ - bankCard_ = bankCard; - setParameter("BankCard", bankCard); -} - -std::string SaveAuthenticationInfoRequest::getEmail()const -{ - return email_; -} - -void SaveAuthenticationInfoRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); -} - -std::string SaveAuthenticationInfoRequest::getEmployeeName()const -{ - return employeeName_; -} - -void SaveAuthenticationInfoRequest::setEmployeeName(const std::string& employeeName) -{ - employeeName_ = employeeName; - setParameter("EmployeeName", employeeName); -} - -std::string SaveAuthenticationInfoRequest::getEmployeeIdCardNumber()const -{ - return employeeIdCardNumber_; -} - -void SaveAuthenticationInfoRequest::setEmployeeIdCardNumber(const std::string& employeeIdCardNumber) -{ - employeeIdCardNumber_ = employeeIdCardNumber; - setParameter("EmployeeIdCardNumber", employeeIdCardNumber); -} - diff --git a/finmall/src/model/SaveAuthenticationInfoResult.cc b/finmall/src/model/SaveAuthenticationInfoResult.cc deleted file mode 100644 index f326f8036..000000000 --- a/finmall/src/model/SaveAuthenticationInfoResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -SaveAuthenticationInfoResult::SaveAuthenticationInfoResult() : - ServiceResult() -{} - -SaveAuthenticationInfoResult::SaveAuthenticationInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SaveAuthenticationInfoResult::~SaveAuthenticationInfoResult() -{} - -void SaveAuthenticationInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -std::string SaveAuthenticationInfoResult::getMessage()const -{ - return message_; -} - -bool SaveAuthenticationInfoResult::getData()const -{ - return data_; -} - -std::string SaveAuthenticationInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/SignLoanAgreementRequest.cc b/finmall/src/model/SignLoanAgreementRequest.cc deleted file mode 100644 index a735a6ecf..000000000 --- a/finmall/src/model/SignLoanAgreementRequest.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::SignLoanAgreementRequest; - -SignLoanAgreementRequest::SignLoanAgreementRequest() : - RpcServiceRequest("finmall", "2018-07-23", "SignLoanAgreement") -{} - -SignLoanAgreementRequest::~SignLoanAgreementRequest() -{} - -std::string SignLoanAgreementRequest::getCreditId()const -{ - return creditId_; -} - -void SignLoanAgreementRequest::setCreditId(const std::string& creditId) -{ - creditId_ = creditId; - setParameter("CreditId", creditId); -} - -std::string SignLoanAgreementRequest::getReserved()const -{ - return reserved_; -} - -void SignLoanAgreementRequest::setReserved(const std::string& reserved) -{ - reserved_ = reserved; - setParameter("Reserved", reserved); -} - -std::string SignLoanAgreementRequest::getUserId()const -{ - return userId_; -} - -void SignLoanAgreementRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/SignLoanAgreementResult.cc b/finmall/src/model/SignLoanAgreementResult.cc deleted file mode 100644 index e5b382ab7..000000000 --- a/finmall/src/model/SignLoanAgreementResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -SignLoanAgreementResult::SignLoanAgreementResult() : - ServiceResult() -{} - -SignLoanAgreementResult::SignLoanAgreementResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SignLoanAgreementResult::~SignLoanAgreementResult() -{} - -void SignLoanAgreementResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string SignLoanAgreementResult::getMessage()const -{ - return message_; -} - -SignLoanAgreementResult::Data SignLoanAgreementResult::getData()const -{ - return data_; -} - -std::string SignLoanAgreementResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/SignResultNotifyRequest.cc b/finmall/src/model/SignResultNotifyRequest.cc deleted file mode 100644 index 4928e0e9b..000000000 --- a/finmall/src/model/SignResultNotifyRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::SignResultNotifyRequest; - -SignResultNotifyRequest::SignResultNotifyRequest() : - RpcServiceRequest("finmall", "2018-07-23", "SignResultNotify") -{} - -SignResultNotifyRequest::~SignResultNotifyRequest() -{} - -std::string SignResultNotifyRequest::getDocId()const -{ - return docId_; -} - -void SignResultNotifyRequest::setDocId(const std::string& docId) -{ - docId_ = docId; - setParameter("DocId", docId); -} - -std::string SignResultNotifyRequest::getDocContent()const -{ - return docContent_; -} - -void SignResultNotifyRequest::setDocContent(const std::string& docContent) -{ - docContent_ = docContent; - setParameter("DocContent", docContent); -} - -std::string SignResultNotifyRequest::getSign()const -{ - return sign_; -} - -void SignResultNotifyRequest::setSign(const std::string& sign) -{ - sign_ = sign; - setParameter("Sign", sign); -} - -int SignResultNotifyRequest::getResultCode()const -{ - return resultCode_; -} - -void SignResultNotifyRequest::setResultCode(int resultCode) -{ - resultCode_ = resultCode; - setParameter("ResultCode", std::to_string(resultCode)); -} - -long SignResultNotifyRequest::getTime()const -{ - return time_; -} - -void SignResultNotifyRequest::setTime(long time) -{ - time_ = time; - setParameter("Time", std::to_string(time)); -} - -std::string SignResultNotifyRequest::getTransactionId()const -{ - return transactionId_; -} - -void SignResultNotifyRequest::setTransactionId(const std::string& transactionId) -{ - transactionId_ = transactionId; - setParameter("TransactionId", transactionId); -} - -std::string SignResultNotifyRequest::getResultDesc()const -{ - return resultDesc_; -} - -void SignResultNotifyRequest::setResultDesc(const std::string& resultDesc) -{ - resultDesc_ = resultDesc; - setParameter("ResultDesc", resultDesc); -} - diff --git a/finmall/src/model/SignResultNotifyResult.cc b/finmall/src/model/SignResultNotifyResult.cc deleted file mode 100644 index 13516f606..000000000 --- a/finmall/src/model/SignResultNotifyResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -SignResultNotifyResult::SignResultNotifyResult() : - ServiceResult() -{} - -SignResultNotifyResult::SignResultNotifyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SignResultNotifyResult::~SignResultNotifyResult() -{} - -void SignResultNotifyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string SignResultNotifyResult::getMessage()const -{ - return message_; -} - -std::string SignResultNotifyResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/SignedPageResultRequest.cc b/finmall/src/model/SignedPageResultRequest.cc deleted file mode 100644 index 8d5e3468a..000000000 --- a/finmall/src/model/SignedPageResultRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::SignedPageResultRequest; - -SignedPageResultRequest::SignedPageResultRequest() : - RpcServiceRequest("finmall", "2018-07-23", "SignedPageResult") -{} - -SignedPageResultRequest::~SignedPageResultRequest() -{} - -std::string SignedPageResultRequest::getDownloadUrl()const -{ - return downloadUrl_; -} - -void SignedPageResultRequest::setDownloadUrl(const std::string& downloadUrl) -{ - downloadUrl_ = downloadUrl; - setParameter("DownloadUrl", downloadUrl); -} - -std::string SignedPageResultRequest::getDigest()const -{ - return digest_; -} - -void SignedPageResultRequest::setDigest(const std::string& digest) -{ - digest_ = digest; - setParameter("Digest", digest); -} - -std::string SignedPageResultRequest::getViewUrl()const -{ - return viewUrl_; -} - -void SignedPageResultRequest::setViewUrl(const std::string& viewUrl) -{ - viewUrl_ = viewUrl; - setParameter("ViewUrl", viewUrl); -} - -int SignedPageResultRequest::getResultCode()const -{ - return resultCode_; -} - -void SignedPageResultRequest::setResultCode(int resultCode) -{ - resultCode_ = resultCode; - setParameter("ResultCode", std::to_string(resultCode)); -} - -std::string SignedPageResultRequest::getTransactionId()const -{ - return transactionId_; -} - -void SignedPageResultRequest::setTransactionId(const std::string& transactionId) -{ - transactionId_ = transactionId; - setParameter("TransactionId", transactionId); -} - -std::string SignedPageResultRequest::getResultDesc()const -{ - return resultDesc_; -} - -void SignedPageResultRequest::setResultDesc(const std::string& resultDesc) -{ - resultDesc_ = resultDesc; - setParameter("ResultDesc", resultDesc); -} - -std::string SignedPageResultRequest::getTimestamp()const -{ - return timestamp_; -} - -void SignedPageResultRequest::setTimestamp(const std::string& timestamp) -{ - timestamp_ = timestamp; - setParameter("Timestamp", timestamp); -} - diff --git a/finmall/src/model/SignedPageResultResult.cc b/finmall/src/model/SignedPageResultResult.cc deleted file mode 100644 index 88d8637cd..000000000 --- a/finmall/src/model/SignedPageResultResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -SignedPageResultResult::SignedPageResultResult() : - ServiceResult() -{} - -SignedPageResultResult::SignedPageResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SignedPageResultResult::~SignedPageResultResult() -{} - -void SignedPageResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string SignedPageResultResult::getMessage()const -{ - return message_; -} - -SignedPageResultResult::Data SignedPageResultResult::getData()const -{ - return data_; -} - -std::string SignedPageResultResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/UpdateAuthenticationInfoRequest.cc b/finmall/src/model/UpdateAuthenticationInfoRequest.cc deleted file mode 100644 index 109481704..000000000 --- a/finmall/src/model/UpdateAuthenticationInfoRequest.cc +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::UpdateAuthenticationInfoRequest; - -UpdateAuthenticationInfoRequest::UpdateAuthenticationInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "UpdateAuthenticationInfo") -{} - -UpdateAuthenticationInfoRequest::~UpdateAuthenticationInfoRequest() -{} - -std::string UpdateAuthenticationInfoRequest::getIdCardNumber()const -{ - return idCardNumber_; -} - -void UpdateAuthenticationInfoRequest::setIdCardNumber(const std::string& idCardNumber) -{ - idCardNumber_ = idCardNumber; - setParameter("IdCardNumber", idCardNumber); -} - -std::string UpdateAuthenticationInfoRequest::getAddress()const -{ - return address_; -} - -void UpdateAuthenticationInfoRequest::setAddress(const std::string& address) -{ - address_ = address; - setParameter("Address", address); -} - -std::string UpdateAuthenticationInfoRequest::getEmployeeEmail()const -{ - return employeeEmail_; -} - -void UpdateAuthenticationInfoRequest::setEmployeeEmail(const std::string& employeeEmail) -{ - employeeEmail_ = employeeEmail; - setParameter("EmployeeEmail", employeeEmail); -} - -std::string UpdateAuthenticationInfoRequest::getEmployeePhoneNumber()const -{ - return employeePhoneNumber_; -} - -void UpdateAuthenticationInfoRequest::setEmployeePhoneNumber(const std::string& employeePhoneNumber) -{ - employeePhoneNumber_ = employeePhoneNumber; - setParameter("EmployeePhoneNumber", employeePhoneNumber); -} - -std::string UpdateAuthenticationInfoRequest::getPhoneNumber()const -{ - return phoneNumber_; -} - -void UpdateAuthenticationInfoRequest::setPhoneNumber(const std::string& phoneNumber) -{ - phoneNumber_ = phoneNumber; - setParameter("PhoneNumber", phoneNumber); -} - -std::string UpdateAuthenticationInfoRequest::getBusinessLicense()const -{ - return businessLicense_; -} - -void UpdateAuthenticationInfoRequest::setBusinessLicense(const std::string& businessLicense) -{ - businessLicense_ = businessLicense; - setParameter("BusinessLicense", businessLicense); -} - -std::string UpdateAuthenticationInfoRequest::getLegalPersonName()const -{ - return legalPersonName_; -} - -void UpdateAuthenticationInfoRequest::setLegalPersonName(const std::string& legalPersonName) -{ - legalPersonName_ = legalPersonName; - setParameter("LegalPersonName", legalPersonName); -} - -std::string UpdateAuthenticationInfoRequest::getUserId()const -{ - return userId_; -} - -void UpdateAuthenticationInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -std::string UpdateAuthenticationInfoRequest::getSmsIvToken()const -{ - return smsIvToken_; -} - -void UpdateAuthenticationInfoRequest::setSmsIvToken(const std::string& smsIvToken) -{ - smsIvToken_ = smsIvToken; - setParameter("SmsIvToken", smsIvToken); -} - -std::string UpdateAuthenticationInfoRequest::getBankCard()const -{ - return bankCard_; -} - -void UpdateAuthenticationInfoRequest::setBankCard(const std::string& bankCard) -{ - bankCard_ = bankCard; - setParameter("BankCard", bankCard); -} - -std::string UpdateAuthenticationInfoRequest::getEmail()const -{ - return email_; -} - -void UpdateAuthenticationInfoRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); -} - -std::string UpdateAuthenticationInfoRequest::getEmployeeName()const -{ - return employeeName_; -} - -void UpdateAuthenticationInfoRequest::setEmployeeName(const std::string& employeeName) -{ - employeeName_ = employeeName; - setParameter("EmployeeName", employeeName); -} - -std::string UpdateAuthenticationInfoRequest::getEmployeeIdCardNumber()const -{ - return employeeIdCardNumber_; -} - -void UpdateAuthenticationInfoRequest::setEmployeeIdCardNumber(const std::string& employeeIdCardNumber) -{ - employeeIdCardNumber_ = employeeIdCardNumber; - setParameter("EmployeeIdCardNumber", employeeIdCardNumber); -} - diff --git a/finmall/src/model/UpdateAuthenticationInfoResult.cc b/finmall/src/model/UpdateAuthenticationInfoResult.cc deleted file mode 100644 index 8ec5e5cf8..000000000 --- a/finmall/src/model/UpdateAuthenticationInfoResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -UpdateAuthenticationInfoResult::UpdateAuthenticationInfoResult() : - ServiceResult() -{} - -UpdateAuthenticationInfoResult::UpdateAuthenticationInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateAuthenticationInfoResult::~UpdateAuthenticationInfoResult() -{} - -void UpdateAuthenticationInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -std::string UpdateAuthenticationInfoResult::getMessage()const -{ - return message_; -} - -bool UpdateAuthenticationInfoResult::getData()const -{ - return data_; -} - -std::string UpdateAuthenticationInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/UpdateEnterpriseCustomInfoRequest.cc b/finmall/src/model/UpdateEnterpriseCustomInfoRequest.cc deleted file mode 100644 index f8109cdab..000000000 --- a/finmall/src/model/UpdateEnterpriseCustomInfoRequest.cc +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::UpdateEnterpriseCustomInfoRequest; - -UpdateEnterpriseCustomInfoRequest::UpdateEnterpriseCustomInfoRequest() : - RpcServiceRequest("finmall", "2018-07-23", "UpdateEnterpriseCustomInfo") -{} - -UpdateEnterpriseCustomInfoRequest::~UpdateEnterpriseCustomInfoRequest() -{} - -std::string UpdateEnterpriseCustomInfoRequest::getIdCardNumber()const -{ - return idCardNumber_; -} - -void UpdateEnterpriseCustomInfoRequest::setIdCardNumber(const std::string& idCardNumber) -{ - idCardNumber_ = idCardNumber; - setParameter("IdCardNumber", idCardNumber); -} - -std::string UpdateEnterpriseCustomInfoRequest::getAddress()const -{ - return address_; -} - -void UpdateEnterpriseCustomInfoRequest::setAddress(const std::string& address) -{ - address_ = address; - setParameter("Address", address); -} - -std::string UpdateEnterpriseCustomInfoRequest::getIdCardFrontPage()const -{ - return idCardFrontPage_; -} - -void UpdateEnterpriseCustomInfoRequest::setIdCardFrontPage(const std::string& idCardFrontPage) -{ - idCardFrontPage_ = idCardFrontPage; - setParameter("IdCardFrontPage", idCardFrontPage); -} - -std::string UpdateEnterpriseCustomInfoRequest::getPhoneNumber()const -{ - return phoneNumber_; -} - -void UpdateEnterpriseCustomInfoRequest::setPhoneNumber(const std::string& phoneNumber) -{ - phoneNumber_ = phoneNumber; - setParameter("PhoneNumber", phoneNumber); -} - -std::string UpdateEnterpriseCustomInfoRequest::getBusinessLicense()const -{ - return businessLicense_; -} - -void UpdateEnterpriseCustomInfoRequest::setBusinessLicense(const std::string& businessLicense) -{ - businessLicense_ = businessLicense; - setParameter("BusinessLicense", businessLicense); -} - -std::string UpdateEnterpriseCustomInfoRequest::getIdCardBackPage()const -{ - return idCardBackPage_; -} - -void UpdateEnterpriseCustomInfoRequest::setIdCardBackPage(const std::string& idCardBackPage) -{ - idCardBackPage_ = idCardBackPage; - setParameter("IdCardBackPage", idCardBackPage); -} - -std::string UpdateEnterpriseCustomInfoRequest::getLegalPersonName()const -{ - return legalPersonName_; -} - -void UpdateEnterpriseCustomInfoRequest::setLegalPersonName(const std::string& legalPersonName) -{ - legalPersonName_ = legalPersonName; - setParameter("LegalPersonName", legalPersonName); -} - -std::string UpdateEnterpriseCustomInfoRequest::getEnterpriseName()const -{ - return enterpriseName_; -} - -void UpdateEnterpriseCustomInfoRequest::setEnterpriseName(const std::string& enterpriseName) -{ - enterpriseName_ = enterpriseName; - setParameter("EnterpriseName", enterpriseName); -} - -std::string UpdateEnterpriseCustomInfoRequest::getUserId()const -{ - return userId_; -} - -void UpdateEnterpriseCustomInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -std::string UpdateEnterpriseCustomInfoRequest::getLoanSubject()const -{ - return loanSubject_; -} - -void UpdateEnterpriseCustomInfoRequest::setLoanSubject(const std::string& loanSubject) -{ - loanSubject_ = loanSubject; - setParameter("LoanSubject", loanSubject); -} - -std::string UpdateEnterpriseCustomInfoRequest::getZhimaReturnUrl()const -{ - return zhimaReturnUrl_; -} - -void UpdateEnterpriseCustomInfoRequest::setZhimaReturnUrl(const std::string& zhimaReturnUrl) -{ - zhimaReturnUrl_ = zhimaReturnUrl; - setParameter("ZhimaReturnUrl", zhimaReturnUrl); -} - -std::string UpdateEnterpriseCustomInfoRequest::getSmsIvToken()const -{ - return smsIvToken_; -} - -void UpdateEnterpriseCustomInfoRequest::setSmsIvToken(const std::string& smsIvToken) -{ - smsIvToken_ = smsIvToken; - setParameter("SmsIvToken", smsIvToken); -} - -std::string UpdateEnterpriseCustomInfoRequest::getBankCard()const -{ - return bankCard_; -} - -void UpdateEnterpriseCustomInfoRequest::setBankCard(const std::string& bankCard) -{ - bankCard_ = bankCard; - setParameter("BankCard", bankCard); -} - -std::string UpdateEnterpriseCustomInfoRequest::getEmail()const -{ - return email_; -} - -void UpdateEnterpriseCustomInfoRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); -} - diff --git a/finmall/src/model/UpdateEnterpriseCustomInfoResult.cc b/finmall/src/model/UpdateEnterpriseCustomInfoResult.cc deleted file mode 100644 index cdcc41903..000000000 --- a/finmall/src/model/UpdateEnterpriseCustomInfoResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -UpdateEnterpriseCustomInfoResult::UpdateEnterpriseCustomInfoResult() : - ServiceResult() -{} - -UpdateEnterpriseCustomInfoResult::UpdateEnterpriseCustomInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateEnterpriseCustomInfoResult::~UpdateEnterpriseCustomInfoResult() -{} - -void UpdateEnterpriseCustomInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string UpdateEnterpriseCustomInfoResult::getMessage()const -{ - return message_; -} - -std::string UpdateEnterpriseCustomInfoResult::getData()const -{ - return data_; -} - -std::string UpdateEnterpriseCustomInfoResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/UploadCustomIDImageRequest.cc b/finmall/src/model/UploadCustomIDImageRequest.cc deleted file mode 100644 index 4859e250b..000000000 --- a/finmall/src/model/UploadCustomIDImageRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::UploadCustomIDImageRequest; - -UploadCustomIDImageRequest::UploadCustomIDImageRequest() : - RpcServiceRequest("finmall", "2018-07-23", "UploadCustomIDImage") -{} - -UploadCustomIDImageRequest::~UploadCustomIDImageRequest() -{} - -std::string UploadCustomIDImageRequest::getImageType()const -{ - return imageType_; -} - -void UploadCustomIDImageRequest::setImageType(const std::string& imageType) -{ - imageType_ = imageType; - setParameter("ImageType", imageType); -} - -std::string UploadCustomIDImageRequest::getSide()const -{ - return side_; -} - -void UploadCustomIDImageRequest::setSide(const std::string& side) -{ - side_ = side; - setParameter("Side", side); -} - -std::string UploadCustomIDImageRequest::getImageFile()const -{ - return imageFile_; -} - -void UploadCustomIDImageRequest::setImageFile(const std::string& imageFile) -{ - imageFile_ = imageFile; - setParameter("ImageFile", imageFile); -} - -std::string UploadCustomIDImageRequest::getUserId()const -{ - return userId_; -} - -void UploadCustomIDImageRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/UploadCustomIDImageResult.cc b/finmall/src/model/UploadCustomIDImageResult.cc deleted file mode 100644 index da708c1df..000000000 --- a/finmall/src/model/UploadCustomIDImageResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -UploadCustomIDImageResult::UploadCustomIDImageResult() : - ServiceResult() -{} - -UploadCustomIDImageResult::UploadCustomIDImageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UploadCustomIDImageResult::~UploadCustomIDImageResult() -{} - -void UploadCustomIDImageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!dataNode["Url"].isNull()) - data_.url = dataNode["Url"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string UploadCustomIDImageResult::getMessage()const -{ - return message_; -} - -UploadCustomIDImageResult::Data UploadCustomIDImageResult::getData()const -{ - return data_; -} - -std::string UploadCustomIDImageResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/VerifyCustomerRequest.cc b/finmall/src/model/VerifyCustomerRequest.cc deleted file mode 100644 index bd7e44a4d..000000000 --- a/finmall/src/model/VerifyCustomerRequest.cc +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::VerifyCustomerRequest; - -VerifyCustomerRequest::VerifyCustomerRequest() : - RpcServiceRequest("finmall", "2018-07-23", "VerifyCustomer") -{} - -VerifyCustomerRequest::~VerifyCustomerRequest() -{} - -std::string VerifyCustomerRequest::getIdCardNumber()const -{ - return idCardNumber_; -} - -void VerifyCustomerRequest::setIdCardNumber(const std::string& idCardNumber) -{ - idCardNumber_ = idCardNumber; - setParameter("IdCardNumber", idCardNumber); -} - -std::string VerifyCustomerRequest::getAddress()const -{ - return address_; -} - -void VerifyCustomerRequest::setAddress(const std::string& address) -{ - address_ = address; - setParameter("Address", address); -} - -std::string VerifyCustomerRequest::getIdCardFrontPage()const -{ - return idCardFrontPage_; -} - -void VerifyCustomerRequest::setIdCardFrontPage(const std::string& idCardFrontPage) -{ - idCardFrontPage_ = idCardFrontPage; - setParameter("IdCardFrontPage", idCardFrontPage); -} - -std::string VerifyCustomerRequest::getPhoneNumber()const -{ - return phoneNumber_; -} - -void VerifyCustomerRequest::setPhoneNumber(const std::string& phoneNumber) -{ - phoneNumber_ = phoneNumber; - setParameter("PhoneNumber", phoneNumber); -} - -std::string VerifyCustomerRequest::getBusinessLicense()const -{ - return businessLicense_; -} - -void VerifyCustomerRequest::setBusinessLicense(const std::string& businessLicense) -{ - businessLicense_ = businessLicense; - setParameter("BusinessLicense", businessLicense); -} - -std::string VerifyCustomerRequest::getIdCardBackPage()const -{ - return idCardBackPage_; -} - -void VerifyCustomerRequest::setIdCardBackPage(const std::string& idCardBackPage) -{ - idCardBackPage_ = idCardBackPage; - setParameter("IdCardBackPage", idCardBackPage); -} - -std::string VerifyCustomerRequest::getLegalPersonName()const -{ - return legalPersonName_; -} - -void VerifyCustomerRequest::setLegalPersonName(const std::string& legalPersonName) -{ - legalPersonName_ = legalPersonName; - setParameter("LegalPersonName", legalPersonName); -} - -std::string VerifyCustomerRequest::getEnterpriseName()const -{ - return enterpriseName_; -} - -void VerifyCustomerRequest::setEnterpriseName(const std::string& enterpriseName) -{ - enterpriseName_ = enterpriseName; - setParameter("EnterpriseName", enterpriseName); -} - -std::string VerifyCustomerRequest::getUserId()const -{ - return userId_; -} - -void VerifyCustomerRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -std::string VerifyCustomerRequest::getLoanSubject()const -{ - return loanSubject_; -} - -void VerifyCustomerRequest::setLoanSubject(const std::string& loanSubject) -{ - loanSubject_ = loanSubject; - setParameter("LoanSubject", loanSubject); -} - -std::string VerifyCustomerRequest::getZhimaReturnUrl()const -{ - return zhimaReturnUrl_; -} - -void VerifyCustomerRequest::setZhimaReturnUrl(const std::string& zhimaReturnUrl) -{ - zhimaReturnUrl_ = zhimaReturnUrl; - setParameter("ZhimaReturnUrl", zhimaReturnUrl); -} - -std::string VerifyCustomerRequest::getBankCard()const -{ - return bankCard_; -} - -void VerifyCustomerRequest::setBankCard(const std::string& bankCard) -{ - bankCard_ = bankCard; - setParameter("BankCard", bankCard); -} - -std::string VerifyCustomerRequest::getEmail()const -{ - return email_; -} - -void VerifyCustomerRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); -} - diff --git a/finmall/src/model/VerifyCustomerResult.cc b/finmall/src/model/VerifyCustomerResult.cc deleted file mode 100644 index cf664496f..000000000 --- a/finmall/src/model/VerifyCustomerResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -VerifyCustomerResult::VerifyCustomerResult() : - ServiceResult() -{} - -VerifyCustomerResult::VerifyCustomerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -VerifyCustomerResult::~VerifyCustomerResult() -{} - -void VerifyCustomerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["ReturnCode"].isNull()) - data_.returnCode = dataNode["ReturnCode"].asString(); - if(!dataNode["ZhimaReturnUrl"].isNull()) - data_.zhimaReturnUrl = dataNode["ZhimaReturnUrl"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string VerifyCustomerResult::getMessage()const -{ - return message_; -} - -VerifyCustomerResult::Data VerifyCustomerResult::getData()const -{ - return data_; -} - -std::string VerifyCustomerResult::getCode()const -{ - return code_; -} - diff --git a/finmall/src/model/VerifySMSTokenRequest.cc b/finmall/src/model/VerifySMSTokenRequest.cc deleted file mode 100644 index b62be1769..000000000 --- a/finmall/src/model/VerifySMSTokenRequest.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Finmall::Model::VerifySMSTokenRequest; - -VerifySMSTokenRequest::VerifySMSTokenRequest() : - RpcServiceRequest("finmall", "2018-07-23", "VerifySMSToken") -{} - -VerifySMSTokenRequest::~VerifySMSTokenRequest() -{} - -std::string VerifySMSTokenRequest::getActionType()const -{ - return actionType_; -} - -void VerifySMSTokenRequest::setActionType(const std::string& actionType) -{ - actionType_ = actionType; - setParameter("ActionType", actionType); -} - -std::string VerifySMSTokenRequest::getUserId()const -{ - return userId_; -} - -void VerifySMSTokenRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - diff --git a/finmall/src/model/VerifySMSTokenResult.cc b/finmall/src/model/VerifySMSTokenResult.cc deleted file mode 100644 index ffed37d10..000000000 --- a/finmall/src/model/VerifySMSTokenResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Finmall; -using namespace AlibabaCloud::Finmall::Model; - -VerifySMSTokenResult::VerifySMSTokenResult() : - ServiceResult() -{} - -VerifySMSTokenResult::VerifySMSTokenResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -VerifySMSTokenResult::~VerifySMSTokenResult() -{} - -void VerifySMSTokenResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - -} - -std::string VerifySMSTokenResult::getMessage()const -{ - return message_; -} - -std::string VerifySMSTokenResult::getCode()const -{ - return code_; -} -