zsgf_client 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +430 -0
- data/Rakefile +10 -0
- data/docs/AccessTokenApi.md +307 -0
- data/docs/AccessTokenListResult.md +20 -0
- data/docs/AccessTokenListResultApiResponse.md +22 -0
- data/docs/AccessTokenPostRequest.md +28 -0
- data/docs/AccessTokenPutRequest.md +26 -0
- data/docs/AlipayApi.md +453 -0
- data/docs/AlipayCreateOrderPagePayRequest.md +24 -0
- data/docs/AlipayCreateOrderRequest.md +24 -0
- data/docs/AlipayCreateOrderWapPayRequest.md +24 -0
- data/docs/AlipayTradeQueryResponse.md +154 -0
- data/docs/AlipayTradeQueryResponseApiResponse.md +22 -0
- data/docs/AlipayTradeRefundResponse.md +76 -0
- data/docs/AlipayTradeRefundResponseApiResponse.md +22 -0
- data/docs/App.md +50 -0
- data/docs/AppApi.md +735 -0
- data/docs/AppApiResponse.md +22 -0
- data/docs/AppCheckVersionResult.md +20 -0
- data/docs/AppCheckVersionResultApiResponse.md +22 -0
- data/docs/AppInfoItem.md +32 -0
- data/docs/AppInfoResult.md +20 -0
- data/docs/AppInfoResultApiResponse.md +22 -0
- data/docs/AppListResult.md +20 -0
- data/docs/AppListResultApiResponse.md +22 -0
- data/docs/AppPostResult.md +20 -0
- data/docs/AppPostResultApiResponse.md +22 -0
- data/docs/AppProperty.md +22 -0
- data/docs/AppSetting.md +36 -0
- data/docs/AppSettingApi.md +1495 -0
- data/docs/AppSettingApiResponse.md +22 -0
- data/docs/AppSettingGroupPostResult.md +18 -0
- data/docs/AppSettingGroupPostResultApiResponse.md +22 -0
- data/docs/AppSettingItemPostResult.md +18 -0
- data/docs/AppSettingItemPostResultApiResponse.md +22 -0
- data/docs/AppSettingListApiResponse.md +22 -0
- data/docs/AppSettingProviderPostResult.md +18 -0
- data/docs/AppSettingProviderPostResultApiResponse.md +22 -0
- data/docs/AppSettingSettingPostResult.md +18 -0
- data/docs/AppSettingSettingPostResultApiResponse.md +22 -0
- data/docs/AppUserConsentModel.md +30 -0
- data/docs/AppUserConsentModelListApiResponse.md +22 -0
- data/docs/AppUserListResponse.md +40 -0
- data/docs/AppUserResetPwdRequest.md +24 -0
- data/docs/AuthorizePolicy.md +28 -0
- data/docs/AuthorizePolicyApi.md +377 -0
- data/docs/AuthorizePolicyApiResponse.md +22 -0
- data/docs/AuthorizePolicyListApiResponse.md +22 -0
- data/docs/AuthorizeResult.md +26 -0
- data/docs/AuthorizeResultApiResponse.md +22 -0
- data/docs/BkAgentRespInfo.md +26 -0
- data/docs/BooleanApiResponse.md +22 -0
- data/docs/ChargeInfo.md +30 -0
- data/docs/CommonFriendModel.md +22 -0
- data/docs/ContributeDetail.md +20 -0
- data/docs/CreateOrderRequest.md +24 -0
- data/docs/CreateOrderResult.md +20 -0
- data/docs/CreateOrderResultApiResponse.md +22 -0
- data/docs/CreatePostResult.md +18 -0
- data/docs/CreatePostResultApiResponse.md +22 -0
- data/docs/Currency.md +48 -0
- data/docs/CurrencyApi.md +677 -0
- data/docs/CurrencyApiResponse.md +22 -0
- data/docs/CurrencyConsumeRequest.md +26 -0
- data/docs/CurrencyExchangeRate.md +30 -0
- data/docs/CurrencyExchangeRateApiResponse.md +22 -0
- data/docs/CurrencyListApiResponse.md +22 -0
- data/docs/CurrencyTransaction.md +40 -0
- data/docs/CurrencyTransactionListApiResponse.md +22 -0
- data/docs/DingTalkApi.md +81 -0
- data/docs/DirectoryItem.md +24 -0
- data/docs/EmailSignInRequest.md +22 -0
- data/docs/EmailSignUpRequest.md +32 -0
- data/docs/EnterprisePayInfo.md +22 -0
- data/docs/ExchangeCurrencyRequest.md +28 -0
- data/docs/ExchangeRatePutRequest.md +22 -0
- data/docs/ExecuteFunctionRequest.md +18 -0
- data/docs/FileApi.md +385 -0
- data/docs/FileItem.md +24 -0
- data/docs/FileListResult.md +26 -0
- data/docs/FileListResultApiResponse.md +22 -0
- data/docs/FollowerModel.md +40 -0
- data/docs/FollowerPutModel.md +28 -0
- data/docs/FulfillmentDetail.md +22 -0
- data/docs/GeoLocationModel.md +58 -0
- data/docs/GeoLocationModelApiResponse.md +22 -0
- data/docs/GeoLocationResponseModel.md +60 -0
- data/docs/GoodsDetail.md +38 -0
- data/docs/GrantRequest.md +32 -0
- data/docs/GrantResult.md +24 -0
- data/docs/GrantResultApiResponse.md +22 -0
- data/docs/HbFqPayInfo.md +20 -0
- data/docs/Int64ApiResponse.md +22 -0
- data/docs/IntactChargeInfo.md +40 -0
- data/docs/ListResponseItem.md +36 -0
- data/docs/ListResponseItemListApiResponse.md +22 -0
- data/docs/OAuthAccountBindRequest.md +26 -0
- data/docs/OAuthAccountPutBindRequest.md +22 -0
- data/docs/OAuthAccountSignInRequest.md +22 -0
- data/docs/OAuthApi.md +361 -0
- data/docs/ObjectApiResponse.md +22 -0
- data/docs/ObjectListApiResponse.md +22 -0
- data/docs/Order.md +54 -0
- data/docs/OrderApi.md +243 -0
- data/docs/OrderApiResponse.md +22 -0
- data/docs/OrderListResult.md +20 -0
- data/docs/OrderListResultApiResponse.md +22 -0
- data/docs/PaymentInfoWithId.md +20 -0
- data/docs/PhoneSignInRequest.md +22 -0
- data/docs/PhoneSignUpRequest.md +32 -0
- data/docs/PostIndexRequest.md +20 -0
- data/docs/PostResult.md +18 -0
- data/docs/PostResultApiResponse.md +22 -0
- data/docs/PresetPayToolInfo.md +20 -0
- data/docs/ProfileResult.md +44 -0
- data/docs/ProfileResultApiResponse.md +22 -0
- data/docs/Project.md +34 -0
- data/docs/ProjectApi.md +367 -0
- data/docs/ProjectApiResponse.md +22 -0
- data/docs/ProjectListResult.md +20 -0
- data/docs/ProjectListResultApiResponse.md +22 -0
- data/docs/QRCodePreSignInRequest.md +22 -0
- data/docs/QRCodeScanRequest.md +18 -0
- data/docs/QRCodeSignInRequest.md +18 -0
- data/docs/QRCodeSignUpRequest.md +34 -0
- data/docs/RechargePointRequest.md +26 -0
- data/docs/RecommendFriend.md +36 -0
- data/docs/RefundChargeInfo.md +24 -0
- data/docs/RefundSubFee.md +20 -0
- data/docs/ReturnPageNotifyRequest.md +40 -0
- data/docs/SendEmailCodeRequest.md +20 -0
- data/docs/SendSMSCodeRequest.md +20 -0
- data/docs/ServiceGroup.md +36 -0
- data/docs/ServiceGroupApiResponse.md +22 -0
- data/docs/ServiceGroupListApiResponse.md +22 -0
- data/docs/ServiceItem.md +48 -0
- data/docs/ServiceItemApiResponse.md +22 -0
- data/docs/ServiceItemListApiResponse.md +22 -0
- data/docs/ServiceProvider.md +38 -0
- data/docs/ServiceProviderApiResponse.md +22 -0
- data/docs/ServiceProviderListApiResponse.md +22 -0
- data/docs/ServiceSettingApi.md +1459 -0
- data/docs/ServiceSettingGroupPostResult.md +18 -0
- data/docs/ServiceSettingGroupPostResultApiResponse.md +22 -0
- data/docs/ServiceSettingItemPostResult.md +18 -0
- data/docs/ServiceSettingItemPostResultApiResponse.md +22 -0
- data/docs/ServiceSettingProviderPostResult.md +18 -0
- data/docs/ServiceSettingProviderPostResultApiResponse.md +22 -0
- data/docs/ServiceSettingSettingPostResult.md +18 -0
- data/docs/ServiceSettingSettingPostResultApiResponse.md +22 -0
- data/docs/Settings.md +40 -0
- data/docs/SettingsApiResponse.md +22 -0
- data/docs/SettingsListApiResponse.md +22 -0
- data/docs/SetupCode.md +22 -0
- data/docs/SetupCodeApiResponse.md +22 -0
- data/docs/SignInRequest.md +22 -0
- data/docs/SignUpRequest.md +34 -0
- data/docs/StorageApi.md +1229 -0
- data/docs/StorageListResult.md +26 -0
- data/docs/StorageListResultApiResponse.md +22 -0
- data/docs/StringApiResponse.md +22 -0
- data/docs/StringListApiResponse.md +22 -0
- data/docs/SubFee.md +22 -0
- data/docs/SystemDirectoryItem.md +24 -0
- data/docs/SystemFileApi.md +371 -0
- data/docs/SystemFileItem.md +24 -0
- data/docs/SystemFileListResult.md +22 -0
- data/docs/SystemFileListResultApiResponse.md +22 -0
- data/docs/TapPayInfo.md +18 -0
- data/docs/Team.md +36 -0
- data/docs/TeamApi.md +297 -0
- data/docs/TokenModel.md +22 -0
- data/docs/TokenModelApiResponse.md +22 -0
- data/docs/TradeFundBill.md +26 -0
- data/docs/TradeSettleDetail.md +32 -0
- data/docs/TradeSettleInfo.md +20 -0
- data/docs/UnionIDSignInRequest.md +22 -0
- data/docs/UnionIDSignUpRequest.md +38 -0
- data/docs/UpdateProfileRequest.md +50 -0
- data/docs/User.md +90 -0
- data/docs/UserAccessToken.md +38 -0
- data/docs/UserApi.md +3303 -0
- data/docs/UserApiResponse.md +22 -0
- data/docs/UserCommonInterestsResult.md +20 -0
- data/docs/UserCommonInterestsResultApiResponse.md +22 -0
- data/docs/UserCurrency.md +24 -0
- data/docs/UserCurrencyApi.md +403 -0
- data/docs/UserCurrencyCurrencyTransResult.md +20 -0
- data/docs/UserCurrencyCurrencyTransResultApiResponse.md +22 -0
- data/docs/UserCurrencyListApiResponse.md +22 -0
- data/docs/UserFollowersResult.md +20 -0
- data/docs/UserFollowersResultApiResponse.md +22 -0
- data/docs/UserFollowingResult.md +20 -0
- data/docs/UserFollowingResultApiResponse.md +22 -0
- data/docs/UserFriendsNearByResult.md +20 -0
- data/docs/UserFriendsNearByResultApiResponse.md +22 -0
- data/docs/UserListResult.md +20 -0
- data/docs/UserListResultApiResponse.md +22 -0
- data/docs/UserLocationPostResult.md +18 -0
- data/docs/UserLocationPostResultApiResponse.md +22 -0
- data/docs/UserLocationsResult.md +20 -0
- data/docs/UserLocationsResultApiResponse.md +22 -0
- data/docs/UserLogins.md +36 -0
- data/docs/UserLoginsListApiResponse.md +22 -0
- data/docs/UserMutualFollowersResult.md +20 -0
- data/docs/UserMutualFollowersResultApiResponse.md +22 -0
- data/docs/UserMutualFollowingsResult.md +20 -0
- data/docs/UserMutualFollowingsResultApiResponse.md +22 -0
- data/docs/UserProfileResult.md +48 -0
- data/docs/UserProfileResultApiResponse.md +22 -0
- data/docs/UserQRCodeScanResult.md +34 -0
- data/docs/UserQRCodeScanResultApiResponse.md +22 -0
- data/docs/UserSetting.md +38 -0
- data/docs/UserSettingApi.md +379 -0
- data/docs/UserSettingApiResponse.md +22 -0
- data/docs/UserSettingListApiResponse.md +22 -0
- data/docs/UserSettingPostResult.md +18 -0
- data/docs/UserSettingPostResultApiResponse.md +22 -0
- data/docs/VoucherDetail.md +40 -0
- data/docs/WechatApi.md +751 -0
- data/docs/WechatJSConfigResult.md +26 -0
- data/docs/WechatJSConfigResultApiResponse.md +22 -0
- data/lib/zsgf_client/api/access_token_api.rb +309 -0
- data/lib/zsgf_client/api/alipay_api.rb +437 -0
- data/lib/zsgf_client/api/app_api.rb +675 -0
- data/lib/zsgf_client/api/app_setting_api.rb +1446 -0
- data/lib/zsgf_client/api/authorize_policy_api.rb +375 -0
- data/lib/zsgf_client/api/currency_api.rb +667 -0
- data/lib/zsgf_client/api/ding_talk_api.rb +88 -0
- data/lib/zsgf_client/api/file_api.rb +369 -0
- data/lib/zsgf_client/api/o_auth_api.rb +349 -0
- data/lib/zsgf_client/api/order_api.rb +251 -0
- data/lib/zsgf_client/api/project_api.rb +345 -0
- data/lib/zsgf_client/api/service_setting_api.rb +1340 -0
- data/lib/zsgf_client/api/storage_api.rb +1311 -0
- data/lib/zsgf_client/api/system_file_api.rb +333 -0
- data/lib/zsgf_client/api/team_api.rb +282 -0
- data/lib/zsgf_client/api/user_api.rb +3164 -0
- data/lib/zsgf_client/api/user_currency_api.rb +445 -0
- data/lib/zsgf_client/api/user_setting_api.rb +378 -0
- data/lib/zsgf_client/api/wechat_api.rb +712 -0
- data/lib/zsgf_client/api_client.rb +393 -0
- data/lib/zsgf_client/api_error.rb +58 -0
- data/lib/zsgf_client/configuration.rb +312 -0
- data/lib/zsgf_client/models/access_token_list_result.rb +232 -0
- data/lib/zsgf_client/models/access_token_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/access_token_post_request.rb +322 -0
- data/lib/zsgf_client/models/access_token_put_request.rb +299 -0
- data/lib/zsgf_client/models/alipay_create_order_page_pay_request.rb +330 -0
- data/lib/zsgf_client/models/alipay_create_order_request.rb +330 -0
- data/lib/zsgf_client/models/alipay_create_order_wap_pay_request.rb +330 -0
- data/lib/zsgf_client/models/alipay_trade_query_response.rb +909 -0
- data/lib/zsgf_client/models/alipay_trade_query_response_api_response.rb +245 -0
- data/lib/zsgf_client/models/alipay_trade_refund_response.rb +515 -0
- data/lib/zsgf_client/models/alipay_trade_refund_response_api_response.rb +245 -0
- data/lib/zsgf_client/models/app.rb +583 -0
- data/lib/zsgf_client/models/app_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_check_version_result.rb +235 -0
- data/lib/zsgf_client/models/app_check_version_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_info_item.rb +289 -0
- data/lib/zsgf_client/models/app_info_result.rb +232 -0
- data/lib/zsgf_client/models/app_info_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_list_result.rb +232 -0
- data/lib/zsgf_client/models/app_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_post_result.rb +230 -0
- data/lib/zsgf_client/models/app_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_property.rb +241 -0
- data/lib/zsgf_client/models/app_setting.rb +437 -0
- data/lib/zsgf_client/models/app_setting_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_setting_group_post_result.rb +220 -0
- data/lib/zsgf_client/models/app_setting_group_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_setting_item_post_result.rb +220 -0
- data/lib/zsgf_client/models/app_setting_item_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_setting_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/app_setting_provider_post_result.rb +220 -0
- data/lib/zsgf_client/models/app_setting_provider_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_setting_setting_post_result.rb +220 -0
- data/lib/zsgf_client/models/app_setting_setting_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/app_user_consent_model.rb +278 -0
- data/lib/zsgf_client/models/app_user_consent_model_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/app_user_list_response.rb +327 -0
- data/lib/zsgf_client/models/app_user_reset_pwd_request.rb +323 -0
- data/lib/zsgf_client/models/authorize_policy.rb +290 -0
- data/lib/zsgf_client/models/authorize_policy_api_response.rb +245 -0
- data/lib/zsgf_client/models/authorize_policy_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/authorize_result.rb +259 -0
- data/lib/zsgf_client/models/authorize_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/bk_agent_resp_info.rb +261 -0
- data/lib/zsgf_client/models/boolean_api_response.rb +246 -0
- data/lib/zsgf_client/models/charge_info.rb +283 -0
- data/lib/zsgf_client/models/common_friend_model.rb +240 -0
- data/lib/zsgf_client/models/contribute_detail.rb +231 -0
- data/lib/zsgf_client/models/create_order_request.rb +351 -0
- data/lib/zsgf_client/models/create_order_result.rb +230 -0
- data/lib/zsgf_client/models/create_order_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/create_post_result.rb +220 -0
- data/lib/zsgf_client/models/create_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/currency.rb +484 -0
- data/lib/zsgf_client/models/currency_api_response.rb +245 -0
- data/lib/zsgf_client/models/currency_consume_request.rb +307 -0
- data/lib/zsgf_client/models/currency_exchange_rate.rb +330 -0
- data/lib/zsgf_client/models/currency_exchange_rate_api_response.rb +245 -0
- data/lib/zsgf_client/models/currency_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/currency_transaction.rb +413 -0
- data/lib/zsgf_client/models/currency_transaction_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/directory_item.rb +249 -0
- data/lib/zsgf_client/models/email_sign_in_request.rb +303 -0
- data/lib/zsgf_client/models/email_sign_up_request.rb +452 -0
- data/lib/zsgf_client/models/enterprise_pay_info.rb +240 -0
- data/lib/zsgf_client/models/exchange_currency_request.rb +343 -0
- data/lib/zsgf_client/models/exchange_rate_put_request.rb +240 -0
- data/lib/zsgf_client/models/execute_function_request.rb +222 -0
- data/lib/zsgf_client/models/file_item.rb +249 -0
- data/lib/zsgf_client/models/file_list_result.rb +262 -0
- data/lib/zsgf_client/models/file_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/follower_model.rb +325 -0
- data/lib/zsgf_client/models/follower_put_model.rb +269 -0
- data/lib/zsgf_client/models/fulfillment_detail.rb +241 -0
- data/lib/zsgf_client/models/geo_location_model.rb +436 -0
- data/lib/zsgf_client/models/geo_location_model_api_response.rb +245 -0
- data/lib/zsgf_client/models/geo_location_response_model.rb +446 -0
- data/lib/zsgf_client/models/goods_detail.rb +320 -0
- data/lib/zsgf_client/models/grant_request.rb +387 -0
- data/lib/zsgf_client/models/grant_result.rb +249 -0
- data/lib/zsgf_client/models/grant_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/hb_fq_pay_info.rb +231 -0
- data/lib/zsgf_client/models/int64_api_response.rb +246 -0
- data/lib/zsgf_client/models/intact_charge_info.rb +330 -0
- data/lib/zsgf_client/models/list_response_item.rb +308 -0
- data/lib/zsgf_client/models/list_response_item_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/o_auth_account_bind_request.rb +336 -0
- data/lib/zsgf_client/models/o_auth_account_put_bind_request.rb +243 -0
- data/lib/zsgf_client/models/o_auth_account_sign_in_request.rb +292 -0
- data/lib/zsgf_client/models/object_api_response.rb +247 -0
- data/lib/zsgf_client/models/object_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/order.rb +547 -0
- data/lib/zsgf_client/models/order_api_response.rb +245 -0
- data/lib/zsgf_client/models/order_list_result.rb +232 -0
- data/lib/zsgf_client/models/order_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/payment_info_with_id.rb +233 -0
- data/lib/zsgf_client/models/phone_sign_in_request.rb +292 -0
- data/lib/zsgf_client/models/phone_sign_up_request.rb +471 -0
- data/lib/zsgf_client/models/post_index_request.rb +251 -0
- data/lib/zsgf_client/models/post_result.rb +220 -0
- data/lib/zsgf_client/models/post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/preset_pay_tool_info.rb +233 -0
- data/lib/zsgf_client/models/profile_result.rb +346 -0
- data/lib/zsgf_client/models/profile_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/project.rb +353 -0
- data/lib/zsgf_client/models/project_api_response.rb +245 -0
- data/lib/zsgf_client/models/project_list_result.rb +232 -0
- data/lib/zsgf_client/models/project_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/qr_code_pre_sign_in_request.rb +241 -0
- data/lib/zsgf_client/models/qr_code_scan_request.rb +237 -0
- data/lib/zsgf_client/models/qr_code_sign_in_request.rb +237 -0
- data/lib/zsgf_client/models/qr_code_sign_up_request.rb +454 -0
- data/lib/zsgf_client/models/recharge_point_request.rb +307 -0
- data/lib/zsgf_client/models/recommend_friend.rb +306 -0
- data/lib/zsgf_client/models/refund_charge_info.rb +253 -0
- data/lib/zsgf_client/models/refund_sub_fee.rb +231 -0
- data/lib/zsgf_client/models/return_page_notify_request.rb +344 -0
- data/lib/zsgf_client/models/send_email_code_request.rb +282 -0
- data/lib/zsgf_client/models/send_sms_code_request.rb +283 -0
- data/lib/zsgf_client/models/service_group.rb +361 -0
- data/lib/zsgf_client/models/service_group_api_response.rb +245 -0
- data/lib/zsgf_client/models/service_group_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/service_item.rb +502 -0
- data/lib/zsgf_client/models/service_item_api_response.rb +245 -0
- data/lib/zsgf_client/models/service_item_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/service_provider.rb +403 -0
- data/lib/zsgf_client/models/service_provider_api_response.rb +245 -0
- data/lib/zsgf_client/models/service_provider_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/service_setting_group_post_result.rb +220 -0
- data/lib/zsgf_client/models/service_setting_group_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/service_setting_item_post_result.rb +220 -0
- data/lib/zsgf_client/models/service_setting_item_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/service_setting_provider_post_result.rb +220 -0
- data/lib/zsgf_client/models/service_setting_provider_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/service_setting_setting_post_result.rb +220 -0
- data/lib/zsgf_client/models/service_setting_setting_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/settings.rb +445 -0
- data/lib/zsgf_client/models/settings_api_response.rb +245 -0
- data/lib/zsgf_client/models/settings_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/setup_code.rb +241 -0
- data/lib/zsgf_client/models/setup_code_api_response.rb +245 -0
- data/lib/zsgf_client/models/sign_in_request.rb +292 -0
- data/lib/zsgf_client/models/sign_up_request.rb +482 -0
- data/lib/zsgf_client/models/storage_list_result.rb +258 -0
- data/lib/zsgf_client/models/storage_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/string_api_response.rb +247 -0
- data/lib/zsgf_client/models/string_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/sub_fee.rb +241 -0
- data/lib/zsgf_client/models/system_directory_item.rb +249 -0
- data/lib/zsgf_client/models/system_file_item.rb +249 -0
- data/lib/zsgf_client/models/system_file_list_result.rb +244 -0
- data/lib/zsgf_client/models/system_file_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/tap_pay_info.rb +221 -0
- data/lib/zsgf_client/models/team.rb +376 -0
- data/lib/zsgf_client/models/token_model.rb +240 -0
- data/lib/zsgf_client/models/token_model_api_response.rb +245 -0
- data/lib/zsgf_client/models/trade_fund_bill.rb +261 -0
- data/lib/zsgf_client/models/trade_settle_detail.rb +291 -0
- data/lib/zsgf_client/models/trade_settle_info.rb +233 -0
- data/lib/zsgf_client/models/union_id_sign_in_request.rb +292 -0
- data/lib/zsgf_client/models/union_id_sign_up_request.rb +549 -0
- data/lib/zsgf_client/models/update_profile_request.rb +608 -0
- data/lib/zsgf_client/models/user.rb +906 -0
- data/lib/zsgf_client/models/user_access_token.rb +357 -0
- data/lib/zsgf_client/models/user_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_common_interests_result.rb +232 -0
- data/lib/zsgf_client/models/user_common_interests_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_currency.rb +268 -0
- data/lib/zsgf_client/models/user_currency_currency_trans_result.rb +232 -0
- data/lib/zsgf_client/models/user_currency_currency_trans_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_currency_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/user_followers_result.rb +232 -0
- data/lib/zsgf_client/models/user_followers_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_following_result.rb +232 -0
- data/lib/zsgf_client/models/user_following_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_friends_near_by_result.rb +232 -0
- data/lib/zsgf_client/models/user_friends_near_by_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_list_result.rb +232 -0
- data/lib/zsgf_client/models/user_list_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_location_post_result.rb +220 -0
- data/lib/zsgf_client/models/user_location_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_locations_result.rb +232 -0
- data/lib/zsgf_client/models/user_locations_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_logins.rb +377 -0
- data/lib/zsgf_client/models/user_logins_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/user_mutual_followers_result.rb +232 -0
- data/lib/zsgf_client/models/user_mutual_followers_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_mutual_followings_result.rb +232 -0
- data/lib/zsgf_client/models/user_mutual_followings_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_profile_result.rb +368 -0
- data/lib/zsgf_client/models/user_profile_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_qr_code_scan_result.rb +300 -0
- data/lib/zsgf_client/models/user_qr_code_scan_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_setting.rb +464 -0
- data/lib/zsgf_client/models/user_setting_api_response.rb +245 -0
- data/lib/zsgf_client/models/user_setting_list_api_response.rb +249 -0
- data/lib/zsgf_client/models/user_setting_post_result.rb +220 -0
- data/lib/zsgf_client/models/user_setting_post_result_api_response.rb +245 -0
- data/lib/zsgf_client/models/voucher_detail.rb +333 -0
- data/lib/zsgf_client/models/wechat_js_config_result.rb +263 -0
- data/lib/zsgf_client/models/wechat_js_config_result_api_response.rb +245 -0
- data/lib/zsgf_client/version.rb +15 -0
- data/lib/zsgf_client.rb +259 -0
- data/spec/api/access_token_api_spec.rb +90 -0
- data/spec/api/alipay_api_spec.rb +114 -0
- data/spec/api/app_api_spec.rb +162 -0
- data/spec/api/app_setting_api_spec.rb +307 -0
- data/spec/api/authorize_policy_api_spec.rb +102 -0
- data/spec/api/currency_api_spec.rb +159 -0
- data/spec/api/ding_talk_api_spec.rb +48 -0
- data/spec/api/file_api_spec.rb +104 -0
- data/spec/api/o_auth_api_spec.rb +95 -0
- data/spec/api/order_api_spec.rb +82 -0
- data/spec/api/project_api_spec.rb +97 -0
- data/spec/api/service_setting_api_spec.rb +289 -0
- data/spec/api/storage_api_spec.rb +268 -0
- data/spec/api/system_file_api_spec.rb +97 -0
- data/spec/api/team_api_spec.rb +85 -0
- data/spec/api/user_api_spec.rb +639 -0
- data/spec/api/user_currency_api_spec.rb +114 -0
- data/spec/api/user_setting_api_spec.rb +103 -0
- data/spec/api/wechat_api_spec.rb +167 -0
- data/spec/models/access_token_list_result_api_response_spec.rb +48 -0
- data/spec/models/access_token_list_result_spec.rb +42 -0
- data/spec/models/access_token_post_request_spec.rb +66 -0
- data/spec/models/access_token_put_request_spec.rb +60 -0
- data/spec/models/alipay_create_order_page_pay_request_spec.rb +54 -0
- data/spec/models/alipay_create_order_request_spec.rb +54 -0
- data/spec/models/alipay_create_order_wap_pay_request_spec.rb +54 -0
- data/spec/models/alipay_trade_query_response_api_response_spec.rb +48 -0
- data/spec/models/alipay_trade_query_response_spec.rb +444 -0
- data/spec/models/alipay_trade_refund_response_api_response_spec.rb +48 -0
- data/spec/models/alipay_trade_refund_response_spec.rb +210 -0
- data/spec/models/app_api_response_spec.rb +48 -0
- data/spec/models/app_check_version_result_api_response_spec.rb +48 -0
- data/spec/models/app_check_version_result_spec.rb +42 -0
- data/spec/models/app_info_item_spec.rb +78 -0
- data/spec/models/app_info_result_api_response_spec.rb +48 -0
- data/spec/models/app_info_result_spec.rb +42 -0
- data/spec/models/app_list_result_api_response_spec.rb +48 -0
- data/spec/models/app_list_result_spec.rb +42 -0
- data/spec/models/app_post_result_api_response_spec.rb +48 -0
- data/spec/models/app_post_result_spec.rb +42 -0
- data/spec/models/app_property_spec.rb +48 -0
- data/spec/models/app_setting_api_response_spec.rb +48 -0
- data/spec/models/app_setting_group_post_result_api_response_spec.rb +48 -0
- data/spec/models/app_setting_group_post_result_spec.rb +36 -0
- data/spec/models/app_setting_item_post_result_api_response_spec.rb +48 -0
- data/spec/models/app_setting_item_post_result_spec.rb +36 -0
- data/spec/models/app_setting_list_api_response_spec.rb +48 -0
- data/spec/models/app_setting_provider_post_result_api_response_spec.rb +48 -0
- data/spec/models/app_setting_provider_post_result_spec.rb +36 -0
- data/spec/models/app_setting_setting_post_result_api_response_spec.rb +48 -0
- data/spec/models/app_setting_setting_post_result_spec.rb +36 -0
- data/spec/models/app_setting_spec.rb +90 -0
- data/spec/models/app_spec.rb +132 -0
- data/spec/models/app_user_consent_model_list_api_response_spec.rb +48 -0
- data/spec/models/app_user_consent_model_spec.rb +72 -0
- data/spec/models/app_user_list_response_spec.rb +102 -0
- data/spec/models/app_user_reset_pwd_request_spec.rb +54 -0
- data/spec/models/authorize_policy_api_response_spec.rb +48 -0
- data/spec/models/authorize_policy_list_api_response_spec.rb +48 -0
- data/spec/models/authorize_policy_spec.rb +66 -0
- data/spec/models/authorize_result_api_response_spec.rb +48 -0
- data/spec/models/authorize_result_spec.rb +60 -0
- data/spec/models/bk_agent_resp_info_spec.rb +60 -0
- data/spec/models/boolean_api_response_spec.rb +48 -0
- data/spec/models/charge_info_spec.rb +72 -0
- data/spec/models/common_friend_model_spec.rb +48 -0
- data/spec/models/contribute_detail_spec.rb +42 -0
- data/spec/models/create_order_request_spec.rb +54 -0
- data/spec/models/create_order_result_api_response_spec.rb +48 -0
- data/spec/models/create_order_result_spec.rb +42 -0
- data/spec/models/create_post_result_api_response_spec.rb +48 -0
- data/spec/models/create_post_result_spec.rb +36 -0
- data/spec/models/currency_api_response_spec.rb +48 -0
- data/spec/models/currency_consume_request_spec.rb +60 -0
- data/spec/models/currency_exchange_rate_api_response_spec.rb +48 -0
- data/spec/models/currency_exchange_rate_spec.rb +72 -0
- data/spec/models/currency_list_api_response_spec.rb +48 -0
- data/spec/models/currency_spec.rb +126 -0
- data/spec/models/currency_transaction_list_api_response_spec.rb +48 -0
- data/spec/models/currency_transaction_spec.rb +102 -0
- data/spec/models/directory_item_spec.rb +54 -0
- data/spec/models/email_sign_in_request_spec.rb +48 -0
- data/spec/models/email_sign_up_request_spec.rb +78 -0
- data/spec/models/enterprise_pay_info_spec.rb +48 -0
- data/spec/models/exchange_currency_request_spec.rb +66 -0
- data/spec/models/exchange_rate_put_request_spec.rb +48 -0
- data/spec/models/execute_function_request_spec.rb +36 -0
- data/spec/models/file_item_spec.rb +54 -0
- data/spec/models/file_list_result_api_response_spec.rb +48 -0
- data/spec/models/file_list_result_spec.rb +60 -0
- data/spec/models/follower_model_spec.rb +102 -0
- data/spec/models/follower_put_model_spec.rb +66 -0
- data/spec/models/fulfillment_detail_spec.rb +48 -0
- data/spec/models/geo_location_model_api_response_spec.rb +48 -0
- data/spec/models/geo_location_model_spec.rb +156 -0
- data/spec/models/geo_location_response_model_spec.rb +162 -0
- data/spec/models/goods_detail_spec.rb +96 -0
- data/spec/models/grant_request_spec.rb +78 -0
- data/spec/models/grant_result_api_response_spec.rb +48 -0
- data/spec/models/grant_result_spec.rb +54 -0
- data/spec/models/hb_fq_pay_info_spec.rb +42 -0
- data/spec/models/int64_api_response_spec.rb +48 -0
- data/spec/models/intact_charge_info_spec.rb +102 -0
- data/spec/models/list_response_item_list_api_response_spec.rb +48 -0
- data/spec/models/list_response_item_spec.rb +90 -0
- data/spec/models/o_auth_account_bind_request_spec.rb +60 -0
- data/spec/models/o_auth_account_put_bind_request_spec.rb +48 -0
- data/spec/models/o_auth_account_sign_in_request_spec.rb +48 -0
- data/spec/models/object_api_response_spec.rb +48 -0
- data/spec/models/object_list_api_response_spec.rb +48 -0
- data/spec/models/order_api_response_spec.rb +48 -0
- data/spec/models/order_list_result_api_response_spec.rb +48 -0
- data/spec/models/order_list_result_spec.rb +42 -0
- data/spec/models/order_spec.rb +144 -0
- data/spec/models/payment_info_with_id_spec.rb +42 -0
- data/spec/models/phone_sign_in_request_spec.rb +48 -0
- data/spec/models/phone_sign_up_request_spec.rb +78 -0
- data/spec/models/post_index_request_spec.rb +42 -0
- data/spec/models/post_result_api_response_spec.rb +48 -0
- data/spec/models/post_result_spec.rb +36 -0
- data/spec/models/preset_pay_tool_info_spec.rb +42 -0
- data/spec/models/profile_result_api_response_spec.rb +48 -0
- data/spec/models/profile_result_spec.rb +114 -0
- data/spec/models/project_api_response_spec.rb +48 -0
- data/spec/models/project_list_result_api_response_spec.rb +48 -0
- data/spec/models/project_list_result_spec.rb +42 -0
- data/spec/models/project_spec.rb +84 -0
- data/spec/models/qr_code_pre_sign_in_request_spec.rb +48 -0
- data/spec/models/qr_code_scan_request_spec.rb +36 -0
- data/spec/models/qr_code_sign_in_request_spec.rb +36 -0
- data/spec/models/qr_code_sign_up_request_spec.rb +84 -0
- data/spec/models/recharge_point_request_spec.rb +60 -0
- data/spec/models/recommend_friend_spec.rb +90 -0
- data/spec/models/refund_charge_info_spec.rb +54 -0
- data/spec/models/refund_sub_fee_spec.rb +42 -0
- data/spec/models/return_page_notify_request_spec.rb +102 -0
- data/spec/models/send_email_code_request_spec.rb +42 -0
- data/spec/models/send_sms_code_request_spec.rb +42 -0
- data/spec/models/service_group_api_response_spec.rb +48 -0
- data/spec/models/service_group_list_api_response_spec.rb +48 -0
- data/spec/models/service_group_spec.rb +90 -0
- data/spec/models/service_item_api_response_spec.rb +48 -0
- data/spec/models/service_item_list_api_response_spec.rb +48 -0
- data/spec/models/service_item_spec.rb +126 -0
- data/spec/models/service_provider_api_response_spec.rb +48 -0
- data/spec/models/service_provider_list_api_response_spec.rb +48 -0
- data/spec/models/service_provider_spec.rb +96 -0
- data/spec/models/service_setting_group_post_result_api_response_spec.rb +48 -0
- data/spec/models/service_setting_group_post_result_spec.rb +36 -0
- data/spec/models/service_setting_item_post_result_api_response_spec.rb +48 -0
- data/spec/models/service_setting_item_post_result_spec.rb +36 -0
- data/spec/models/service_setting_provider_post_result_api_response_spec.rb +48 -0
- data/spec/models/service_setting_provider_post_result_spec.rb +36 -0
- data/spec/models/service_setting_setting_post_result_api_response_spec.rb +48 -0
- data/spec/models/service_setting_setting_post_result_spec.rb +36 -0
- data/spec/models/settings_api_response_spec.rb +48 -0
- data/spec/models/settings_list_api_response_spec.rb +48 -0
- data/spec/models/settings_spec.rb +102 -0
- data/spec/models/setup_code_api_response_spec.rb +48 -0
- data/spec/models/setup_code_spec.rb +48 -0
- data/spec/models/sign_in_request_spec.rb +48 -0
- data/spec/models/sign_up_request_spec.rb +84 -0
- data/spec/models/storage_list_result_api_response_spec.rb +48 -0
- data/spec/models/storage_list_result_spec.rb +60 -0
- data/spec/models/string_api_response_spec.rb +48 -0
- data/spec/models/string_list_api_response_spec.rb +48 -0
- data/spec/models/sub_fee_spec.rb +48 -0
- data/spec/models/system_directory_item_spec.rb +54 -0
- data/spec/models/system_file_item_spec.rb +54 -0
- data/spec/models/system_file_list_result_api_response_spec.rb +48 -0
- data/spec/models/system_file_list_result_spec.rb +48 -0
- data/spec/models/tap_pay_info_spec.rb +36 -0
- data/spec/models/team_spec.rb +90 -0
- data/spec/models/token_model_api_response_spec.rb +48 -0
- data/spec/models/token_model_spec.rb +48 -0
- data/spec/models/trade_fund_bill_spec.rb +60 -0
- data/spec/models/trade_settle_detail_spec.rb +78 -0
- data/spec/models/trade_settle_info_spec.rb +42 -0
- data/spec/models/union_id_sign_in_request_spec.rb +48 -0
- data/spec/models/union_id_sign_up_request_spec.rb +96 -0
- data/spec/models/update_profile_request_spec.rb +132 -0
- data/spec/models/user_access_token_spec.rb +96 -0
- data/spec/models/user_api_response_spec.rb +48 -0
- data/spec/models/user_common_interests_result_api_response_spec.rb +48 -0
- data/spec/models/user_common_interests_result_spec.rb +42 -0
- data/spec/models/user_currency_currency_trans_result_api_response_spec.rb +48 -0
- data/spec/models/user_currency_currency_trans_result_spec.rb +42 -0
- data/spec/models/user_currency_list_api_response_spec.rb +48 -0
- data/spec/models/user_currency_spec.rb +54 -0
- data/spec/models/user_followers_result_api_response_spec.rb +48 -0
- data/spec/models/user_followers_result_spec.rb +42 -0
- data/spec/models/user_following_result_api_response_spec.rb +48 -0
- data/spec/models/user_following_result_spec.rb +42 -0
- data/spec/models/user_friends_near_by_result_api_response_spec.rb +48 -0
- data/spec/models/user_friends_near_by_result_spec.rb +42 -0
- data/spec/models/user_list_result_api_response_spec.rb +48 -0
- data/spec/models/user_list_result_spec.rb +42 -0
- data/spec/models/user_location_post_result_api_response_spec.rb +48 -0
- data/spec/models/user_location_post_result_spec.rb +36 -0
- data/spec/models/user_locations_result_api_response_spec.rb +48 -0
- data/spec/models/user_locations_result_spec.rb +42 -0
- data/spec/models/user_logins_list_api_response_spec.rb +48 -0
- data/spec/models/user_logins_spec.rb +90 -0
- data/spec/models/user_mutual_followers_result_api_response_spec.rb +48 -0
- data/spec/models/user_mutual_followers_result_spec.rb +42 -0
- data/spec/models/user_mutual_followings_result_api_response_spec.rb +48 -0
- data/spec/models/user_mutual_followings_result_spec.rb +42 -0
- data/spec/models/user_profile_result_api_response_spec.rb +48 -0
- data/spec/models/user_profile_result_spec.rb +126 -0
- data/spec/models/user_qr_code_scan_result_api_response_spec.rb +48 -0
- data/spec/models/user_qr_code_scan_result_spec.rb +84 -0
- data/spec/models/user_setting_api_response_spec.rb +48 -0
- data/spec/models/user_setting_list_api_response_spec.rb +48 -0
- data/spec/models/user_setting_post_result_api_response_spec.rb +48 -0
- data/spec/models/user_setting_post_result_spec.rb +36 -0
- data/spec/models/user_setting_spec.rb +96 -0
- data/spec/models/user_spec.rb +252 -0
- data/spec/models/voucher_detail_spec.rb +102 -0
- data/spec/models/wechat_js_config_result_api_response_spec.rb +48 -0
- data/spec/models/wechat_js_config_result_spec.rb +60 -0
- data/spec/spec_helper.rb +111 -0
- data/zsgf_client.gemspec +39 -0
- metadata +974 -0
|
@@ -0,0 +1,909 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#全部 API 文档
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module ZSGFClient
|
|
17
|
+
class AlipayTradeQueryResponse
|
|
18
|
+
attr_accessor :code
|
|
19
|
+
|
|
20
|
+
attr_accessor :msg
|
|
21
|
+
|
|
22
|
+
attr_accessor :sub_code
|
|
23
|
+
|
|
24
|
+
attr_accessor :sub_msg
|
|
25
|
+
|
|
26
|
+
attr_accessor :is_error
|
|
27
|
+
|
|
28
|
+
attr_accessor :additional_status
|
|
29
|
+
|
|
30
|
+
attr_accessor :alipay_store_id
|
|
31
|
+
|
|
32
|
+
attr_accessor :alipay_sub_merchant_id
|
|
33
|
+
|
|
34
|
+
attr_accessor :async_pay_apply_status
|
|
35
|
+
|
|
36
|
+
attr_accessor :auth_trade_pay_mode
|
|
37
|
+
|
|
38
|
+
attr_accessor :biz_settle_mode
|
|
39
|
+
|
|
40
|
+
attr_accessor :bkagent_resp_info
|
|
41
|
+
|
|
42
|
+
attr_accessor :body
|
|
43
|
+
|
|
44
|
+
attr_accessor :buyer_logon_id
|
|
45
|
+
|
|
46
|
+
attr_accessor :buyer_open_id
|
|
47
|
+
|
|
48
|
+
attr_accessor :buyer_pay_amount
|
|
49
|
+
|
|
50
|
+
attr_accessor :buyer_user_id
|
|
51
|
+
|
|
52
|
+
attr_accessor :buyer_user_name
|
|
53
|
+
|
|
54
|
+
attr_accessor :buyer_user_type
|
|
55
|
+
|
|
56
|
+
attr_accessor :cashier_type
|
|
57
|
+
|
|
58
|
+
attr_accessor :charge_amount
|
|
59
|
+
|
|
60
|
+
attr_accessor :charge_flags
|
|
61
|
+
|
|
62
|
+
attr_accessor :charge_info_list
|
|
63
|
+
|
|
64
|
+
attr_accessor :credit_biz_order_id
|
|
65
|
+
|
|
66
|
+
attr_accessor :credit_pay_mode
|
|
67
|
+
|
|
68
|
+
attr_accessor :discount_amount
|
|
69
|
+
|
|
70
|
+
attr_accessor :discount_goods_detail
|
|
71
|
+
|
|
72
|
+
attr_accessor :enterprise_pay_info
|
|
73
|
+
|
|
74
|
+
attr_accessor :ext_infos
|
|
75
|
+
|
|
76
|
+
attr_accessor :fulfillment_detail_list
|
|
77
|
+
|
|
78
|
+
attr_accessor :fund_bill_list
|
|
79
|
+
|
|
80
|
+
attr_accessor :hb_fq_pay_info
|
|
81
|
+
|
|
82
|
+
attr_accessor :hyb_amount
|
|
83
|
+
|
|
84
|
+
attr_accessor :industry_sepc_detail
|
|
85
|
+
|
|
86
|
+
attr_accessor :industry_sepc_detail_acc
|
|
87
|
+
|
|
88
|
+
attr_accessor :industry_sepc_detail_gov
|
|
89
|
+
|
|
90
|
+
attr_accessor :intact_charge_info_list
|
|
91
|
+
|
|
92
|
+
attr_accessor :invoice_amount
|
|
93
|
+
|
|
94
|
+
attr_accessor :mdiscount_amount
|
|
95
|
+
|
|
96
|
+
attr_accessor :medical_insurance_info
|
|
97
|
+
|
|
98
|
+
attr_accessor :open_id
|
|
99
|
+
|
|
100
|
+
attr_accessor :out_trade_no
|
|
101
|
+
|
|
102
|
+
attr_accessor :passback_params
|
|
103
|
+
|
|
104
|
+
attr_accessor :pay_amount
|
|
105
|
+
|
|
106
|
+
attr_accessor :pay_currency
|
|
107
|
+
|
|
108
|
+
attr_accessor :payment_info_with_id_list
|
|
109
|
+
|
|
110
|
+
attr_accessor :period_scene
|
|
111
|
+
|
|
112
|
+
attr_accessor :point_amount
|
|
113
|
+
|
|
114
|
+
attr_accessor :pre_auth_pay_amount
|
|
115
|
+
|
|
116
|
+
attr_accessor :receipt_amount
|
|
117
|
+
|
|
118
|
+
attr_accessor :receipt_currency_type
|
|
119
|
+
|
|
120
|
+
attr_accessor :req_goods_detail
|
|
121
|
+
|
|
122
|
+
attr_accessor :send_pay_date
|
|
123
|
+
|
|
124
|
+
attr_accessor :settle_amount
|
|
125
|
+
|
|
126
|
+
attr_accessor :settle_currency
|
|
127
|
+
|
|
128
|
+
attr_accessor :settle_trans_rate
|
|
129
|
+
|
|
130
|
+
attr_accessor :settlement_id
|
|
131
|
+
|
|
132
|
+
attr_accessor :store_id
|
|
133
|
+
|
|
134
|
+
attr_accessor :store_name
|
|
135
|
+
|
|
136
|
+
attr_accessor :subject
|
|
137
|
+
|
|
138
|
+
attr_accessor :tap_pay_info
|
|
139
|
+
|
|
140
|
+
attr_accessor :terminal_id
|
|
141
|
+
|
|
142
|
+
attr_accessor :total_amount
|
|
143
|
+
|
|
144
|
+
attr_accessor :trade_no
|
|
145
|
+
|
|
146
|
+
attr_accessor :trade_settle_info
|
|
147
|
+
|
|
148
|
+
attr_accessor :trade_status
|
|
149
|
+
|
|
150
|
+
attr_accessor :trans_currency
|
|
151
|
+
|
|
152
|
+
attr_accessor :trans_pay_rate
|
|
153
|
+
|
|
154
|
+
attr_accessor :voucher_detail_list
|
|
155
|
+
|
|
156
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
157
|
+
def self.attribute_map
|
|
158
|
+
{
|
|
159
|
+
:'code' => :'code',
|
|
160
|
+
:'msg' => :'msg',
|
|
161
|
+
:'sub_code' => :'subCode',
|
|
162
|
+
:'sub_msg' => :'subMsg',
|
|
163
|
+
:'is_error' => :'isError',
|
|
164
|
+
:'additional_status' => :'additionalStatus',
|
|
165
|
+
:'alipay_store_id' => :'alipayStoreId',
|
|
166
|
+
:'alipay_sub_merchant_id' => :'alipaySubMerchantId',
|
|
167
|
+
:'async_pay_apply_status' => :'asyncPayApplyStatus',
|
|
168
|
+
:'auth_trade_pay_mode' => :'authTradePayMode',
|
|
169
|
+
:'biz_settle_mode' => :'bizSettleMode',
|
|
170
|
+
:'bkagent_resp_info' => :'bkagentRespInfo',
|
|
171
|
+
:'body' => :'body',
|
|
172
|
+
:'buyer_logon_id' => :'buyerLogonId',
|
|
173
|
+
:'buyer_open_id' => :'buyerOpenId',
|
|
174
|
+
:'buyer_pay_amount' => :'buyerPayAmount',
|
|
175
|
+
:'buyer_user_id' => :'buyerUserId',
|
|
176
|
+
:'buyer_user_name' => :'buyerUserName',
|
|
177
|
+
:'buyer_user_type' => :'buyerUserType',
|
|
178
|
+
:'cashier_type' => :'cashierType',
|
|
179
|
+
:'charge_amount' => :'chargeAmount',
|
|
180
|
+
:'charge_flags' => :'chargeFlags',
|
|
181
|
+
:'charge_info_list' => :'chargeInfoList',
|
|
182
|
+
:'credit_biz_order_id' => :'creditBizOrderId',
|
|
183
|
+
:'credit_pay_mode' => :'creditPayMode',
|
|
184
|
+
:'discount_amount' => :'discountAmount',
|
|
185
|
+
:'discount_goods_detail' => :'discountGoodsDetail',
|
|
186
|
+
:'enterprise_pay_info' => :'enterprisePayInfo',
|
|
187
|
+
:'ext_infos' => :'extInfos',
|
|
188
|
+
:'fulfillment_detail_list' => :'fulfillmentDetailList',
|
|
189
|
+
:'fund_bill_list' => :'fundBillList',
|
|
190
|
+
:'hb_fq_pay_info' => :'hbFqPayInfo',
|
|
191
|
+
:'hyb_amount' => :'hybAmount',
|
|
192
|
+
:'industry_sepc_detail' => :'industrySepcDetail',
|
|
193
|
+
:'industry_sepc_detail_acc' => :'industrySepcDetailAcc',
|
|
194
|
+
:'industry_sepc_detail_gov' => :'industrySepcDetailGov',
|
|
195
|
+
:'intact_charge_info_list' => :'intactChargeInfoList',
|
|
196
|
+
:'invoice_amount' => :'invoiceAmount',
|
|
197
|
+
:'mdiscount_amount' => :'mdiscountAmount',
|
|
198
|
+
:'medical_insurance_info' => :'medicalInsuranceInfo',
|
|
199
|
+
:'open_id' => :'openId',
|
|
200
|
+
:'out_trade_no' => :'outTradeNo',
|
|
201
|
+
:'passback_params' => :'passbackParams',
|
|
202
|
+
:'pay_amount' => :'payAmount',
|
|
203
|
+
:'pay_currency' => :'payCurrency',
|
|
204
|
+
:'payment_info_with_id_list' => :'paymentInfoWithIdList',
|
|
205
|
+
:'period_scene' => :'periodScene',
|
|
206
|
+
:'point_amount' => :'pointAmount',
|
|
207
|
+
:'pre_auth_pay_amount' => :'preAuthPayAmount',
|
|
208
|
+
:'receipt_amount' => :'receiptAmount',
|
|
209
|
+
:'receipt_currency_type' => :'receiptCurrencyType',
|
|
210
|
+
:'req_goods_detail' => :'reqGoodsDetail',
|
|
211
|
+
:'send_pay_date' => :'sendPayDate',
|
|
212
|
+
:'settle_amount' => :'settleAmount',
|
|
213
|
+
:'settle_currency' => :'settleCurrency',
|
|
214
|
+
:'settle_trans_rate' => :'settleTransRate',
|
|
215
|
+
:'settlement_id' => :'settlementId',
|
|
216
|
+
:'store_id' => :'storeId',
|
|
217
|
+
:'store_name' => :'storeName',
|
|
218
|
+
:'subject' => :'subject',
|
|
219
|
+
:'tap_pay_info' => :'tapPayInfo',
|
|
220
|
+
:'terminal_id' => :'terminalId',
|
|
221
|
+
:'total_amount' => :'totalAmount',
|
|
222
|
+
:'trade_no' => :'tradeNo',
|
|
223
|
+
:'trade_settle_info' => :'tradeSettleInfo',
|
|
224
|
+
:'trade_status' => :'tradeStatus',
|
|
225
|
+
:'trans_currency' => :'transCurrency',
|
|
226
|
+
:'trans_pay_rate' => :'transPayRate',
|
|
227
|
+
:'voucher_detail_list' => :'voucherDetailList'
|
|
228
|
+
}
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# Returns attribute mapping this model knows about
|
|
232
|
+
def self.acceptable_attribute_map
|
|
233
|
+
attribute_map
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# Returns all the JSON keys this model knows about
|
|
237
|
+
def self.acceptable_attributes
|
|
238
|
+
acceptable_attribute_map.values
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# Attribute type mapping.
|
|
242
|
+
def self.openapi_types
|
|
243
|
+
{
|
|
244
|
+
:'code' => :'String',
|
|
245
|
+
:'msg' => :'String',
|
|
246
|
+
:'sub_code' => :'String',
|
|
247
|
+
:'sub_msg' => :'String',
|
|
248
|
+
:'is_error' => :'Boolean',
|
|
249
|
+
:'additional_status' => :'String',
|
|
250
|
+
:'alipay_store_id' => :'String',
|
|
251
|
+
:'alipay_sub_merchant_id' => :'String',
|
|
252
|
+
:'async_pay_apply_status' => :'String',
|
|
253
|
+
:'auth_trade_pay_mode' => :'String',
|
|
254
|
+
:'biz_settle_mode' => :'String',
|
|
255
|
+
:'bkagent_resp_info' => :'BkAgentRespInfo',
|
|
256
|
+
:'body' => :'String',
|
|
257
|
+
:'buyer_logon_id' => :'String',
|
|
258
|
+
:'buyer_open_id' => :'String',
|
|
259
|
+
:'buyer_pay_amount' => :'String',
|
|
260
|
+
:'buyer_user_id' => :'String',
|
|
261
|
+
:'buyer_user_name' => :'String',
|
|
262
|
+
:'buyer_user_type' => :'String',
|
|
263
|
+
:'cashier_type' => :'String',
|
|
264
|
+
:'charge_amount' => :'String',
|
|
265
|
+
:'charge_flags' => :'String',
|
|
266
|
+
:'charge_info_list' => :'Array<ChargeInfo>',
|
|
267
|
+
:'credit_biz_order_id' => :'String',
|
|
268
|
+
:'credit_pay_mode' => :'String',
|
|
269
|
+
:'discount_amount' => :'String',
|
|
270
|
+
:'discount_goods_detail' => :'String',
|
|
271
|
+
:'enterprise_pay_info' => :'EnterprisePayInfo',
|
|
272
|
+
:'ext_infos' => :'String',
|
|
273
|
+
:'fulfillment_detail_list' => :'Array<FulfillmentDetail>',
|
|
274
|
+
:'fund_bill_list' => :'Array<TradeFundBill>',
|
|
275
|
+
:'hb_fq_pay_info' => :'HbFqPayInfo',
|
|
276
|
+
:'hyb_amount' => :'String',
|
|
277
|
+
:'industry_sepc_detail' => :'String',
|
|
278
|
+
:'industry_sepc_detail_acc' => :'String',
|
|
279
|
+
:'industry_sepc_detail_gov' => :'String',
|
|
280
|
+
:'intact_charge_info_list' => :'Array<IntactChargeInfo>',
|
|
281
|
+
:'invoice_amount' => :'String',
|
|
282
|
+
:'mdiscount_amount' => :'String',
|
|
283
|
+
:'medical_insurance_info' => :'String',
|
|
284
|
+
:'open_id' => :'String',
|
|
285
|
+
:'out_trade_no' => :'String',
|
|
286
|
+
:'passback_params' => :'String',
|
|
287
|
+
:'pay_amount' => :'String',
|
|
288
|
+
:'pay_currency' => :'String',
|
|
289
|
+
:'payment_info_with_id_list' => :'Array<PaymentInfoWithId>',
|
|
290
|
+
:'period_scene' => :'String',
|
|
291
|
+
:'point_amount' => :'String',
|
|
292
|
+
:'pre_auth_pay_amount' => :'String',
|
|
293
|
+
:'receipt_amount' => :'String',
|
|
294
|
+
:'receipt_currency_type' => :'String',
|
|
295
|
+
:'req_goods_detail' => :'Array<GoodsDetail>',
|
|
296
|
+
:'send_pay_date' => :'String',
|
|
297
|
+
:'settle_amount' => :'String',
|
|
298
|
+
:'settle_currency' => :'String',
|
|
299
|
+
:'settle_trans_rate' => :'String',
|
|
300
|
+
:'settlement_id' => :'String',
|
|
301
|
+
:'store_id' => :'String',
|
|
302
|
+
:'store_name' => :'String',
|
|
303
|
+
:'subject' => :'String',
|
|
304
|
+
:'tap_pay_info' => :'TapPayInfo',
|
|
305
|
+
:'terminal_id' => :'String',
|
|
306
|
+
:'total_amount' => :'String',
|
|
307
|
+
:'trade_no' => :'String',
|
|
308
|
+
:'trade_settle_info' => :'TradeSettleInfo',
|
|
309
|
+
:'trade_status' => :'String',
|
|
310
|
+
:'trans_currency' => :'String',
|
|
311
|
+
:'trans_pay_rate' => :'String',
|
|
312
|
+
:'voucher_detail_list' => :'Array<VoucherDetail>'
|
|
313
|
+
}
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# List of attributes with nullable: true
|
|
317
|
+
def self.openapi_nullable
|
|
318
|
+
Set.new([
|
|
319
|
+
:'code',
|
|
320
|
+
:'msg',
|
|
321
|
+
:'sub_code',
|
|
322
|
+
:'sub_msg',
|
|
323
|
+
:'additional_status',
|
|
324
|
+
:'alipay_store_id',
|
|
325
|
+
:'alipay_sub_merchant_id',
|
|
326
|
+
:'async_pay_apply_status',
|
|
327
|
+
:'auth_trade_pay_mode',
|
|
328
|
+
:'biz_settle_mode',
|
|
329
|
+
:'body',
|
|
330
|
+
:'buyer_logon_id',
|
|
331
|
+
:'buyer_open_id',
|
|
332
|
+
:'buyer_pay_amount',
|
|
333
|
+
:'buyer_user_id',
|
|
334
|
+
:'buyer_user_name',
|
|
335
|
+
:'buyer_user_type',
|
|
336
|
+
:'cashier_type',
|
|
337
|
+
:'charge_amount',
|
|
338
|
+
:'charge_flags',
|
|
339
|
+
:'charge_info_list',
|
|
340
|
+
:'credit_biz_order_id',
|
|
341
|
+
:'credit_pay_mode',
|
|
342
|
+
:'discount_amount',
|
|
343
|
+
:'discount_goods_detail',
|
|
344
|
+
:'ext_infos',
|
|
345
|
+
:'fulfillment_detail_list',
|
|
346
|
+
:'fund_bill_list',
|
|
347
|
+
:'hyb_amount',
|
|
348
|
+
:'industry_sepc_detail',
|
|
349
|
+
:'industry_sepc_detail_acc',
|
|
350
|
+
:'industry_sepc_detail_gov',
|
|
351
|
+
:'intact_charge_info_list',
|
|
352
|
+
:'invoice_amount',
|
|
353
|
+
:'mdiscount_amount',
|
|
354
|
+
:'medical_insurance_info',
|
|
355
|
+
:'open_id',
|
|
356
|
+
:'out_trade_no',
|
|
357
|
+
:'passback_params',
|
|
358
|
+
:'pay_amount',
|
|
359
|
+
:'pay_currency',
|
|
360
|
+
:'payment_info_with_id_list',
|
|
361
|
+
:'period_scene',
|
|
362
|
+
:'point_amount',
|
|
363
|
+
:'pre_auth_pay_amount',
|
|
364
|
+
:'receipt_amount',
|
|
365
|
+
:'receipt_currency_type',
|
|
366
|
+
:'req_goods_detail',
|
|
367
|
+
:'send_pay_date',
|
|
368
|
+
:'settle_amount',
|
|
369
|
+
:'settle_currency',
|
|
370
|
+
:'settle_trans_rate',
|
|
371
|
+
:'settlement_id',
|
|
372
|
+
:'store_id',
|
|
373
|
+
:'store_name',
|
|
374
|
+
:'subject',
|
|
375
|
+
:'terminal_id',
|
|
376
|
+
:'total_amount',
|
|
377
|
+
:'trade_no',
|
|
378
|
+
:'trade_status',
|
|
379
|
+
:'trans_currency',
|
|
380
|
+
:'trans_pay_rate',
|
|
381
|
+
:'voucher_detail_list'
|
|
382
|
+
])
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Initializes the object
|
|
386
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
387
|
+
def initialize(attributes = {})
|
|
388
|
+
if (!attributes.is_a?(Hash))
|
|
389
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `ZSGFClient::AlipayTradeQueryResponse` initialize method"
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
393
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
394
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
395
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
396
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ZSGFClient::AlipayTradeQueryResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
397
|
+
end
|
|
398
|
+
h[k.to_sym] = v
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
if attributes.key?(:'code')
|
|
402
|
+
self.code = attributes[:'code']
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
if attributes.key?(:'msg')
|
|
406
|
+
self.msg = attributes[:'msg']
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
if attributes.key?(:'sub_code')
|
|
410
|
+
self.sub_code = attributes[:'sub_code']
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
if attributes.key?(:'sub_msg')
|
|
414
|
+
self.sub_msg = attributes[:'sub_msg']
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
if attributes.key?(:'is_error')
|
|
418
|
+
self.is_error = attributes[:'is_error']
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
if attributes.key?(:'additional_status')
|
|
422
|
+
self.additional_status = attributes[:'additional_status']
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
if attributes.key?(:'alipay_store_id')
|
|
426
|
+
self.alipay_store_id = attributes[:'alipay_store_id']
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
if attributes.key?(:'alipay_sub_merchant_id')
|
|
430
|
+
self.alipay_sub_merchant_id = attributes[:'alipay_sub_merchant_id']
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
if attributes.key?(:'async_pay_apply_status')
|
|
434
|
+
self.async_pay_apply_status = attributes[:'async_pay_apply_status']
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
if attributes.key?(:'auth_trade_pay_mode')
|
|
438
|
+
self.auth_trade_pay_mode = attributes[:'auth_trade_pay_mode']
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
if attributes.key?(:'biz_settle_mode')
|
|
442
|
+
self.biz_settle_mode = attributes[:'biz_settle_mode']
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
if attributes.key?(:'bkagent_resp_info')
|
|
446
|
+
self.bkagent_resp_info = attributes[:'bkagent_resp_info']
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
if attributes.key?(:'body')
|
|
450
|
+
self.body = attributes[:'body']
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
if attributes.key?(:'buyer_logon_id')
|
|
454
|
+
self.buyer_logon_id = attributes[:'buyer_logon_id']
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
if attributes.key?(:'buyer_open_id')
|
|
458
|
+
self.buyer_open_id = attributes[:'buyer_open_id']
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
if attributes.key?(:'buyer_pay_amount')
|
|
462
|
+
self.buyer_pay_amount = attributes[:'buyer_pay_amount']
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
if attributes.key?(:'buyer_user_id')
|
|
466
|
+
self.buyer_user_id = attributes[:'buyer_user_id']
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
if attributes.key?(:'buyer_user_name')
|
|
470
|
+
self.buyer_user_name = attributes[:'buyer_user_name']
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
if attributes.key?(:'buyer_user_type')
|
|
474
|
+
self.buyer_user_type = attributes[:'buyer_user_type']
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
if attributes.key?(:'cashier_type')
|
|
478
|
+
self.cashier_type = attributes[:'cashier_type']
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
if attributes.key?(:'charge_amount')
|
|
482
|
+
self.charge_amount = attributes[:'charge_amount']
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
if attributes.key?(:'charge_flags')
|
|
486
|
+
self.charge_flags = attributes[:'charge_flags']
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
if attributes.key?(:'charge_info_list')
|
|
490
|
+
if (value = attributes[:'charge_info_list']).is_a?(Array)
|
|
491
|
+
self.charge_info_list = value
|
|
492
|
+
end
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
if attributes.key?(:'credit_biz_order_id')
|
|
496
|
+
self.credit_biz_order_id = attributes[:'credit_biz_order_id']
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
if attributes.key?(:'credit_pay_mode')
|
|
500
|
+
self.credit_pay_mode = attributes[:'credit_pay_mode']
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
if attributes.key?(:'discount_amount')
|
|
504
|
+
self.discount_amount = attributes[:'discount_amount']
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
if attributes.key?(:'discount_goods_detail')
|
|
508
|
+
self.discount_goods_detail = attributes[:'discount_goods_detail']
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
if attributes.key?(:'enterprise_pay_info')
|
|
512
|
+
self.enterprise_pay_info = attributes[:'enterprise_pay_info']
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
if attributes.key?(:'ext_infos')
|
|
516
|
+
self.ext_infos = attributes[:'ext_infos']
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
if attributes.key?(:'fulfillment_detail_list')
|
|
520
|
+
if (value = attributes[:'fulfillment_detail_list']).is_a?(Array)
|
|
521
|
+
self.fulfillment_detail_list = value
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
if attributes.key?(:'fund_bill_list')
|
|
526
|
+
if (value = attributes[:'fund_bill_list']).is_a?(Array)
|
|
527
|
+
self.fund_bill_list = value
|
|
528
|
+
end
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
if attributes.key?(:'hb_fq_pay_info')
|
|
532
|
+
self.hb_fq_pay_info = attributes[:'hb_fq_pay_info']
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
if attributes.key?(:'hyb_amount')
|
|
536
|
+
self.hyb_amount = attributes[:'hyb_amount']
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
if attributes.key?(:'industry_sepc_detail')
|
|
540
|
+
self.industry_sepc_detail = attributes[:'industry_sepc_detail']
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
if attributes.key?(:'industry_sepc_detail_acc')
|
|
544
|
+
self.industry_sepc_detail_acc = attributes[:'industry_sepc_detail_acc']
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
if attributes.key?(:'industry_sepc_detail_gov')
|
|
548
|
+
self.industry_sepc_detail_gov = attributes[:'industry_sepc_detail_gov']
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
if attributes.key?(:'intact_charge_info_list')
|
|
552
|
+
if (value = attributes[:'intact_charge_info_list']).is_a?(Array)
|
|
553
|
+
self.intact_charge_info_list = value
|
|
554
|
+
end
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
if attributes.key?(:'invoice_amount')
|
|
558
|
+
self.invoice_amount = attributes[:'invoice_amount']
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
if attributes.key?(:'mdiscount_amount')
|
|
562
|
+
self.mdiscount_amount = attributes[:'mdiscount_amount']
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
if attributes.key?(:'medical_insurance_info')
|
|
566
|
+
self.medical_insurance_info = attributes[:'medical_insurance_info']
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
if attributes.key?(:'open_id')
|
|
570
|
+
self.open_id = attributes[:'open_id']
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
if attributes.key?(:'out_trade_no')
|
|
574
|
+
self.out_trade_no = attributes[:'out_trade_no']
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
if attributes.key?(:'passback_params')
|
|
578
|
+
self.passback_params = attributes[:'passback_params']
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
if attributes.key?(:'pay_amount')
|
|
582
|
+
self.pay_amount = attributes[:'pay_amount']
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
if attributes.key?(:'pay_currency')
|
|
586
|
+
self.pay_currency = attributes[:'pay_currency']
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
if attributes.key?(:'payment_info_with_id_list')
|
|
590
|
+
if (value = attributes[:'payment_info_with_id_list']).is_a?(Array)
|
|
591
|
+
self.payment_info_with_id_list = value
|
|
592
|
+
end
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
if attributes.key?(:'period_scene')
|
|
596
|
+
self.period_scene = attributes[:'period_scene']
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
if attributes.key?(:'point_amount')
|
|
600
|
+
self.point_amount = attributes[:'point_amount']
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
if attributes.key?(:'pre_auth_pay_amount')
|
|
604
|
+
self.pre_auth_pay_amount = attributes[:'pre_auth_pay_amount']
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
if attributes.key?(:'receipt_amount')
|
|
608
|
+
self.receipt_amount = attributes[:'receipt_amount']
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
if attributes.key?(:'receipt_currency_type')
|
|
612
|
+
self.receipt_currency_type = attributes[:'receipt_currency_type']
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
if attributes.key?(:'req_goods_detail')
|
|
616
|
+
if (value = attributes[:'req_goods_detail']).is_a?(Array)
|
|
617
|
+
self.req_goods_detail = value
|
|
618
|
+
end
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
if attributes.key?(:'send_pay_date')
|
|
622
|
+
self.send_pay_date = attributes[:'send_pay_date']
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
if attributes.key?(:'settle_amount')
|
|
626
|
+
self.settle_amount = attributes[:'settle_amount']
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
if attributes.key?(:'settle_currency')
|
|
630
|
+
self.settle_currency = attributes[:'settle_currency']
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
if attributes.key?(:'settle_trans_rate')
|
|
634
|
+
self.settle_trans_rate = attributes[:'settle_trans_rate']
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
if attributes.key?(:'settlement_id')
|
|
638
|
+
self.settlement_id = attributes[:'settlement_id']
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
if attributes.key?(:'store_id')
|
|
642
|
+
self.store_id = attributes[:'store_id']
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
if attributes.key?(:'store_name')
|
|
646
|
+
self.store_name = attributes[:'store_name']
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
if attributes.key?(:'subject')
|
|
650
|
+
self.subject = attributes[:'subject']
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
if attributes.key?(:'tap_pay_info')
|
|
654
|
+
self.tap_pay_info = attributes[:'tap_pay_info']
|
|
655
|
+
end
|
|
656
|
+
|
|
657
|
+
if attributes.key?(:'terminal_id')
|
|
658
|
+
self.terminal_id = attributes[:'terminal_id']
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
if attributes.key?(:'total_amount')
|
|
662
|
+
self.total_amount = attributes[:'total_amount']
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
if attributes.key?(:'trade_no')
|
|
666
|
+
self.trade_no = attributes[:'trade_no']
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
if attributes.key?(:'trade_settle_info')
|
|
670
|
+
self.trade_settle_info = attributes[:'trade_settle_info']
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
if attributes.key?(:'trade_status')
|
|
674
|
+
self.trade_status = attributes[:'trade_status']
|
|
675
|
+
end
|
|
676
|
+
|
|
677
|
+
if attributes.key?(:'trans_currency')
|
|
678
|
+
self.trans_currency = attributes[:'trans_currency']
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
if attributes.key?(:'trans_pay_rate')
|
|
682
|
+
self.trans_pay_rate = attributes[:'trans_pay_rate']
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
if attributes.key?(:'voucher_detail_list')
|
|
686
|
+
if (value = attributes[:'voucher_detail_list']).is_a?(Array)
|
|
687
|
+
self.voucher_detail_list = value
|
|
688
|
+
end
|
|
689
|
+
end
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
693
|
+
# @return Array for valid properties with the reasons
|
|
694
|
+
def list_invalid_properties
|
|
695
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
696
|
+
invalid_properties = Array.new
|
|
697
|
+
invalid_properties
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
# Check to see if the all the properties in the model are valid
|
|
701
|
+
# @return true if the model is valid
|
|
702
|
+
def valid?
|
|
703
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
704
|
+
true
|
|
705
|
+
end
|
|
706
|
+
|
|
707
|
+
# Checks equality by comparing each attribute.
|
|
708
|
+
# @param [Object] Object to be compared
|
|
709
|
+
def ==(o)
|
|
710
|
+
return true if self.equal?(o)
|
|
711
|
+
self.class == o.class &&
|
|
712
|
+
code == o.code &&
|
|
713
|
+
msg == o.msg &&
|
|
714
|
+
sub_code == o.sub_code &&
|
|
715
|
+
sub_msg == o.sub_msg &&
|
|
716
|
+
is_error == o.is_error &&
|
|
717
|
+
additional_status == o.additional_status &&
|
|
718
|
+
alipay_store_id == o.alipay_store_id &&
|
|
719
|
+
alipay_sub_merchant_id == o.alipay_sub_merchant_id &&
|
|
720
|
+
async_pay_apply_status == o.async_pay_apply_status &&
|
|
721
|
+
auth_trade_pay_mode == o.auth_trade_pay_mode &&
|
|
722
|
+
biz_settle_mode == o.biz_settle_mode &&
|
|
723
|
+
bkagent_resp_info == o.bkagent_resp_info &&
|
|
724
|
+
body == o.body &&
|
|
725
|
+
buyer_logon_id == o.buyer_logon_id &&
|
|
726
|
+
buyer_open_id == o.buyer_open_id &&
|
|
727
|
+
buyer_pay_amount == o.buyer_pay_amount &&
|
|
728
|
+
buyer_user_id == o.buyer_user_id &&
|
|
729
|
+
buyer_user_name == o.buyer_user_name &&
|
|
730
|
+
buyer_user_type == o.buyer_user_type &&
|
|
731
|
+
cashier_type == o.cashier_type &&
|
|
732
|
+
charge_amount == o.charge_amount &&
|
|
733
|
+
charge_flags == o.charge_flags &&
|
|
734
|
+
charge_info_list == o.charge_info_list &&
|
|
735
|
+
credit_biz_order_id == o.credit_biz_order_id &&
|
|
736
|
+
credit_pay_mode == o.credit_pay_mode &&
|
|
737
|
+
discount_amount == o.discount_amount &&
|
|
738
|
+
discount_goods_detail == o.discount_goods_detail &&
|
|
739
|
+
enterprise_pay_info == o.enterprise_pay_info &&
|
|
740
|
+
ext_infos == o.ext_infos &&
|
|
741
|
+
fulfillment_detail_list == o.fulfillment_detail_list &&
|
|
742
|
+
fund_bill_list == o.fund_bill_list &&
|
|
743
|
+
hb_fq_pay_info == o.hb_fq_pay_info &&
|
|
744
|
+
hyb_amount == o.hyb_amount &&
|
|
745
|
+
industry_sepc_detail == o.industry_sepc_detail &&
|
|
746
|
+
industry_sepc_detail_acc == o.industry_sepc_detail_acc &&
|
|
747
|
+
industry_sepc_detail_gov == o.industry_sepc_detail_gov &&
|
|
748
|
+
intact_charge_info_list == o.intact_charge_info_list &&
|
|
749
|
+
invoice_amount == o.invoice_amount &&
|
|
750
|
+
mdiscount_amount == o.mdiscount_amount &&
|
|
751
|
+
medical_insurance_info == o.medical_insurance_info &&
|
|
752
|
+
open_id == o.open_id &&
|
|
753
|
+
out_trade_no == o.out_trade_no &&
|
|
754
|
+
passback_params == o.passback_params &&
|
|
755
|
+
pay_amount == o.pay_amount &&
|
|
756
|
+
pay_currency == o.pay_currency &&
|
|
757
|
+
payment_info_with_id_list == o.payment_info_with_id_list &&
|
|
758
|
+
period_scene == o.period_scene &&
|
|
759
|
+
point_amount == o.point_amount &&
|
|
760
|
+
pre_auth_pay_amount == o.pre_auth_pay_amount &&
|
|
761
|
+
receipt_amount == o.receipt_amount &&
|
|
762
|
+
receipt_currency_type == o.receipt_currency_type &&
|
|
763
|
+
req_goods_detail == o.req_goods_detail &&
|
|
764
|
+
send_pay_date == o.send_pay_date &&
|
|
765
|
+
settle_amount == o.settle_amount &&
|
|
766
|
+
settle_currency == o.settle_currency &&
|
|
767
|
+
settle_trans_rate == o.settle_trans_rate &&
|
|
768
|
+
settlement_id == o.settlement_id &&
|
|
769
|
+
store_id == o.store_id &&
|
|
770
|
+
store_name == o.store_name &&
|
|
771
|
+
subject == o.subject &&
|
|
772
|
+
tap_pay_info == o.tap_pay_info &&
|
|
773
|
+
terminal_id == o.terminal_id &&
|
|
774
|
+
total_amount == o.total_amount &&
|
|
775
|
+
trade_no == o.trade_no &&
|
|
776
|
+
trade_settle_info == o.trade_settle_info &&
|
|
777
|
+
trade_status == o.trade_status &&
|
|
778
|
+
trans_currency == o.trans_currency &&
|
|
779
|
+
trans_pay_rate == o.trans_pay_rate &&
|
|
780
|
+
voucher_detail_list == o.voucher_detail_list
|
|
781
|
+
end
|
|
782
|
+
|
|
783
|
+
# @see the `==` method
|
|
784
|
+
# @param [Object] Object to be compared
|
|
785
|
+
def eql?(o)
|
|
786
|
+
self == o
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
# Calculates hash code according to all attributes.
|
|
790
|
+
# @return [Integer] Hash code
|
|
791
|
+
def hash
|
|
792
|
+
[code, msg, sub_code, sub_msg, is_error, additional_status, alipay_store_id, alipay_sub_merchant_id, async_pay_apply_status, auth_trade_pay_mode, biz_settle_mode, bkagent_resp_info, body, buyer_logon_id, buyer_open_id, buyer_pay_amount, buyer_user_id, buyer_user_name, buyer_user_type, cashier_type, charge_amount, charge_flags, charge_info_list, credit_biz_order_id, credit_pay_mode, discount_amount, discount_goods_detail, enterprise_pay_info, ext_infos, fulfillment_detail_list, fund_bill_list, hb_fq_pay_info, hyb_amount, industry_sepc_detail, industry_sepc_detail_acc, industry_sepc_detail_gov, intact_charge_info_list, invoice_amount, mdiscount_amount, medical_insurance_info, open_id, out_trade_no, passback_params, pay_amount, pay_currency, payment_info_with_id_list, period_scene, point_amount, pre_auth_pay_amount, receipt_amount, receipt_currency_type, req_goods_detail, send_pay_date, settle_amount, settle_currency, settle_trans_rate, settlement_id, store_id, store_name, subject, tap_pay_info, terminal_id, total_amount, trade_no, trade_settle_info, trade_status, trans_currency, trans_pay_rate, voucher_detail_list].hash
|
|
793
|
+
end
|
|
794
|
+
|
|
795
|
+
# Builds the object from hash
|
|
796
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
797
|
+
# @return [Object] Returns the model itself
|
|
798
|
+
def self.build_from_hash(attributes)
|
|
799
|
+
return nil unless attributes.is_a?(Hash)
|
|
800
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
801
|
+
transformed_hash = {}
|
|
802
|
+
openapi_types.each_pair do |key, type|
|
|
803
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
804
|
+
transformed_hash["#{key}"] = nil
|
|
805
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
806
|
+
# check to ensure the input is an array given that the attribute
|
|
807
|
+
# is documented as an array but the input is not
|
|
808
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
809
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
810
|
+
end
|
|
811
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
812
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
813
|
+
end
|
|
814
|
+
end
|
|
815
|
+
new(transformed_hash)
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# Deserializes the data based on type
|
|
819
|
+
# @param string type Data type
|
|
820
|
+
# @param string value Value to be deserialized
|
|
821
|
+
# @return [Object] Deserialized data
|
|
822
|
+
def self._deserialize(type, value)
|
|
823
|
+
case type.to_sym
|
|
824
|
+
when :Time
|
|
825
|
+
Time.parse(value)
|
|
826
|
+
when :Date
|
|
827
|
+
Date.parse(value)
|
|
828
|
+
when :String
|
|
829
|
+
value.to_s
|
|
830
|
+
when :Integer
|
|
831
|
+
value.to_i
|
|
832
|
+
when :Float
|
|
833
|
+
value.to_f
|
|
834
|
+
when :Boolean
|
|
835
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
836
|
+
true
|
|
837
|
+
else
|
|
838
|
+
false
|
|
839
|
+
end
|
|
840
|
+
when :Object
|
|
841
|
+
# generic object (usually a Hash), return directly
|
|
842
|
+
value
|
|
843
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
844
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
845
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
846
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
847
|
+
k_type = Regexp.last_match[:k_type]
|
|
848
|
+
v_type = Regexp.last_match[:v_type]
|
|
849
|
+
{}.tap do |hash|
|
|
850
|
+
value.each do |k, v|
|
|
851
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
852
|
+
end
|
|
853
|
+
end
|
|
854
|
+
else # model
|
|
855
|
+
# models (e.g. Pet) or oneOf
|
|
856
|
+
klass = ZSGFClient.const_get(type)
|
|
857
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
858
|
+
end
|
|
859
|
+
end
|
|
860
|
+
|
|
861
|
+
# Returns the string representation of the object
|
|
862
|
+
# @return [String] String presentation of the object
|
|
863
|
+
def to_s
|
|
864
|
+
to_hash.to_s
|
|
865
|
+
end
|
|
866
|
+
|
|
867
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
868
|
+
# @return [Hash] Returns the object in the form of hash
|
|
869
|
+
def to_body
|
|
870
|
+
to_hash
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
# Returns the object in the form of hash
|
|
874
|
+
# @return [Hash] Returns the object in the form of hash
|
|
875
|
+
def to_hash
|
|
876
|
+
hash = {}
|
|
877
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
878
|
+
value = self.send(attr)
|
|
879
|
+
if value.nil?
|
|
880
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
881
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
882
|
+
end
|
|
883
|
+
|
|
884
|
+
hash[param] = _to_hash(value)
|
|
885
|
+
end
|
|
886
|
+
hash
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
# Outputs non-array value in the form of hash
|
|
890
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
891
|
+
# @param [Object] value Any valid value
|
|
892
|
+
# @return [Hash] Returns the value in the form of hash
|
|
893
|
+
def _to_hash(value)
|
|
894
|
+
if value.is_a?(Array)
|
|
895
|
+
value.compact.map { |v| _to_hash(v) }
|
|
896
|
+
elsif value.is_a?(Hash)
|
|
897
|
+
{}.tap do |hash|
|
|
898
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
899
|
+
end
|
|
900
|
+
elsif value.respond_to? :to_hash
|
|
901
|
+
value.to_hash
|
|
902
|
+
else
|
|
903
|
+
value
|
|
904
|
+
end
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
end
|