public TransferReversalServiceTest( StripeMockFixture stripeMockFixture, MockHttpClientFixture mockHttpClientFixture) : base(stripeMockFixture, mockHttpClientFixture) { this.service = new TransferReversalService(this.StripeClient); this.createOptions = new TransferReversalCreateOptions { Amount = 123, }; this.updateOptions = new TransferReversalUpdateOptions { Metadata = new Dictionary <string, string> { { "key", "value" }, }, }; this.listOptions = new TransferReversalListOptions { Limit = 1, }; }
public TransferReversalServiceTest() { this.service = new TransferReversalService(); this.createOptions = new TransferReversalCreateOptions { Amount = 123, }; this.updateOptions = new TransferReversalUpdateOptions { Metadata = new Dictionary <string, string> { { "key", "value" }, }, }; this.listOptions = new TransferReversalListOptions { Limit = 1, }; }
public virtual IAsyncEnumerable <TransferReversal> ListAutoPagingAsync(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return(this.ListNestedEntitiesAutoPagingAsync(parentId, options, requestOptions, cancellationToken)); }
public virtual IEnumerable <TransferReversal> ListAutoPaging(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null) { return(this.ListNestedEntitiesAutoPaging(parentId, options, requestOptions)); }
public virtual Task <StripeList <TransferReversal> > ListAsync(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return(this.ListNestedEntitiesAsync(parentId, options, requestOptions, cancellationToken)); }
public virtual StripeList <TransferReversal> List(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null) { return(this.ListNestedEntities(parentId, options, requestOptions)); }