public void ListRecurringBill() { var recurBilling = new RecurrentBilling(new RavePayConfig(false)); var list = recurBilling.ListRecurrentBilling(new RecurringParams(TestConsts.recurringScKey)).Result; Assert.AreEqual(list.Status, "success"); Assert.IsNotNull(list.Data); }
public void ListRecurrinBillSingle() { var recurBilling = new RecurrentBilling(new RavePayConfig(false)); var list = recurBilling.ListRecurrentBilling(new RecurringParams(TestConsts.recurringScKey, sampleTxId)).Result; Trace.WriteLine(list.Data.First().Tx.Id); Assert.AreEqual(list.Status, "success"); Assert.IsNotNull(list.Data); Assert.AreEqual(list.Data.Count(), 1); }