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))
     );
 }
Exemplo n.º 2
0
 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)
     );
 }
Exemplo n.º 4
0
 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);
        }
Exemplo n.º 6
0
        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));
        }
Exemplo n.º 7
0
		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);
		}
Exemplo n.º 8
0
        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));
        }
Exemplo n.º 9
0
 public virtual Task <StripeList <StripeTransfer> > ListAsync(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetEntityListAsync($"{Urls.BaseUrl}/transfers", requestOptions, cancellationToken, listOptions));
 }
Exemplo n.º 10
0
 public virtual StripeList <StripeTransfer> List(StripeTransferListOptions listOptions = null, StripeRequestOptions requestOptions = null)
 {
     return(GetEntityList($"{Urls.BaseUrl}/transfers", requestOptions, listOptions));
 }