Ejemplo n.º 1
0
        public async Task <PaymentInfoResponseObj> CreatePaymentInfoAsync(PaymentInfoRequestObj req)
        {
            var res = new PaymentInfoResponseObj();

            var json = await _requester.CreateTestPostRequestAsync(CreatePaymentInfoUrl, JsonConvert.SerializeObject(req), null, false);

            if (json != null)
            {
                res = JsonConvert.DeserializeObject <PaymentInfoResponseObj>(json);
            }

            return(res);
        }
Ejemplo n.º 2
0
        public async Task <MonitoringInfoResponseObj> UpdateMonitoringInfoAsync(MonitoringInfoRequestObj req)
        {
            var res = new MonitoringInfoResponseObj();

            var json = await _requester.CreateTestPostRequestAsync(UpdateMonitoringInfoUrl, JsonConvert.SerializeObject(req), null, false);

            if (json != null)
            {
                res = JsonConvert.DeserializeObject <MonitoringInfoResponseObj>(json);
            }

            return(res);
        }