Exemplo n.º 1
0
        public ExchangeRateServiceTest()
        {
            this.service = new ExchangeRateService();

            this.listOptions = new ExchangeRateListOptions()
            {
                Limit = 1,
            };
        }
Exemplo n.º 2
0
        public ExchangeRateServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new ExchangeRateService();

            this.listOptions = new ExchangeRateListOptions
            {
                Limit = 1,
            };
        }
Exemplo n.º 3
0
        public ExchangeRateServiceTest(
            StripeMockFixture stripeMockFixture,
            MockHttpClientFixture mockHttpClientFixture)
            : base(stripeMockFixture, mockHttpClientFixture)
        {
            this.service = new ExchangeRateService(this.StripeClient);

            this.listOptions = new ExchangeRateListOptions
            {
                Limit = 1,
            };
        }
 public virtual IEnumerable <ExchangeRate> ListAutoPaging(ExchangeRateListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntitiesAutoPaging(options, requestOptions));
 }
 public virtual Task <StripeList <ExchangeRate> > ListAsync(ExchangeRateListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.ListEntitiesAsync(options, requestOptions, cancellationToken));
 }
 public virtual StripeList <ExchangeRate> List(ExchangeRateListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }
Exemplo n.º 7
0
 public virtual IAsyncEnumerable <ExchangeRate> ListAutoPagingAsync(ExchangeRateListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListEntitiesAutoPagingAsync(options, requestOptions, cancellationToken));
 }