示例#1
0
        public void payWithTicketId(string ticketId, PaySDKChannel channel, PaySDKHandler handler)
        {
            AndroidTicketOrder aOrder = new AndroidTicketOrder();

            aOrder.setTicketId(ticketId);
            AndroidPayApi        api      = createPayApi(channel);
            AndroidOnPayListener listener = AndroidOnPayListener.create(api, aOrder, handler);

            api.pay(aOrder, listener);
        }
示例#2
0
 public void pay(AndroidTicketOrder order, AndroidOnPayListener callback)
 {
     payInner(order, callback);
 }