コード例 #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,
            };
        }