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