public async Task Get_Transaction_Should_Not_Be_Null() { var request = new TransactionRequest { TransactionId = "2827-1443515082-3" }; var response = await client.GetTransaction(request); response.Should().NotBeNull(); }
public static async Task <TransactionModel> GetTransaction(string transactionId) { var response = await ClearsettleClient.GetTransaction(new TransactionRequest { TransactionId = transactionId }); return(JsonConvert.DeserializeObject <TransactionModel>(JsonConvert.SerializeObject(response, Formatting.None))); }