public ExternalAccountServiceTest( StripeMockFixture stripeMockFixture, MockHttpClientFixture mockHttpClientFixture) : base(stripeMockFixture, mockHttpClientFixture) { this.service = new ExternalAccountService(this.StripeClient); this.createOptions = new ExternalAccountCreateOptions { ExternalAccount = "btok_123", }; this.updateOptions = new ExternalAccountUpdateOptions { Metadata = new Dictionary <string, string> { { "key", "value" }, }, Name = "Jenny Rosen", }; this.listOptions = new ExternalAccountListOptions { Limit = 1, }; }
public ExternalAccountServiceTest(MockHttpClientFixture mockHttpClientFixture) : base(mockHttpClientFixture) { this.service = new ExternalAccountService(); this.createOptions = new ExternalAccountCreateOptions { ExternalAccountBankAccount = new AccountBankAccountOptions { AccountNumber = "000123456789", Country = "US", Currency = "usd", RoutingNumber = "110000000", } }; this.updateOptions = new ExternalAccountUpdateOptions { Metadata = new Dictionary <string, string> { { "key", "value" }, }, }; this.listOptions = new ExternalAccountListOptions { Limit = 1, }; }
public ExternalAccountServiceTest(MockHttpClientFixture mockHttpClientFixture) : base(mockHttpClientFixture) { this.service = new ExternalAccountService(); this.createOptions = new ExternalAccountCreateOptions { ExternalAccountTokenId = "btok_123", }; this.updateOptions = new ExternalAccountUpdateOptions { Metadata = new Dictionary <string, string> { { "key", "value" }, }, }; this.listOptions = new ExternalAccountListOptions { Limit = 1, }; }