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, }; }
public virtual IAsyncEnumerable <ApplicationFeeRefund> ListAutoPagingAsync(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return(this.ListNestedEntitiesAutoPagingAsync(parentId, options, requestOptions, cancellationToken)); }
public virtual IEnumerable <ApplicationFeeRefund> ListAutoPaging(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null) { return(this.ListNestedEntitiesAutoPaging(parentId, options, requestOptions)); }
public virtual Task <StripeList <ApplicationFeeRefund> > ListAsync(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return(this.ListNestedEntitiesAsync(parentId, options, requestOptions, cancellationToken)); }
public virtual StripeList <ApplicationFeeRefund> List(string parentId, ApplicationFeeRefundListOptions options = null, RequestOptions requestOptions = null) { return(this.ListNestedEntities(parentId, options, requestOptions)); }