stripe 6.0.0 → 6.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56384c5d588a2d922c4cd813adfd6015bce5169cd334ae8dd6f45c16fcb07392
4
- data.tar.gz: 5f9460024d8c4d1b7cd0ac44883d4aa9a3ed52e0104b129bdf0eacfff62e1698
3
+ metadata.gz: fbc52fa0e9fcfaf1ffdb6427a94285ccf90daacfb9c212400dc3f25dd2bd3ce4
4
+ data.tar.gz: c3d8a2d531140836ee11a4aa80f7244226fe1c4cf106ef439820fe5bddb426c5
5
5
  SHA512:
6
- metadata.gz: 7b53fda899dfd3e44e27482860880228f93c3948425fef83c33ff106504cdae9441a3438488f80416946f653736389491cd5fc0c5e5e6d2ed604ffc50aa6a013
7
- data.tar.gz: 602f93db8d61c5f7953e7f930eb7e74d09a0bc01fc02b32277cd6335a12cb93fa7f5c2767b111bac5c4d19a129fc1ed6749780cb8d1285d52e342f87523c47ee
6
+ metadata.gz: 575263394c5d6275016782f492ce1f7e334d003ad9479ef6016521800527006ef6c1a67fbe0e6e58afae64e32b35bc722290763b5d8b588d7263377f86925ef1
7
+ data.tar.gz: 044c6379ba0974f110e1a348a7eeeb0f0ada68fbbeb7ae6a4e8939c2f6597c7fb0a080aab7c58de77b33beecc2ffe551b90ed471c63544b74f9e0725389dfb71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.3.0 - 2022-06-08
4
+ * [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
5
+
6
+ ## 6.2.0 - 2022-05-23
7
+ * [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
8
+ * Add support for new resource `Apps.Secret`
9
+
10
+ ## 6.1.0 - 2022-05-19
11
+ * [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
12
+ * Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
13
+ * Add support for `retrieve_payment_method` method on resource `Customer`
14
+ * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
15
+
16
+
17
+
3
18
  ## 6.0.0 - 2022-05-09
4
19
  * [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
5
20
  Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
@@ -13,8 +28,8 @@
13
28
 
14
29
  ## 5.55.0 - 2022-05-05
15
30
  * [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
16
- * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
17
-
31
+ * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
32
+
18
33
 
19
34
  ## 5.54.0 - 2022-05-03
20
35
  * [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
data/OPENAPI_VERSION ADDED
@@ -0,0 +1 @@
1
+ v152
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Stripe Ruby Library
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/stripe.svg)](https://badge.fury.io/rb/stripe)
4
- [![Build Status](https://travis-ci.org/stripe/stripe-ruby.svg?branch=master)](https://travis-ci.org/stripe/stripe-ruby)
4
+ [![Build Status](https://github.com/stripe/stripe-ruby/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-ruby/actions?query=branch%3Amaster)
5
5
 
6
6
  The Stripe Ruby library provides convenient access to the Stripe API from
7
7
  applications written in the Ruby language. It includes a pre-defined set of
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.0.0
1
+ 6.3.0
@@ -8,6 +8,8 @@ module Stripe
8
8
  # class MyAPIResource < APIResource
9
9
  # class TestHelpers < APIResourceTestHelpers
10
10
  class APIResourceTestHelpers
11
+ include Stripe::APIOperations::Request
12
+
11
13
  def initialize(resource)
12
14
  @resource = resource
13
15
  end
@@ -18,6 +18,7 @@ module Stripe
18
18
  ApplePayDomain::OBJECT_NAME => ApplePayDomain,
19
19
  ApplicationFee::OBJECT_NAME => ApplicationFee,
20
20
  ApplicationFeeRefund::OBJECT_NAME => ApplicationFeeRefund,
21
+ Apps::Secret::OBJECT_NAME => Apps::Secret,
21
22
  Balance::OBJECT_NAME => Balance,
22
23
  BalanceTransaction::OBJECT_NAME => BalanceTransaction,
23
24
  BankAccount::OBJECT_NAME => BankAccount,
@@ -107,6 +108,16 @@ module Stripe
107
108
  Token::OBJECT_NAME => Token,
108
109
  Topup::OBJECT_NAME => Topup,
109
110
  Transfer::OBJECT_NAME => Transfer,
111
+ Treasury::CreditReversal::OBJECT_NAME => Treasury::CreditReversal,
112
+ Treasury::DebitReversal::OBJECT_NAME => Treasury::DebitReversal,
113
+ Treasury::FinancialAccount::OBJECT_NAME => Treasury::FinancialAccount,
114
+ Treasury::InboundTransfer::OBJECT_NAME => Treasury::InboundTransfer,
115
+ Treasury::OutboundPayment::OBJECT_NAME => Treasury::OutboundPayment,
116
+ Treasury::OutboundTransfer::OBJECT_NAME => Treasury::OutboundTransfer,
117
+ Treasury::ReceivedCredit::OBJECT_NAME => Treasury::ReceivedCredit,
118
+ Treasury::ReceivedDebit::OBJECT_NAME => Treasury::ReceivedDebit,
119
+ Treasury::Transaction::OBJECT_NAME => Treasury::Transaction,
120
+ Treasury::TransactionEntry::OBJECT_NAME => Treasury::TransactionEntry,
110
121
  UsageRecord::OBJECT_NAME => UsageRecord,
111
122
  UsageRecordSummary::OBJECT_NAME => UsageRecordSummary,
112
123
  WebhookEndpoint::OBJECT_NAME => WebhookEndpoint,
@@ -0,0 +1,33 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Apps
6
+ class Secret < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "apps.secret"
11
+
12
+ def self.delete_where(params = {}, opts = {})
13
+ resp, opts = execute_resource_request(
14
+ :post,
15
+ resource_url + "/delete",
16
+ params,
17
+ opts
18
+ )
19
+ Util.convert_to_stripe_object(resp.data, opts)
20
+ end
21
+
22
+ def self.find(params = {}, opts = {})
23
+ resp, opts = execute_resource_request(
24
+ :get,
25
+ resource_url + "/find",
26
+ params,
27
+ opts
28
+ )
29
+ Util.convert_to_stripe_object(resp.data, opts)
30
+ end
31
+ end
32
+ end
33
+ end
@@ -15,9 +15,6 @@ module Stripe
15
15
  custom_method :create_funding_instructions, http_verb: :post, http_path: "funding_instructions"
16
16
  custom_method :list_payment_methods, http_verb: :get, http_path: "payment_methods"
17
17
 
18
- nested_resource_class_methods :cash_balance,
19
- operations: %i[retrieve update],
20
- resource_plural: "cash_balance"
21
18
  nested_resource_class_methods :balance_transaction,
22
19
  operations: %i[create retrieve update list]
23
20
  nested_resource_class_methods :tax_id,
@@ -41,6 +38,30 @@ module Stripe
41
38
  )
42
39
  end
43
40
 
41
+ def retrieve_payment_method(payment_method, params = {}, opts = {})
42
+ request_stripe_object(
43
+ method: :get,
44
+ path: format("/v1/customers/%<customer>s/payment_methods/%<payment_method>s", { customer: CGI.escape(self["id"]), payment_method: CGI.escape(payment_method) }),
45
+ params: params,
46
+ opts: opts
47
+ )
48
+ end
49
+
50
+ def self.retrieve_payment_method(
51
+ customer,
52
+ payment_method,
53
+ params = {},
54
+ opts = {}
55
+ )
56
+ resp, opts = execute_resource_request(
57
+ :get,
58
+ format("/v1/customers/%<customer>s/payment_methods/%<payment_method>s", { customer: CGI.escape(customer), payment_method: CGI.escape(payment_method) }),
59
+ params,
60
+ opts
61
+ )
62
+ Util.convert_to_stripe_object(resp.data, opts)
63
+ end
64
+
44
65
  custom_method :delete_discount, http_verb: :delete, http_path: "discount"
45
66
 
46
67
  save_nested_resource :source
@@ -70,5 +91,45 @@ module Stripe
70
91
  def self.search_auto_paging_each(params = {}, opts = {}, &blk)
71
92
  search(params, opts).auto_paging_each(&blk)
72
93
  end
94
+
95
+ def self.retrieve_cash_balance(
96
+ customer,
97
+ opts_or_unused_nested_id = nil,
98
+ opts = {}
99
+ )
100
+ # Support two call patterns for backwards compatibility.
101
+ # 1. Legacy: (nil unused nested_id, opts)
102
+ # 2. Fixed pattern: (opts)
103
+ if !opts_or_unused_nested_id.nil? && opts_or_unused_nested_id.class == Hash && opts.empty?
104
+ opts = opts_or_unused_nested_id
105
+ end
106
+ resp, opts = execute_resource_request(
107
+ :get,
108
+ format("/v1/customers/%<customer>s/cash_balance", { customer: CGI.escape(customer) }),
109
+ {},
110
+ opts
111
+ )
112
+ Util.convert_to_stripe_object(resp.data, opts)
113
+ end
114
+
115
+ def self.update_cash_balance(
116
+ customer,
117
+ unused_nested_id = nil,
118
+ params = {},
119
+ opts = {}
120
+ )
121
+ # Do not allow passing in a hash as the second argument, as we require a nil for compatibility reasons. We cannot differentiate from a legacy pattern (nil, params) and a modern pattern (nil for params, opts).
122
+ if !unused_nested_id.nil? && unused_nested_id.class == Hash
123
+ raise ArgumentError, "update_cash_balance requires the second argument always be nil for legacy reasons."
124
+ end
125
+
126
+ resp, opts = execute_resource_request(
127
+ :post,
128
+ format("/v1/customers/%<customer>s/cash_balance", { customer: CGI.escape(customer) }),
129
+ params,
130
+ opts
131
+ )
132
+ Util.convert_to_stripe_object(resp.data, opts)
133
+ end
73
134
  end
74
135
  end
@@ -4,9 +4,12 @@
4
4
  module Stripe
5
5
  module FinancialConnections
6
6
  class Account < APIResource
7
+ extend Stripe::APIOperations::List
8
+
7
9
  OBJECT_NAME = "financial_connections.account"
8
10
 
9
11
  custom_method :disconnect, http_verb: :post
12
+ custom_method :list_owners, http_verb: :get, http_path: "owners"
10
13
  custom_method :refresh_account, http_verb: :post, http_path: "refresh"
11
14
 
12
15
  def disconnect(params = {}, opts = {})
@@ -18,6 +21,15 @@ module Stripe
18
21
  )
19
22
  end
20
23
 
24
+ def list_owners(params = {}, opts = {})
25
+ request_stripe_object(
26
+ method: :get,
27
+ path: resource_url + "/owners",
28
+ params: params,
29
+ opts: opts
30
+ )
31
+ end
32
+
21
33
  def refresh_account(params = {}, opts = {})
22
34
  request_stripe_object(
23
35
  method: :post,
@@ -0,0 +1,13 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class CreditReversal < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "treasury.credit_reversal"
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class DebitReversal < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "treasury.debit_reversal"
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,35 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class FinancialAccount < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+ include Stripe::APIOperations::Save
10
+
11
+ OBJECT_NAME = "treasury.financial_account"
12
+
13
+ custom_method :retrieve_features, http_verb: :get, http_path: "features"
14
+ custom_method :update_features, http_verb: :post, http_path: "features"
15
+
16
+ def retrieve_features(params = {}, opts = {})
17
+ request_stripe_object(
18
+ method: :get,
19
+ path: resource_url + "/features",
20
+ params: params,
21
+ opts: opts
22
+ )
23
+ end
24
+
25
+ def update_features(params = {}, opts = {})
26
+ request_stripe_object(
27
+ method: :post,
28
+ path: resource_url + "/features",
29
+ params: params,
30
+ opts: opts
31
+ )
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,63 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class InboundTransfer < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "treasury.inbound_transfer"
11
+
12
+ custom_method :cancel, http_verb: :post
13
+
14
+ def cancel(params = {}, opts = {})
15
+ request_stripe_object(
16
+ method: :post,
17
+ path: resource_url + "/cancel",
18
+ params: params,
19
+ opts: opts
20
+ )
21
+ end
22
+
23
+ def test_helpers
24
+ TestHelpers.new(self)
25
+ end
26
+
27
+ class TestHelpers < APIResourceTestHelpers
28
+ RESOURCE_CLASS = InboundTransfer
29
+
30
+ custom_method :fail, http_verb: :post
31
+ custom_method :return_inbound_transfer, http_verb: :post, http_path: "return"
32
+ custom_method :succeed, http_verb: :post
33
+
34
+ def fail(params = {}, opts = {})
35
+ @resource.request_stripe_object(
36
+ method: :post,
37
+ path: resource_url + "/fail",
38
+ params: params,
39
+ opts: opts
40
+ )
41
+ end
42
+
43
+ def return_inbound_transfer(params = {}, opts = {})
44
+ @resource.request_stripe_object(
45
+ method: :post,
46
+ path: resource_url + "/return",
47
+ params: params,
48
+ opts: opts
49
+ )
50
+ end
51
+
52
+ def succeed(params = {}, opts = {})
53
+ @resource.request_stripe_object(
54
+ method: :post,
55
+ path: resource_url + "/succeed",
56
+ params: params,
57
+ opts: opts
58
+ )
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,63 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class OutboundPayment < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "treasury.outbound_payment"
11
+
12
+ custom_method :cancel, http_verb: :post
13
+
14
+ def cancel(params = {}, opts = {})
15
+ request_stripe_object(
16
+ method: :post,
17
+ path: resource_url + "/cancel",
18
+ params: params,
19
+ opts: opts
20
+ )
21
+ end
22
+
23
+ def test_helpers
24
+ TestHelpers.new(self)
25
+ end
26
+
27
+ class TestHelpers < APIResourceTestHelpers
28
+ RESOURCE_CLASS = OutboundPayment
29
+
30
+ custom_method :fail, http_verb: :post
31
+ custom_method :post, http_verb: :post
32
+ custom_method :return_outbound_payment, http_verb: :post, http_path: "return"
33
+
34
+ def fail(params = {}, opts = {})
35
+ @resource.request_stripe_object(
36
+ method: :post,
37
+ path: resource_url + "/fail",
38
+ params: params,
39
+ opts: opts
40
+ )
41
+ end
42
+
43
+ def post(params = {}, opts = {})
44
+ @resource.request_stripe_object(
45
+ method: :post,
46
+ path: resource_url + "/post",
47
+ params: params,
48
+ opts: opts
49
+ )
50
+ end
51
+
52
+ def return_outbound_payment(params = {}, opts = {})
53
+ @resource.request_stripe_object(
54
+ method: :post,
55
+ path: resource_url + "/return",
56
+ params: params,
57
+ opts: opts
58
+ )
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,63 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class OutboundTransfer < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "treasury.outbound_transfer"
11
+
12
+ custom_method :cancel, http_verb: :post
13
+
14
+ def cancel(params = {}, opts = {})
15
+ request_stripe_object(
16
+ method: :post,
17
+ path: resource_url + "/cancel",
18
+ params: params,
19
+ opts: opts
20
+ )
21
+ end
22
+
23
+ def test_helpers
24
+ TestHelpers.new(self)
25
+ end
26
+
27
+ class TestHelpers < APIResourceTestHelpers
28
+ RESOURCE_CLASS = OutboundTransfer
29
+
30
+ custom_method :fail, http_verb: :post
31
+ custom_method :post, http_verb: :post
32
+ custom_method :return_outbound_transfer, http_verb: :post, http_path: "return"
33
+
34
+ def fail(params = {}, opts = {})
35
+ @resource.request_stripe_object(
36
+ method: :post,
37
+ path: resource_url + "/fail",
38
+ params: params,
39
+ opts: opts
40
+ )
41
+ end
42
+
43
+ def post(params = {}, opts = {})
44
+ @resource.request_stripe_object(
45
+ method: :post,
46
+ path: resource_url + "/post",
47
+ params: params,
48
+ opts: opts
49
+ )
50
+ end
51
+
52
+ def return_outbound_transfer(params = {}, opts = {})
53
+ @resource.request_stripe_object(
54
+ method: :post,
55
+ path: resource_url + "/return",
56
+ params: params,
57
+ opts: opts
58
+ )
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,30 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class ReceivedCredit < APIResource
7
+ extend Stripe::APIOperations::List
8
+
9
+ OBJECT_NAME = "treasury.received_credit"
10
+
11
+ def test_helpers
12
+ TestHelpers.new(self)
13
+ end
14
+
15
+ class TestHelpers < APIResourceTestHelpers
16
+ RESOURCE_CLASS = ReceivedCredit
17
+
18
+ def self.create(params = {}, opts = {})
19
+ resp, opts = execute_resource_request(
20
+ :post,
21
+ "/v1/test_helpers/treasury/received_credits",
22
+ params,
23
+ opts
24
+ )
25
+ Util.convert_to_stripe_object(resp.data, opts)
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class ReceivedDebit < APIResource
7
+ extend Stripe::APIOperations::List
8
+
9
+ OBJECT_NAME = "treasury.received_debit"
10
+
11
+ def test_helpers
12
+ TestHelpers.new(self)
13
+ end
14
+
15
+ class TestHelpers < APIResourceTestHelpers
16
+ RESOURCE_CLASS = ReceivedDebit
17
+
18
+ def self.create(params = {}, opts = {})
19
+ resp, opts = execute_resource_request(
20
+ :post,
21
+ "/v1/test_helpers/treasury/received_debits",
22
+ params,
23
+ opts
24
+ )
25
+ Util.convert_to_stripe_object(resp.data, opts)
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,12 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class Transaction < APIResource
7
+ extend Stripe::APIOperations::List
8
+
9
+ OBJECT_NAME = "treasury.transaction"
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,16 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Treasury
6
+ class TransactionEntry < APIResource
7
+ extend Stripe::APIOperations::List
8
+
9
+ OBJECT_NAME = "treasury.transaction_entry"
10
+
11
+ def self.resource_url
12
+ "/v1/treasury/transaction_entries"
13
+ end
14
+ end
15
+ end
16
+ end
@@ -7,6 +7,7 @@ require "stripe/resources/alipay_account"
7
7
  require "stripe/resources/apple_pay_domain"
8
8
  require "stripe/resources/application_fee"
9
9
  require "stripe/resources/application_fee_refund"
10
+ require "stripe/resources/apps/secret"
10
11
  require "stripe/resources/balance"
11
12
  require "stripe/resources/balance_transaction"
12
13
  require "stripe/resources/bank_account"
@@ -94,6 +95,16 @@ require "stripe/resources/three_d_secure"
94
95
  require "stripe/resources/token"
95
96
  require "stripe/resources/topup"
96
97
  require "stripe/resources/transfer"
98
+ require "stripe/resources/treasury/credit_reversal"
99
+ require "stripe/resources/treasury/debit_reversal"
100
+ require "stripe/resources/treasury/financial_account"
101
+ require "stripe/resources/treasury/inbound_transfer"
102
+ require "stripe/resources/treasury/outbound_payment"
103
+ require "stripe/resources/treasury/outbound_transfer"
104
+ require "stripe/resources/treasury/received_credit"
105
+ require "stripe/resources/treasury/received_debit"
106
+ require "stripe/resources/treasury/transaction"
107
+ require "stripe/resources/treasury/transaction_entry"
97
108
  require "stripe/resources/usage_record"
98
109
  require "stripe/resources/usage_record_summary"
99
110
  require "stripe/resources/webhook_endpoint"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "6.0.0"
4
+ VERSION = "6.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.
@@ -25,6 +25,7 @@ files:
25
25
  - History.txt
26
26
  - LICENSE
27
27
  - Makefile
28
+ - OPENAPI_VERSION
28
29
  - README.md
29
30
  - Rakefile
30
31
  - VERSION
@@ -55,6 +56,7 @@ files:
55
56
  - lib/stripe/resources/apple_pay_domain.rb
56
57
  - lib/stripe/resources/application_fee.rb
57
58
  - lib/stripe/resources/application_fee_refund.rb
59
+ - lib/stripe/resources/apps/secret.rb
58
60
  - lib/stripe/resources/balance.rb
59
61
  - lib/stripe/resources/balance_transaction.rb
60
62
  - lib/stripe/resources/bank_account.rb
@@ -142,6 +144,16 @@ files:
142
144
  - lib/stripe/resources/token.rb
143
145
  - lib/stripe/resources/topup.rb
144
146
  - lib/stripe/resources/transfer.rb
147
+ - lib/stripe/resources/treasury/credit_reversal.rb
148
+ - lib/stripe/resources/treasury/debit_reversal.rb
149
+ - lib/stripe/resources/treasury/financial_account.rb
150
+ - lib/stripe/resources/treasury/inbound_transfer.rb
151
+ - lib/stripe/resources/treasury/outbound_payment.rb
152
+ - lib/stripe/resources/treasury/outbound_transfer.rb
153
+ - lib/stripe/resources/treasury/received_credit.rb
154
+ - lib/stripe/resources/treasury/received_debit.rb
155
+ - lib/stripe/resources/treasury/transaction.rb
156
+ - lib/stripe/resources/treasury/transaction_entry.rb
145
157
  - lib/stripe/resources/usage_record.rb
146
158
  - lib/stripe/resources/usage_record_summary.rb
147
159
  - lib/stripe/resources/webhook_endpoint.rb
@@ -180,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
192
  - !ruby/object:Gem::Version
181
193
  version: '0'
182
194
  requirements: []
183
- rubygems_version: 3.1.2
195
+ rubygems_version: 3.3.7
184
196
  signing_key:
185
197
  specification_version: 4
186
198
  summary: Ruby bindings for the Stripe API