public virtual StripeList <StripePlan> List(StripePlanListOptions listOptions = null, StripeRequestOptions requestOptions = null)
 {
     return(Mapper <StripeList <StripePlan> > .MapFromJson(
                Requestor.GetString(this.ApplyAllParameters(listOptions, Urls.Plans, true),
                                    SetupRequestOptions(requestOptions))
                ));
 }
 public virtual async Task <StripeList <StripePlan> > ListAsync(StripePlanListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Mapper <StripeList <StripePlan> > .MapFromJson(
                await Requestor.GetStringAsync(this.ApplyAllParameters(listOptions, Urls.Plans, true),
                                               SetupRequestOptions(requestOptions),
                                               cancellationToken).ConfigureAwait(false)
                ));
 }