public StripeApplicationFeeRefundServiceTest()
        {
            this.service = new StripeApplicationFeeRefundService();

            this.createOptions = new StripeApplicationFeeRefundCreateOptions
            {
                Amount = 123,
            };

            this.updateOptions = new StripeApplicationFeeRefundUpdateOptions()
            {
                Metadata = new Dictionary <string, string>()
                {
                    { "key", "value" },
                },
            };

            this.listOptions = new StripeApplicationFeeRefundListOptions()
            {
                Limit = 1,
            };
        }
 public virtual Task <StripeList <StripeApplicationFeeRefund> > ListAsync(string applicationFeeId, StripeApplicationFeeRefundListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetEntityListAsync($"{Urls.BaseUrl}/application_fees/{applicationFeeId}/refunds", requestOptions, cancellationToken, listOptions));
 }
 public virtual StripeList <StripeApplicationFeeRefund> List(string applicationFeeId, StripeApplicationFeeRefundListOptions listOptions = null, StripeRequestOptions requestOptions = null)
 {
     return(GetEntityList($"{Urls.BaseUrl}/application_fees/{applicationFeeId}/refunds", requestOptions, listOptions));
 }