public virtual IEnumerable<StripeTransfer> List(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null) { return Mapper<StripeTransfer>.MapCollectionFromJson( Requestor.GetString(this.ApplyAllParameters(listOptions, Urls.Transfers, true), SetupRequestOptions(requestOptions)) ); }
public virtual IEnumerable <StripeTransfer> List(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null) { return(Mapper <StripeTransfer> .MapCollectionFromJson( Requestor.GetString(this.ApplyAllParameters(listOptions, Urls.Transfers, true), SetupRequestOptions(requestOptions)) )); }
public virtual async Task<IEnumerable<StripeTransfer>> ListAsync(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return Mapper<StripeTransfer>.MapCollectionFromJson( await Requestor.GetStringAsync(this.ApplyAllParameters(listOptions, Urls.Transfers, true), SetupRequestOptions(requestOptions), cancellationToken) ); }
public virtual async Task <IEnumerable <StripeTransfer> > ListAsync(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return(Mapper <StripeTransfer> .MapCollectionFromJson( await Requestor.GetStringAsync(this.ApplyAllParameters(listOptions, Urls.Transfers, true), SetupRequestOptions(requestOptions), cancellationToken) )); }
public virtual IEnumerable<StripeTransfer> List(StripeTransferListOptions listOptions = null) { var url = Urls.Transfers; url = this.ApplyAllParameters(listOptions, url, true); var response = Requestor.GetString(url, ApiKey); return Mapper<StripeTransfer>.MapCollectionFromJson(response); }
public virtual IEnumerable <StripeTransfer> List(StripeTransferListOptions listOptions = null) { var url = Urls.Transfers; url = this.ApplyAllParameters(listOptions, url, true); var response = Requestor.GetString(url, ApiKey); return(Mapper <StripeTransfer> .MapCollectionFromJson(response)); }
public virtual IEnumerable<StripeTransfer> List(StripeTransferListOptions listOptions = null) { var url = Urls.Transfers; if (listOptions != null) url = ParameterBuilder.ApplyAllParameters(listOptions, url); var response = Requestor.GetString(url, ApiKey); return Mapper.MapCollectionFromJson<StripeTransfer>(response); }
public virtual IEnumerable <StripeTransfer> List(StripeTransferListOptions listOptions = null) { var url = Urls.Transfers; if (listOptions != null) { url = ParameterBuilder.ApplyAllParameters(listOptions, url); } var response = Requestor.GetString(url, ApiKey); return(Mapper.MapCollectionFromJson <StripeTransfer>(response)); }
public virtual Task <StripeList <StripeTransfer> > ListAsync(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetEntityListAsync($"{Urls.BaseUrl}/transfers", requestOptions, cancellationToken, listOptions)); }
public virtual StripeList <StripeTransfer> List(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null) { return(GetEntityList($"{Urls.BaseUrl}/transfers", requestOptions, listOptions)); }