public ApplicationFeeRefundServiceTest(
            StripeMockFixture stripeMockFixture,
            MockHttpClientFixture mockHttpClientFixture)
            : base(stripeMockFixture, mockHttpClientFixture)
        {
            this.service = new ApplicationFeeRefundService(this.StripeClient);

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

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

            this.listOptions = new ApplicationFeeRefundListOptions
            {
                Limit = 1,
            };
        }
        public ApplicationFeeRefundServiceTest()
        {
            this.service = new ApplicationFeeRefundService();

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

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

            this.listOptions = new ApplicationFeeRefundListOptions()
            {
                Limit = 1,
            };
        }
예제 #3
0
 public virtual IAsyncEnumerable <ApplicationFeeRefund> ListAutoPagingAsync(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListNestedEntitiesAutoPagingAsync(parentId, options, requestOptions, cancellationToken));
 }
예제 #4
0
 public virtual IEnumerable <ApplicationFeeRefund> ListAutoPaging(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntitiesAutoPaging(parentId, options, requestOptions));
 }
예제 #5
0
 public virtual Task <StripeList <ApplicationFeeRefund> > ListAsync(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListNestedEntitiesAsync(parentId, options, requestOptions, cancellationToken));
 }
예제 #6
0
 public virtual StripeList <ApplicationFeeRefund> List(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntities(parentId, options, requestOptions));
 }