public WebhookEndpointServiceTest( StripeMockFixture stripeMockFixture, MockHttpClientFixture mockHttpClientFixture) : base(stripeMockFixture, mockHttpClientFixture) { this.service = new WebhookEndpointService(this.StripeClient); this.createOptions = new WebhookEndpointCreateOptions { EnabledEvents = new List <string> { "charge.succeeded", }, Url = "https://stripe.com", }; this.updateOptions = new WebhookEndpointUpdateOptions { EnabledEvents = new List <string> { "charge.succeeded", }, }; this.listOptions = new WebhookEndpointListOptions { Limit = 1, }; }
public WebhookEndpointServiceTest() { this.service = new WebhookEndpointService(); this.createOptions = new WebhookEndpointCreateOptions() { EnabledEvents = new string[] { "charge.succeeded", }, Url = "https://stripe.com", }; this.updateOptions = new WebhookEndpointUpdateOptions() { EnabledEvents = new string[] { "charge.succeeded", }, }; this.listOptions = new WebhookEndpointListOptions() { Limit = 1, }; }