TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TaojieParkingPaybillSyncRequest req = new TaojieParkingPaybillSyncRequest();
List<TaojieParkingPaybillSyncRequest.IsvPayBillDto> list2 = new ArrayList<TaojieParkingPaybillSyncRequest.IsvPayBillDto>();
TaojieParkingPaybillSyncRequest.IsvPayBillDto obj3 = new TaojieParkingPaybillSyncRequest.IsvPayBillDto();
list2.add(obj3);
obj3.setRealFee(1789L);
obj3.setJstMerchantNo("000000008022131");
obj3.setBusinessTypeDesc("停车");
obj3.setOrderFee(1880L);
obj3.setTradeDate(StringUtils.parseDateTime("2020-10-15 00:00:00"));
obj3.setParkId("js19010");
obj3.setMerchantName("浙江银泰百货有限公司北京大红门分公司");
obj3.setMerchantBillNo("BK201008102713295p20062252016729");
obj3.setMerchantTypeDesc("二级商户");
obj3.setCarNo("浙A12345");
obj3.setServiceChargeFee(11L);
obj3.setBusinessType("09");
obj3.setBillNo("23232232323");
obj3.setMerchantType("1");
obj3.setOriginFee(1800L);
obj3.setMerchantNo("1789");
obj3.setCloudBillNo("BK201008102713295p20062252016729");
req.setIsvPayBillDto(list2);
TaojieParkingPaybillSyncResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TaojieParkingPaybillSyncRequest req = new TaojieParkingPaybillSyncRequest();
List<TaojieParkingPaybillSyncRequest.IsvPayBillDtoDomain> list2 = new List<TaojieParkingPaybillSyncRequest.IsvPayBillDtoDomain>();
TaojieParkingPaybillSyncRequest.IsvPayBillDtoDomain obj3 = new TaojieParkingPaybillSyncRequest.IsvPayBillDtoDomain();
list2.Add(obj3);
obj3.RealFee = 1789L;
obj3.JstMerchantNo = "000000008022131";
obj3.BusinessTypeDesc = "停车";
obj3.OrderFee = 1880L;
obj3.TradeDate = DateTime.Parse(2020-10-15 00:00:00");
obj3.ParkId = "js19010";
obj3.MerchantName = "浙江银泰百货有限公司北京大红门分公司";
obj3.MerchantBillNo = "BK201008102713295p20062252016729";
obj3.MerchantTypeDesc = "二级商户";
obj3.CarNo = "浙A12345";
obj3.ServiceChargeFee = 11L;
obj3.BusinessType = "09";
obj3.BillNo = "23232232323";
obj3.MerchantType = "1";
obj3.OriginFee = 1800L;
obj3.MerchantNo = "1789";
obj3.CloudBillNo = "BK201008102713295p20062252016729";
req.IsvPayBillDto_ = list2;
TaojieParkingPaybillSyncResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TaojieParkingPaybillSyncRequest;
$isv_pay_bill_dto = new IsvPayBillDto;
$isv_pay_bill_dto->real_fee="1789";
$isv_pay_bill_dto->jst_merchant_no="000000008022131";
$isv_pay_bill_dto->business_type_desc="停车";
$isv_pay_bill_dto->order_fee="1880";
$isv_pay_bill_dto->trade_date="2020-10-15 00:00:00";
$isv_pay_bill_dto->park_id="js19010";
$isv_pay_bill_dto->merchant_name="浙江银泰百货有限公司北京大红门分公司";
$isv_pay_bill_dto->merchant_bill_no="BK201008102713295p20062252016729";
$isv_pay_bill_dto->merchant_type_desc="二级商户";
$isv_pay_bill_dto->car_no="浙A12345";
$isv_pay_bill_dto->service_charge_fee="11";
$isv_pay_bill_dto->business_type="09";
$isv_pay_bill_dto->bill_no="23232232323";
$isv_pay_bill_dto->merchant_type="1";
$isv_pay_bill_dto->origin_fee="1800";
$isv_pay_bill_dto->merchant_no="1789";
$isv_pay_bill_dto->cloud_bill_no="BK201008102713295p20062252016729";
$req->setIsvPayBillDto(json_encode($isv_pay_bill_dto));
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=taobao.taojie.parking.paybill.sync' \
-d 'partner_id=apidoc' \
-d 'sign=DAB5C777DB809D672CF6BB73EA29EBDB' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-23+16%3A51%3A15' \
-d 'v=2.0' \
-d 'isv_pay_bill_dto=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TaojieParkingPaybillSyncRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.isv_pay_bill_dto=""
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"taobao.taojie.parking.paybill.sync");
add_param(pRequest,"isv_pay_bill_dto","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('taobao.taojie.parking.paybill.sync', {
'isv_pay_bill_dto':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})