public ApplicationFeeServiceTest()
        {
            this.service = new ApplicationFeeService();

            this.listOptions = new ApplicationFeeListOptions()
            {
                Limit = 1,
            };
        }
Exemplo n.º 2
0
        public virtual async Task <IEnumerable <ApplicationFee> > List(ApplicationFeeListOptions options)
        {
            var url = Urls.ApplicationFees;

            url = this.ApplyAllParameters(options, url, true);

            var response = await Requestor.Get(url);

            return(Mapper <ApplicationFee> .MapCollectionFromJson(response));
        }
Exemplo n.º 3
0
        public ApplicationFeeServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new ApplicationFeeService();

            this.listOptions = new ApplicationFeeListOptions
            {
                Limit = 1,
            };
        }
Exemplo n.º 4
0
        public ApplicationFeeServiceTest(
            StripeMockFixture stripeMockFixture,
            MockHttpClientFixture mockHttpClientFixture)
            : base(stripeMockFixture, mockHttpClientFixture)
        {
            this.service = new ApplicationFeeService(this.StripeClient);

            this.listOptions = new ApplicationFeeListOptions
            {
                Limit = 1,
            };
        }