public void onResponse(JsonObject o1) { try { FaspayPaymentChannelResponse r = JsonConvert.DeserializeObject <FaspayPaymentChannelResponse>(o1.ToString()); if (mCallback != null) { mCallback.onGetPaymentChannel(r); } } catch (Exception e) { if (mCallback != null) { mCallback.onErrorGetPaymentChannel(e); } } }