Exemplo n.º 1
0
        public void ListOrderByFilterAmountLessThan()
        {
            int amount = 600;

            Refund.Filter filter  = Refund.CreateFilter().ByAmountLessThan(amount);
            List <Refund> refunds = _paymill.RefundService.ListAsync(filter, null).Result.Data;

            foreach (var pre in refunds)
            {
                Assert.IsFalse(pre.Amount >= amount);
            }
        }