diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/BrandProfitSharing/BrandConfigs/GetBrandProfitSharingBrandConfigsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/BrandProfitSharing/BrandConfigs/GetBrandProfitSharingBrandConfigsRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/BrandProfitSharing/BrandConfigs/GetBrandProfitSharingBrandConfigsRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/BrandProfitSharing/BrandConfigs/GetBrandProfitBrandConfigsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/BrandProfitSharing/BrandConfigs/GetBrandProfitSharingBrandConfigsResponse.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/BrandProfitSharing/BrandConfigs/GetBrandProfitBrandConfigsResponse.json rename to test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/BrandProfitSharing/BrandConfigs/GetBrandProfitSharingBrandConfigsResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Amounts/GetProfitSharingTransactionAmountsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Amounts/GetProfitSharingTransactionAmountsRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Amounts/GetProfitSharingTransactionAmountsRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Amounts/GetProfitSharingTransactionAmountsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Amounts/GetProfitSharingTransactionAmountsResponse.json new file mode 100644 index 00000000..f3b69114 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Amounts/GetProfitSharingTransactionAmountsResponse.json @@ -0,0 +1,4 @@ +{ + "transaction_id": "4208450740201411110007820472", + "unsplit_amount": 1000 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingOrderRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingOrderRequest.json new file mode 100644 index 00000000..2e192072 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingOrderRequest.json @@ -0,0 +1,17 @@ +{ + "sub_mchid": "1900000109", + "appid": "wx8888888888888888", + "sub_appid": "wx8888888888888889", + "transaction_id": "4208450740201411110007820472", + "out_order_no": "P20150806125346", + "receivers": [ + { + "type": "MERCHANT_ID", + "account": "86693852", + "name": "hu89ohu89ohu89o", + "amount": 888, + "description": "分给商户A" + } + ], + "unfreeze_unsplit": true +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingOrderResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingOrderResponse.json new file mode 100644 index 00000000..f6571027 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingOrderResponse.json @@ -0,0 +1,19 @@ +{ + "sub_mchid": "1900000109", + "transaction_id": "4208450740201411110007820472", + "out_order_no": "P20150806125346", + "order_id": "3008450740201411110007820472", + "state": "FINISHED", + "receivers": [ + { + "amount": 100, + "description": "分给商户1900000110", + "type": "MERCHANT_ID", + "account": "1900000109", + "result": "SUCCESS", + "fail_reason": "ACCOUNT_ABNORMAL", + "create_time": "2015-05-20T13:29:35.120+08:00", + "finish_time": "2015-05-20T13:29:35.120+08:00" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingReturnOrderRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingReturnOrderRequest.json new file mode 100644 index 00000000..b87a463a --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingReturnOrderRequest.json @@ -0,0 +1,7 @@ +{ + "order_id": "3008450740201411110007820472", + "out_return_no": "R20190516001", + "return_mchid": "86693852", + "amount": 10, + "description": "用户退款" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingReturnOrderResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingReturnOrderResponse.json new file mode 100644 index 00000000..f3b1244f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/CreateProfitSharingReturnOrderResponse.json @@ -0,0 +1,13 @@ +{ + "order_id": "3008450740201411110007820472", + "out_order_no": "P20150806125346", + "out_return_no": "R20190516001", + "return_id": "3008450740201411110007820472", + "return_mchid": "86693852", + "amount": 10, + "description": "用户退款", + "result": "SUCCESS", + "fail_reason": "TIME_OUT_CLOSED", + "create_time": "2015-05-20T13:29:35.120+08:00", + "finish_time": "2015-05-20T13:29:35.120+08:00" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingOrderByOutOrderNumberRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingOrderByOutOrderNumberRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingOrderByOutOrderNumberRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingOrderByOutOrderNumberResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingOrderByOutOrderNumberResponse.json new file mode 100644 index 00000000..f6571027 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingOrderByOutOrderNumberResponse.json @@ -0,0 +1,19 @@ +{ + "sub_mchid": "1900000109", + "transaction_id": "4208450740201411110007820472", + "out_order_no": "P20150806125346", + "order_id": "3008450740201411110007820472", + "state": "FINISHED", + "receivers": [ + { + "amount": 100, + "description": "分给商户1900000110", + "type": "MERCHANT_ID", + "account": "1900000109", + "result": "SUCCESS", + "fail_reason": "ACCOUNT_ABNORMAL", + "create_time": "2015-05-20T13:29:35.120+08:00", + "finish_time": "2015-05-20T13:29:35.120+08:00" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingReturnOrderByOutOrderNumberRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingReturnOrderByOutOrderNumberRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingReturnOrderByOutOrderNumberRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingReturnOrderByOutOrderNumberResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingReturnOrderByOutOrderNumberResponse.json new file mode 100644 index 00000000..3c781506 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/GetProfitSharingReturnOrderByOutOrderNumberResponse.json @@ -0,0 +1,14 @@ +{ + "sub_mchid": "1900000109", + "order_id": "3008450740201411110007820472", + "out_order_no": "P20150806125346", + "out_return_no": "R20190516001", + "return_id": "3008450740201411110007820472", + "return_mchid": "86693852", + "amount": 10, + "description": "用户退款", + "result": "SUCCESS", + "fail_reason": "TIME_OUT_CLOSED", + "create_time": "2015-05-20T13:29:35.120+08:00", + "finish_time": "2015-05-20T13:29:35.120+08:00" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/MerchantConfigs/GetProfitSharingMerchantConfigsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/MerchantConfigs/GetProfitSharingMerchantConfigsRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/MerchantConfigs/GetProfitSharingMerchantConfigsRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/MerchantConfigs/GetProfitSharingMerchantConfigsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/MerchantConfigs/GetProfitSharingMerchantConfigsResponse.json new file mode 100644 index 00000000..324a5f65 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/MerchantConfigs/GetProfitSharingMerchantConfigsResponse.json @@ -0,0 +1,4 @@ +{ + "sub_mchid": "1900000109", + "max_ratio": 2000 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/AddProfitSharingReceiverRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/AddProfitSharingReceiverRequest.json new file mode 100644 index 00000000..3c7b946f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/AddProfitSharingReceiverRequest.json @@ -0,0 +1,8 @@ +{ + "appid": "wx8888888888888888", + "type": "MERCHANT_ID", + "account": "86693852", + "name": "hu89ohu89ohu89o", + "relation_type": "STORE", + "custom_relation": "代理商" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/AddProfitSharingReceiverResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/AddProfitSharingReceiverResponse.json new file mode 100644 index 00000000..916b0433 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/AddProfitSharingReceiverResponse.json @@ -0,0 +1,6 @@ +{ + "type": "MERCHANT_ID", + "account": "86693852", + "name": "hu89ohu89ohu89o", + "relation_type": "STORE" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/DeleteProfitSharingReceiverRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/DeleteProfitSharingReceiverRequest.json new file mode 100644 index 00000000..1006f444 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/DeleteProfitSharingReceiverRequest.json @@ -0,0 +1,7 @@ +{ + "sub_mchid": "1900000109", + "appid": "wx8888888888888888", + "sub_appid": "wx8888888888888889", + "type": "MERCHANT_ID", + "account": "86693852" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/DeleteProfitSharingReceiverResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/DeleteProfitSharingReceiverResponse.json new file mode 100644 index 00000000..f60ebb20 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/Receivers/DeleteProfitSharingReceiverResponse.json @@ -0,0 +1,5 @@ +{ + "sub_mchid": "1900000109", + "type": "MERCHANT_ID", + "account": "1900000109" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/SetProfitSharingOrderUnfrozenRequest.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/SetProfitSharingOrderUnfrozenRequest.json new file mode 100644 index 00000000..7c59c7d5 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/SetProfitSharingOrderUnfrozenRequest.json @@ -0,0 +1,6 @@ +{ + "sub_mchid": "1900000109", + "transaction_id": "4208450740201411110007820472", + "out_order_no": "P20150806125346", + "description": "解冻全部剩余资金" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/SetProfitSharingOrderUnfrozenResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/SetProfitSharingOrderUnfrozenResponse.json new file mode 100644 index 00000000..f6571027 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/ModelSamples/ProfitSharing/SetProfitSharingOrderUnfrozenResponse.json @@ -0,0 +1,19 @@ +{ + "sub_mchid": "1900000109", + "transaction_id": "4208450740201411110007820472", + "out_order_no": "P20150806125346", + "order_id": "3008450740201411110007820472", + "state": "FINISHED", + "receivers": [ + { + "amount": 100, + "description": "分给商户1900000110", + "type": "MERCHANT_ID", + "account": "1900000109", + "result": "SUCCESS", + "fail_reason": "ACCOUNT_ABNORMAL", + "create_time": "2015-05-20T13:29:35.120+08:00", + "finish_time": "2015-05-20T13:29:35.120+08:00" + } + ] +} \ No newline at end of file