Пример #1
0
        public ReportRunServiceTest()
        {
            this.service = new ReportRunService();

            this.createOptions = new ReportRunCreateOptions
            {
                Parameters = new ParametersOptions
                {
                    ConnectedAccount = "acct_123",
                    IntervalStart    = DateTime.Now,
                },
                ReportType = "activity.summary.1",
            };

            this.listOptions = new ReportRunListOptions
            {
            };
        }
        public ReportRunServiceTest(
            StripeMockFixture stripeMockFixture,
            MockHttpClientFixture mockHttpClientFixture)
            : base(stripeMockFixture, mockHttpClientFixture)
        {
            this.service = new ReportRunService(this.StripeClient);

            this.createOptions = new ReportRunCreateOptions
            {
                Parameters = new ReportRunParametersOptions
                {
                    ConnectedAccount = "acct_123",
                    IntervalStart    = DateTime.Now,
                },
                ReportType = "activity.summary.1",
            };

            this.listOptions = new ReportRunListOptions
            {
            };
        }