protected void Button10_Click(object sender, EventArgs e)//完成订单接口 { List <order> list = new List <order>(); for (int i = 1; i < 4; i++) {//商品唯一编号 商品名称 商品数量 商品价格(单位 元) list.Add(new order() { code = "AD100292", goods = "2015新款男士春秋韩版休闲夹克男春装外套修身薄款青年连帽夹克潮", number = i, price = "100" }); } CheckTransactionCompletionService port = new CheckTransactionCompletionService(); port.ClientCertificates.Add(certificate); String ruslet = port._CheckTransactionCompletion(businessid, storesId, cardNumber, "200.39", 1, "2222", "222333", "2012-08-10 00:00:00", GetToJson.GetJson <List <order> >(list), 1); MsgBox(ruslet); }
protected void Button2_Click(object sender, EventArgs e)//获取积分交易短信验证码接口 { List <order> list = new List <order>(); for (int i = 1; i < 4; i++) {//商品唯一编号 商品名称 商品数量 商品价格(单位 元) list.Add(new order() { code = "AD100292", goods = "2015新款男士春秋韩版休闲夹克男春装外套修身薄款青年连帽夹克潮", number = i, price = "100" }); } GetPayUserIntegralVerificationCodeService port = new GetPayUserIntegralVerificationCodeService(); port.ClientCertificates.Add(certificate); String ruslet = port._GetPayUserIntegralVerificationCode(businessid, storesId, cardNumber, "90", "100001", "1111001", "2012-12-02 00:00:00", GetToJson.GetJson <List <order> >(list)); MsgBox(ruslet); }