Ejemplo n.º 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))));
 }
Ejemplo n.º 2
0
 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))
     );
 }
Ejemplo n.º 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)
     );
 }
Ejemplo n.º 6
0
		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);
		}
Ejemplo n.º 7
0
        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));
        }
Ejemplo n.º 8
0
		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);
		}
Ejemplo n.º 9
0
        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));
        }
Ejemplo n.º 10
0
 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)
                ));
 }