diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/ApplyPayScorePartnerPermissionsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/ApplyPayScorePartnerPermissionsRequest.json new file mode 100644 index 00000000..f99cdb38 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/ApplyPayScorePartnerPermissionsRequest.json @@ -0,0 +1,8 @@ +{ + "service_id": "service_id", + "appid": "wxd678efh567hg6787", + "sub_appid": "wxd678efh567hg6787", + "sub_mchid": "1230000109", + "authorization_code": "1234323JKHDFE1243252", + "notify_url": "http://www.qq.com" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/ApplyPayScorePartnerPermissionsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/ApplyPayScorePartnerPermissionsResponse.json new file mode 100644 index 00000000..78b7ee74 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/ApplyPayScorePartnerPermissionsResponse.json @@ -0,0 +1,3 @@ +{ + "apply_permissions_token": "apply_permissions_token" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByAuthorizationCodeRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByAuthorizationCodeRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByAuthorizationCodeRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByAuthorizationCodeResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByAuthorizationCodeResponse.json new file mode 100644 index 00000000..18f7c960 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByAuthorizationCodeResponse.json @@ -0,0 +1,13 @@ +{ + "service_id": "2002000000000558128851361561536", + "appid": "wxd678efh567hg6787", + "mchid": "1230000109", + "authorization_code": "1275342195190894594", + "authorization_state": "UNAVAILABLE", + "notify_url": "https://www.weixin.com", + "cancel_authorization_time": "2015-05-20T13:29:35.120+08:00", + "authorization_success_time": "2015-05-20T13:29:35.120+08:00", + "sub_mchid": "1230000109", + "sub_appid": "wxd678efh567hg6787", + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByOpenIdRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByOpenIdRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByOpenIdRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByOpenIdResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByOpenIdResponse.json new file mode 100644 index 00000000..6c74b55c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/GetPayScorePartnerPermissionsByOpenIdResponse.json @@ -0,0 +1,12 @@ +{ + "service_id": "2002000000000558128851361561536", + "appid": "wxd678efh567hg6787", + "mchid": "1230000109", + "authorization_code": "1275342195190894594", + "authorization_state": "UNAVAILABLE", + "cancel_authorization_time": "2015-05-20T13:29:35.120+08:00", + "authorization_success_time": "2015-05-20T13:29:35.120+08:00", + "sub_mchid": "1230000109", + "sub_appid": "wxd678efh567hg6787", + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByAuthorizationCodeRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByAuthorizationCodeRequest.json new file mode 100644 index 00000000..0ffd58b0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByAuthorizationCodeRequest.json @@ -0,0 +1,5 @@ +{ + "service_id": "500001", + "sub_mchid": "1230000109", + "reason": "撤销原因" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByAuthorizationCodeResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByAuthorizationCodeResponse.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByAuthorizationCodeResponse.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByOpenIdRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByOpenIdRequest.json new file mode 100644 index 00000000..07e8a428 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByOpenIdRequest.json @@ -0,0 +1,8 @@ +{ + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", + "service_id": "500001", + "sub_mchid": "1230000109", + "appid": "wxd678efh567hg6787", + "sub_appid": "wxd678efh567hg6787", + "reason": "reason" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByOpenIdResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByOpenIdResponse.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerPermissions/TerminatePayScorePartnerPermissionsByOpenIdResponse.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CancelPayScorePartnerServiceOrderRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CancelPayScorePartnerServiceOrderRequest.json new file mode 100644 index 00000000..abff57df --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CancelPayScorePartnerServiceOrderRequest.json @@ -0,0 +1,5 @@ +{ + "service_id": "2002000000000558128851361561536", + "sub_mchid": "1900000109", + "reason": "用户投诉" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CancelPayScorePartnerServiceOrderResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CancelPayScorePartnerServiceOrderResponse.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CancelPayScorePartnerServiceOrderResponse.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CreatePayScorePartnerServiceOrderRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CreatePayScorePartnerServiceOrderRequest.json new file mode 100644 index 00000000..5a249e6b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CreatePayScorePartnerServiceOrderRequest.json @@ -0,0 +1,42 @@ +{ + "service_id": "2002000000000558128851361561536", + "appid": "wxd678efh567hg6787", + "sub_mchid": "1900000109", + "sub_appid": "wxd678efh567hg6999", + "out_order_no": "1234323JKHDFE1243252", + "service_introduction": "XX充电宝", + "post_payments": [ + { + "name": "就餐费用", + "description": "就餐人均100元", + "amount": 40000, + "count": 4 + } + ], + "post_discounts": [ + { + "name": "满20减1元", + "description": "不与其他优惠叠加", + "count": 2 + } + ], + "risk_fund": { + "name": "DEPOSIT", + "amount": 10000, + "description": "就餐的预估费用" + }, + "time_range": { + "start_time": "20091225091010", + "start_time_remark": "开始租借时间", + "end_time": "20091225121010", + "end_time_remark": "租借结束时间" + }, + "location": { + "start_location": "嗨客时尚主题展餐厅", + "end_location": "嗨客时尚主题展餐厅" + }, + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", + "need_user_confirm": false, + "notify_url": "https://api.test.com", + "attach": "Easdfowealsdkjfnlaksjdlfkwqoi&wl3l2sald" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CreatePayScorePartnerServiceOrderResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CreatePayScorePartnerServiceOrderResponse.json new file mode 100644 index 00000000..e6b0b8ac --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/CreatePayScorePartnerServiceOrderResponse.json @@ -0,0 +1,45 @@ +{ + "out_order_no": "1234323JKHDFE1243252", + "service_id": "2002000000000558128851361561536", + "appid": "wxd678efh567hg6787", + "mchid": "1230000109", + "sub_appid": "wxd678efh567hg6999", + "sub_mchid": "1900000109", + "service_introduction": "XX充电宝", + "state": "CREATED", + "state_description": "MCH_COMPLETE", + "post_payments": [ + { + "name": "就餐费用", + "description": "就餐人均100元", + "amount": 40000, + "count": 4 + } + ], + "post_discounts": [ + { + "name": "满20减1元", + "description": "不与其他优惠叠加", + "count": 2 + } + ], + "risk_fund": { + "name": "DEPOSIT", + "amount": 10000, + "description": "就餐的预估费用" + }, + "time_range": { + "start_time": "20091225091010", + "start_time_remark": "开始租借时间", + "end_time": "20091225121010", + "end_time_remark": "租借结束时间" + }, + "location": { + "start_location": "嗨客时尚主题展餐厅", + "end_location": "嗨客时尚主题展餐厅" + }, + "attach": "Easdfowealsdkjfnlaksjdlfkwqoi&wl3l2sald", + "notify_url": "https://api.test.com", + "order_id": "0000300001201908301055157220022", + "package": "DJIOSQPYWDxsjdldeuwhdodwxasd_dDiodnwjh9we" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByOutOrderNumberRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByOutOrderNumberRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByOutOrderNumberRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByOutOrderNumberResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByOutOrderNumberResponse.json new file mode 100644 index 00000000..73de6e9c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByOutOrderNumberResponse.json @@ -0,0 +1,63 @@ +{ + "out_order_no": "1234323JKHDFE1243252", + "service_id": "2002000000000558128851361561536", + "appid": "wxd678efh567hg6787", + "mchid": "1230000109", + "sub_appid": "wxd678efh567hg6999", + "sub_mchid": "1900000109", + "service_introduction": "XX充电宝", + "state": "CREATED", + "state_description": "MCH_COMPLETE", + "post_payments": [ + { + "name": "就餐费用", + "description": "就餐人均100元", + "amount": 40000, + "count": 4 + } + ], + "post_discounts": [ + { + "name": "满20减1元", + "description": "不与其他优惠叠加", + "amount": 100, + "count": 2 + } + ], + "risk_fund": { + "name": "DEPOSIT", + "amount": 10000, + "description": "就餐的预估费用" + }, + "total_amount": 40000, + "need_collection": "true", + "collection": { + "state": "USER_PAID", + "total_amount": 50000, + "paying_amount": 40000, + "paid_amount": 10000, + "details": [ + { + "seq": 1, + "amount": 10000, + "paid_type": "NEWTON", + "paid_time": "20091225091210", + "transaction_id": "15646546545165651651" + } + ] + }, + "time_range": { + "start_time": "20091225091010", + "start_time_remark": "开始租借时间", + "end_time": "20091225121010", + "end_time_remark": "租借结束时间" + }, + "location": { + "start_location": "嗨客时尚主题展餐厅", + "end_location": "嗨客时尚主题展餐厅" + }, + "attach": "Easdfowealsdkjfnlaksjdlfkwqoi&wl3l2sald", + "notify_url": "https://api.test.com", + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", + "order_id": "0000300001201908301055157220022" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByQueryIdRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByQueryIdRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByQueryIdRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByQueryIdResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByQueryIdResponse.json new file mode 100644 index 00000000..7f60f259 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByQueryIdResponse.json @@ -0,0 +1,63 @@ +{ + "out_order_no": "1234323JKHDFE1243252", + "service_id": "2002000000000558128851361561536", + "appid": "wxd678efh567hg6787", + "mchid": "1230000109", + "sub_appid": "wxd678efh567hg6999", + "sub_mchid": "1900000109", + "service_introduction": "XX充电宝", + "state": "CREATED", + "state_description": "MCH_COMPLETE", + "post_payments": [ + { + "name": "就餐费用", + "description": "就餐人均100元", + "amount": 40000, + "count": 4 + } + ], + "post_discounts": [ + { + "name": "满20减1元", + "description": "不与其他优惠叠加", + "amount": 100, + "count": 2 + } + ], + "risk_fund": { + "name": "DEPOSIT", + "amount": 10000, + "description": "就餐的预估费用" + }, + "total_amount": 40000, + "need_collection": "true", + "collection": { + "state": "USER_PAID", + "total_amount": 50000, + "paying_amount": 40000, + "paid_amount": 10000, + "details": [ + { + "seq": 1, + "amount": 10000, + "paid_type": "NEWTON", + "paid_time": "20091225091210", + "transaction_id": "15646546545165651651" + } + ] + }, + "time_range": { + "start_time": "20091225091010", + "start_time_remark": "开始租借时间", + "end_time": "20091225121010", + "end_time_remark": "租借结束时间" + }, + "location": { + "start_location": "嗨客时尚主题展餐厅", + "end_location": "嗨客时尚主题展餐厅" + }, + "attach": "Easdfowealsdkjfnlaksjdlfkwqoi&wl3l2sald", + "notify_url": "https://api.test.com", + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", + "order_id": "0000300001201908301055157220022" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/ModifyPayScorePartnerServiceOrderRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/ModifyPayScorePartnerServiceOrderRequest.json new file mode 100644 index 00000000..672ad64c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/ModifyPayScorePartnerServiceOrderRequest.json @@ -0,0 +1,22 @@ +{ + "service_id": "2002000000000558128851361561536", + "sub_mchid": "1900000109", + "post_payments": [ + { + "name": "就餐费用", + "description": "就餐人均100元", + "amount": 40000, + "count": 4 + } + ], + "post_discounts": [ + { + "name": "满20减1元", + "description": "不与其他优惠叠加", + "amount": 100, + "count": 2 + } + ], + "total_amount": 50000, + "reason": "用户投诉" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/ModifyPayScorePartnerServiceOrderResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/ModifyPayScorePartnerServiceOrderResponse.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/ModifyPayScorePartnerServiceOrderResponse.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderCompleteRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderCompleteRequest.json new file mode 100644 index 00000000..66492392 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderCompleteRequest.json @@ -0,0 +1,34 @@ +{ + "service_id": "2002000000000558128851361561536", + "sub_mchid": "1900000109", + "post_payments": [ + { + "name": "就餐费用", + "description": "就餐人均100元", + "amount": 40000, + "count": 4 + } + ], + "post_discounts": [ + { + "name": "满20减1元", + "description": "不与其他优惠叠加", + "amount": 100, + "count": 2 + } + ], + "total_amount": 50000, + "time_range": { + "start_time": "20091225091010", + "start_time_remark": "开始租借时间", + "end_time": "20091225121010", + "end_time_remark": "租借结束时间" + }, + "location": { + "start_location": "嗨客时尚主题展餐厅", + "end_location": "嗨客时尚主题展餐厅" + }, + "profit_sharing": false, + "complete_time": "2019-11-11T16:24:05+08:00", + "goods_tag": "goods_tag" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderCompleteResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderCompleteResponse.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderCompleteResponse.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderPayRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderPayRequest.json new file mode 100644 index 00000000..5a47c418 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderPayRequest.json @@ -0,0 +1,4 @@ +{ + "service_id": "2002000000000558128851361561536", + "sub_mchid": "1900000109" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderPayResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderPayResponse.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderPayResponse.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderSyncRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderSyncRequest.json new file mode 100644 index 00000000..9d6235fe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderSyncRequest.json @@ -0,0 +1,10 @@ +{ + "service_id": "2002000000000558128851361561536", + "sub_mchid": "1900000109", + "type": "Order_Paid", + "detail": { + "seq": 1, + "paid_time": "20091225091210", + "paid_amount": 1 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderSyncResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderSyncResponse.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/PayScorePartnerServiceOrder/SetPayScorePartnerServiceOrderSyncResponse.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ResourceSamples/PayScorePartnerPermissions/PayScorePartnerPermissionsResource.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ResourceSamples/PayScorePartnerPermissions/PayScorePartnerPermissionsResource.json new file mode 100644 index 00000000..5dfc1ed6 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ResourceSamples/PayScorePartnerPermissions/PayScorePartnerPermissionsResource.json @@ -0,0 +1,11 @@ +{ + "appid": "wxd678efh567hg6787", + "mch_id": "1230000109", + "sub_appid": "wxd678efh567hg6786", + "sub_mch_id": "1230000109", + "service_id": "500001", + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", + "user_service_status": "USER_CLOSE_SERVICE", + "openorclose_time": "20180225112233", + "authorization_code": "4534323JKHDFE1243252" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ResourceSamples/PayScorePartnerServiceOrder/PayScorePartnerServiceOrderResource.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ResourceSamples/PayScorePartnerServiceOrder/PayScorePartnerServiceOrderResource.json new file mode 100644 index 00000000..9e2d31aa --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ResourceSamples/PayScorePartnerServiceOrder/PayScorePartnerServiceOrderResource.json @@ -0,0 +1,59 @@ +{ + "service_id": "500001", + "appid": "wxd678efh567hg6787", + "mchid": "1230000109", + "sub_appid": "wxd678efh567hg6999", + "sub_mchid": "1900000109", + "out_order_no": "1234323JKHDFE1243252", + "sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", + "state": "DONE", + "service_introduction": "嗨客餐厅用餐", + "total_amount": "40000", + "post_payments": [ + { + "name": "服务费", + "amount": 40000, + "description": "每分钟1元" + } + ], + "post_discounts": [ + { + "name": "满20减1元", + "amount": 1, + "description": "不与其他优惠叠加" + } + ], + "risk_fund": { + "name": "预估订单费用", + "amount": 10000, + "description": "就餐的预估费用" + }, + "time_range": { + "start_time": "20091225091010", + "start_time_remark": "xxx", + "end_time": "20091225091210", + "end_time_remark": "xxx" + }, + "location": { + "start_location": "嗨客时尚主题展餐厅", + "end_location": "嗨客时尚主题展餐厅" + }, + "attach": "attach", + "order_id": "165461131", + "need_collection": true, + "collection": { + "state": "", + "total_amount": 40000, + "paying_amount": 40000, + "paid_amount": 0, + "details": [ + { + "seq": 1, + "amount": 10000, + "paid_type": "MCH", + "paid_time": "20091225091210", + "transaction_id": "15646546545165651651" + } + ] + } +} \ No newline at end of file