Exemple #1
0
 public virtual StripeList <StripeBalanceTransaction> List(StripeBalanceTransactionListOptions listOptions = null, StripeRequestOptions requestOptions = null)
 {
     return(Mapper <StripeList <StripeBalanceTransaction> > .MapFromJson(
                Requestor.GetString(
                    this.ApplyAllParameters(listOptions, Urls.BalanceTransactions, true),
                    this.SetupRequestOptions(requestOptions))));
 }
 public virtual IEnumerable <StripeBalanceTransaction> List(StripeBalanceTransactionListOptions options = null, StripeRequestOptions requestOptions = null)
 {
     return(Mapper <StripeBalanceTransaction> .MapCollectionFromJson(
                Requestor.GetString(this.ApplyAllParameters(options, Urls.BalanceTransactions, true),
                                    SetupRequestOptions(requestOptions))
                ));
 }
 public virtual IEnumerable<StripeBalanceTransaction> List(StripeBalanceTransactionListOptions options = null, StripeRequestOptions requestOptions = null)
 {
     return Mapper<StripeBalanceTransaction>.MapCollectionFromJson(
         Requestor.GetString(this.ApplyAllParameters(options, Urls.BalanceTransactions, true),
         SetupRequestOptions(requestOptions))
     );
 }
Exemple #4
0
 public virtual async Task <StripeList <StripeBalanceTransaction> > ListAsync(StripeBalanceTransactionListOptions options = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Mapper <StripeList <StripeBalanceTransaction> > .MapFromJson(
                await Requestor.GetStringAsync(
                    this.ApplyAllParameters(options, Urls.BalanceTransactions, true),
                    this.SetupRequestOptions(requestOptions),
                    cancellationToken).ConfigureAwait(false)));
 }
 public virtual async Task<IEnumerable<StripeBalanceTransaction>> ListAsync(StripeBalanceTransactionListOptions options = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return Mapper<StripeBalanceTransaction>.MapCollectionFromJson(
         await Requestor.GetStringAsync(this.ApplyAllParameters(options, Urls.BalanceTransactions, true),
         SetupRequestOptions(requestOptions), 
         cancellationToken)
     );
 }
		public virtual IEnumerable<StripeBalanceTransaction> List(StripeBalanceTransactionListOptions options = null)
		{
			var url = Urls.BalanceTransactions;
			url = this.ApplyAllParameters(options, url, true);

			var response = Requestor.GetString(url, ApiKey);

			return Mapper<StripeBalanceTransaction>.MapCollectionFromJson(response);
		}
        public virtual IEnumerable <StripeBalanceTransaction> List(StripeBalanceTransactionListOptions options = null)
        {
            var url = Urls.BalanceTransactions;

            url = this.ApplyAllParameters(options, url, true);

            var response = Requestor.GetString(url, ApiKey);

            return(Mapper <StripeBalanceTransaction> .MapCollectionFromJson(response));
        }
		public virtual IEnumerable<StripeBalanceTransaction> List(StripeBalanceTransactionListOptions options = null)
		{
			var url = Urls.BalanceTransactions;

			if (options != null)
				url = ParameterBuilder.ApplyAllParameters(options, url);

			var response = Requestor.GetString(url);

			return Mapper.MapCollectionFromJson<StripeBalanceTransaction>(response);
		}
        public virtual IEnumerable <StripeBalanceTransaction> List(StripeBalanceTransactionListOptions options = null)
        {
            var url = Urls.BalanceTransactions;

            if (options != null)
            {
                url = ParameterBuilder.ApplyAllParameters(options, url);
            }

            var response = Requestor.GetString(url);

            return(Mapper.MapCollectionFromJson <StripeBalanceTransaction>(response));
        }
 public virtual async Task <IEnumerable <StripeBalanceTransaction> > ListAsync(StripeBalanceTransactionListOptions options = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Mapper <StripeBalanceTransaction> .MapCollectionFromJson(
                await Requestor.GetStringAsync(this.ApplyAllParameters(options, Urls.BalanceTransactions, true),
                                               SetupRequestOptions(requestOptions),
                                               cancellationToken)
                ));
 }