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); }
public void pay(AndroidTicketOrder order, AndroidOnPayListener callback) { payInner(order, callback); }