public virtual StripeList <ReportType> List(ReportTypeListOptions listOptions = null, StripeRequestOptions requestOptions = null) { return(Mapper <StripeList <ReportType> > .MapFromJson( Requestor.GetString( this.ApplyAllParameters(listOptions, classUrl, true), this.SetupRequestOptions(requestOptions)))); }
public ReportTypeServiceTest() { this.service = new ReportTypeService(); this.listOptions = new ReportTypeListOptions { }; }
public virtual async Task <StripeList <ReportType> > ListAsync(ReportTypeListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return(Mapper <StripeList <ReportType> > .MapFromJson( await Requestor.GetStringAsync( this.ApplyAllParameters(listOptions, classUrl, true), this.SetupRequestOptions(requestOptions), cancellationToken).ConfigureAwait(false))); }
public ReportTypeServiceTest(MockHttpClientFixture mockHttpClientFixture) : base(mockHttpClientFixture) { this.service = new ReportTypeService(); this.listOptions = new ReportTypeListOptions { }; }
public ReportTypeServiceTest( StripeMockFixture stripeMockFixture, MockHttpClientFixture mockHttpClientFixture) : base(stripeMockFixture, mockHttpClientFixture) { this.service = new ReportTypeService(this.StripeClient); this.listOptions = new ReportTypeListOptions { }; }
public virtual IEnumerable <ReportType> ListAutoPaging(ReportTypeListOptions options = null, RequestOptions requestOptions = null) { return(this.ListEntitiesAutoPaging(options, requestOptions)); }
public virtual Task <StripeList <ReportType> > ListAsync(ReportTypeListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return(this.ListEntitiesAsync(options, requestOptions, cancellationToken)); }
public virtual StripeList <ReportType> List(ReportTypeListOptions options = null, RequestOptions requestOptions = null) { return(this.ListEntities(options, requestOptions)); }
public virtual IAsyncEnumerable <ReportType> ListAutoPagingAsync(ReportTypeListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return(this.ListEntitiesAutoPagingAsync(options, requestOptions, cancellationToken)); }