TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripIeAgentRefundNewFillconfirmfeeRequest req = new AlitripIeAgentRefundNewFillconfirmfeeRequest();
AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundOrderFillConfirmFeeRq obj1 = new AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundOrderFillConfirmFeeRq();
obj1.setAgentId(1514L);
List<AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParam> list3 = new ArrayList<AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParam>();
AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParam obj4 = new AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParam();
list3.add(obj4);
obj4.setAlreadyUsedTotalPirce(10000L);
obj4.setNonRefundableTaxPrice(18000L);
obj4.setNonRefundableTicketPrice(28000L);
obj4.setNonRefundableTotalChangeServiceFee(0L);
obj4.setNonRefundableTotalChangeUpgradeFee(0L);
obj4.setPassengerName("ZHANG/FU");
obj1.setFeeParams(list3);
obj1.setRefundOrderId(1011176062448L);
obj1.setTotalSellerRefundMoney(50000L);
req.setParamRefundOrderFillConfirmFeeRq(obj1);
AlitripIeAgentRefundNewFillconfirmfeeResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlitripIeAgentRefundNewFillconfirmfeeRequest req = new AlitripIeAgentRefundNewFillconfirmfeeRequest();
AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundOrderFillConfirmFeeRqDomain obj1 = new AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundOrderFillConfirmFeeRqDomain();
obj1.AgentId = 1514L;
List<AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParamDomain> list3 = new List<AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParamDomain>();
AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParamDomain obj4 = new AlitripIeAgentRefundNewFillconfirmfeeRequest.RefundPassengerFeeParamDomain();
list3.Add(obj4);
obj4.AlreadyUsedTotalPirce = 10000L;
obj4.NonRefundableTaxPrice = 18000L;
obj4.NonRefundableTicketPrice = 28000L;
obj4.NonRefundableTotalChangeServiceFee = 0L;
obj4.NonRefundableTotalChangeUpgradeFee = 0L;
obj4.PassengerName = "ZHANG/FU";
obj1.FeeParams= list3;
obj1.RefundOrderId = 1011176062448L;
obj1.TotalSellerRefundMoney = 50000L;
req.ParamRefundOrderFillConfirmFeeRq_ = obj1;
AlitripIeAgentRefundNewFillconfirmfeeResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlitripIeAgentRefundNewFillconfirmfeeRequest;
$param_refund_order_fill_confirm_fee_rq = new RefundOrderFillConfirmFeeRq;
$param_refund_order_fill_confirm_fee_rq->agent_id="1514";
$fee_params = new RefundPassengerFeeParam;
$fee_params->already_used_total_pirce="10000";
$fee_params->non_refundable_tax_price="18000";
$fee_params->non_refundable_ticket_price="28000";
$fee_params->non_refundable_total_change_service_fee="0";
$fee_params->non_refundable_total_change_upgrade_fee="0";
$fee_params->passenger_name="ZHANG/FU";
$param_refund_order_fill_confirm_fee_rq->fee_params = $fee_params;
$param_refund_order_fill_confirm_fee_rq->refund_order_id="1011176062448";
$param_refund_order_fill_confirm_fee_rq->total_seller_refund_money="50000";
$req->setParamRefundOrderFillConfirmFeeRq(json_encode($param_refund_order_fill_confirm_fee_rq));
$resp = $c->execute($req, $sessionKey);
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.alitrip.ie.agent.refund.new.fillconfirmfee' \
-d 'partner_id=apidoc' \
-d 'session=5a628708-cb73-4219-b790-028ab5919343' \
-d 'sign=6D1181C2C2CCE5A76B285967FC682A91' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-04+22%3A38%3A04' \
-d 'v=2.0' \
-d 'param_refund_order_fill_confirm_fee_rq=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlitripIeAgentRefundNewFillconfirmfeeRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param_refund_order_fill_confirm_fee_rq=""
try:
resp= req.getResponse(sessionkey)
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.alitrip.ie.agent.refund.new.fillconfirmfee");
add_param(pRequest,"param_refund_order_fill_confirm_fee_rq","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,sessionKey);
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.alitrip.ie.agent.refund.new.fillconfirmfee', {
'param_refund_order_fill_confirm_fee_rq':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})