コード例 #1
0
        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,
            };
        }
コード例 #2
0
        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,
            };
        }
コード例 #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));
 }
コード例 #4
0
 public virtual IEnumerable <TransferReversal> ListAutoPaging(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntitiesAutoPaging(parentId, options, requestOptions));
 }
コード例 #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));
 }
コード例 #6
0
 public virtual StripeList <TransferReversal> List(string parentId, TransferReversalListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntities(parentId, options, requestOptions));
 }