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,
            };
        }
Beispiel #3
0
 public virtual IAsyncEnumerable <TransferReversal> ListAutoPagingAsync(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListNestedEntitiesAutoPagingAsync(parentId, options, requestOptions, cancellationToken));
 }
Beispiel #4
0
 public virtual IEnumerable <TransferReversal> ListAutoPaging(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntitiesAutoPaging(parentId, options, requestOptions));
 }
Beispiel #5
0
 public virtual Task <StripeList <TransferReversal> > ListAsync(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListNestedEntitiesAsync(parentId, options, requestOptions, cancellationToken));
 }
Beispiel #6
0
 public virtual StripeList <TransferReversal> List(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntities(parentId, options, requestOptions));
 }