public void onPayFailed(string msg) { var data = SimpleJSON.JSONNode.Parse(msg); PayResult result = new PayResult(); result.cpOrderId = data["cpOrderId"].Value; result.orderId = data["orderId"].Value; result.extraParam = data["extraParam"].Value; onPayFailed(result); }
public abstract void onPayFailed(PayResult payResult);
public abstract void onPayCancel(PayResult payResult);
public abstract void onPaySuccess(PayResult payResult);