public PersonServiceTest() { this.service = new PersonService(); this.createOptions = new PersonCreateOptions { FirstName = "John", Relationship = new PersonRelationshipOptions { AccountOpener = true, Owner = true, PercentOwnership = 30.5m, } }; this.updateOptions = new PersonUpdateOptions { FirstName = "John", Relationship = new PersonRelationshipOptions { AccountOpener = true, Owner = true, PercentOwnership = 30.5m, } }; this.listOptions = new PersonListOptions { Limit = 1, Relationship = new PersonRelationshipListOptions { Director = true, } }; }
public PersonServiceTest( StripeMockFixture stripeMockFixture, MockHttpClientFixture mockHttpClientFixture) : base(stripeMockFixture, mockHttpClientFixture) { this.service = new PersonService(this.StripeClient); this.createOptions = new PersonCreateOptions { FirstName = "John", Relationship = new PersonRelationshipOptions { AccountOpener = true, Owner = true, PercentOwnership = 30.5m, }, Verification = new PersonVerificationOptions { AdditionalDocument = new PersonVerificationDocumentOptions { BackFileId = "file_abc", FrontFileId = "file_def", }, Document = new PersonVerificationDocumentOptions { BackFileId = "file_123", FrontFileId = "file_345", }, }, }; this.updateOptions = new PersonUpdateOptions { FirstName = "John", Relationship = new PersonRelationshipOptions { AccountOpener = true, Owner = true, PercentOwnership = 30.5m, } }; this.listOptions = new PersonListOptions { Limit = 1, Relationship = new PersonRelationshipListOptions { Director = true, } }; }