public StripeApplePayDomainServiceTest() { this.service = new StripeApplePayDomainService(); this.createOptions = new StripeApplePayDomainCreateOptions() { DomainName = "example.com" }; this.listOptions = new StripeApplePayDomainListOptions() { Limit = 2, }; }
public apple_pay_domains_fixture() { DomainCreateOptions = new StripeApplePayDomainCreateOptions { DomainName = "example.com" }; DomainListOptions = new StripeApplePayDomainListOptions(); var service = new StripeApplePayDomainService(Cache.ApiKey); Domain = service.Create(DomainCreateOptions); DomainRetrieved = service.Get(Domain.Id); Domains = service.List(DomainListOptions); service.Delete(Domain.Id); }