public RefundServiceTest( StripeMockFixture stripeMockFixture, MockHttpClientFixture mockHttpClientFixture) : base(stripeMockFixture, mockHttpClientFixture) { this.service = new RefundService(this.StripeClient); this.createOptions = new RefundCreateOptions { Amount = 123, ChargeId = "ch_123", }; this.updateOptions = new RefundUpdateOptions { Metadata = new Dictionary <string, string> { { "key", "value" }, }, }; this.listOptions = new RefundListOptions { Limit = 1, }; }
public RefundServiceTest() { this.service = new RefundService(); this.createOptions = new RefundCreateOptions { Amount = 123, ChargeId = "ch_123", }; this.updateOptions = new RefundUpdateOptions { Metadata = new Dictionary <string, string> { { "key", "value" }, }, }; this.listOptions = new RefundListOptions { Limit = 1, }; }