public void SettlementSearch_ByDate_Test()
        {
            var client = CreateRapidApiClient();
            //Arrange

            //Act
            var settlementSearch = new SettlementSearchRequest() { ReportMode = SettlementSearchMode.Both, SettlementDate = "2016-02-01" };
            var settlementResponse = client.SettlementSearch(settlementSearch);

            //Assert
            Assert.IsNotNull(settlementResponse);
        }
        public void SettlementSearch_WithPage_Test()
        {
            var client = CreateRapidApiClient();
            //Arrange

            //Act
            var settlementSearch = new SettlementSearchRequest()
            {
                ReportMode = SettlementSearchMode.TransactionOnly,
                SettlementDate = "2016-02-01",
                Page = 1,
                PageSize = 5
            };
            var settlementResponse = client.SettlementSearch(settlementSearch);

            //Assert
            Assert.IsNotNull(settlementResponse);
            Assert.IsTrue(settlementResponse.SettlementTransactions.Length < 6);
        }
        public void SettlementSearch_ByDateRange_Test()
        {
            var client = CreateRapidApiClient();
            //Arrange

            //Act
            var settlementSearch = new SettlementSearchRequest() {
                ReportMode = SettlementSearchMode.Both,
                StartDate = "2016-02-01",
                EndDate = "2016-02-08",
                CardType = CardType.ALL,
            };
            var settlementResponse = client.SettlementSearch(settlementSearch);

            //Assert
            Assert.IsNotNull(settlementResponse);
            Assert.IsTrue(settlementResponse.SettlementTransactions.Length > 1);
            Assert.IsTrue(settlementResponse.SettlementSummaries.Length > 1);
        }