stripe 5.55.0 → 6.2.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: 7e81cc3af76a8942f879c1b312bbcc6ad27257cb9b68f9a63df76bd430ff9cf8
4
- data.tar.gz: c83f7ae353941a10279ba76237f64e700f0e6bce06fe9475250b85308f72d57f
3
+ metadata.gz: 4812cac66d5fbc87584349e386f67fb3b3597307486ecd2e019781e73489e5ae
4
+ data.tar.gz: 53352fe3c35ae28df341bc360caa308684fec099c1595eb381fcf1c83302344f
5
5
  SHA512:
6
- metadata.gz: 4b4aff3650ae5933a0fae274bf1fe1e142f8361fbd0b3734502ce317a82492bda2124e155ff335b311abbda1d9751fdbc15e4a1754c94fe8b6d8a24e206b599e
7
- data.tar.gz: f23307331d6ded3934361f9fff180a0ecda5df30bb3f5708e359d3b0712ed5262873b2220400d124544b113249a7ff5f1ae885cef381b9a8b3aa6388295527a7
6
+ metadata.gz: d39bb60d0a75ea8a9bcdad463d95b496d8f0c882b5b18f8dc7590468070ebb0e77e8b8bfef77f741d594a1ef57a89d92c8c4bb28caa834c040e1feaa353e9103
7
+ data.tar.gz: 30088d515709b619d85698478b90663810cc14d065cce05d38221d5773d3d530a3a92eea1bfaad6f3cc7c99ff0029422d93dcbc2392f476aa84930b7c22168a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.2.0 - 2022-05-23
4
+ * [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
5
+ * Add support for new resource `Apps.Secret`
6
+
7
+ ## 6.1.0 - 2022-05-19
8
+ * [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
9
+ * 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`
10
+ * Add support for `retrieve_payment_method` method on resource `Customer`
11
+ * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
12
+
13
+
14
+
15
+ ## 6.0.0 - 2022-05-09
16
+ * [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
17
+ Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
18
+
19
+ (⚠️ = breaking changes):
20
+ * ⚠️ Replace the legacy `Order` API with the new `Order` API.
21
+ * New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
22
+ * Removed methods: `pay` and `return_order`
23
+ * Removed resources: `OrderItem` and `OrderReturn`
24
+ * ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
25
+
3
26
  ## 5.55.0 - 2022-05-05
4
27
  * [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
5
28
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
data/OPENAPI_VERSION ADDED
@@ -0,0 +1 @@
1
+ v146
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.55.0
1
+ 6.2.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,
@@ -65,7 +66,6 @@ module Stripe
65
66
  LoginLink::OBJECT_NAME => LoginLink,
66
67
  Mandate::OBJECT_NAME => Mandate,
67
68
  Order::OBJECT_NAME => Order,
68
- OrderReturn::OBJECT_NAME => OrderReturn,
69
69
  PaymentIntent::OBJECT_NAME => PaymentIntent,
70
70
  PaymentLink::OBJECT_NAME => PaymentLink,
71
71
  PaymentMethod::OBJECT_NAME => PaymentMethod,
@@ -108,6 +108,16 @@ module Stripe
108
108
  Token::OBJECT_NAME => Token,
109
109
  Topup::OBJECT_NAME => Topup,
110
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,
111
121
  UsageRecord::OBJECT_NAME => UsageRecord,
112
122
  UsageRecordSummary::OBJECT_NAME => UsageRecordSummary,
113
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
@@ -41,6 +41,30 @@ module Stripe
41
41
  )
42
42
  end
43
43
 
44
+ def retrieve_payment_method(payment_method, params = {}, opts = {})
45
+ request_stripe_object(
46
+ method: :get,
47
+ path: format("/v1/customers/%<customer>s/payment_methods/%<payment_method>s", { customer: CGI.escape(self["id"]), payment_method: CGI.escape(payment_method) }),
48
+ params: params,
49
+ opts: opts
50
+ )
51
+ end
52
+
53
+ def self.retrieve_payment_method(
54
+ customer,
55
+ payment_method,
56
+ params = {},
57
+ opts = {}
58
+ )
59
+ resp, opts = execute_resource_request(
60
+ :get,
61
+ format("/v1/customers/%<customer>s/payment_methods/%<payment_method>s", { customer: CGI.escape(customer), payment_method: CGI.escape(payment_method) }),
62
+ params,
63
+ opts
64
+ )
65
+ Util.convert_to_stripe_object(resp.data, opts)
66
+ end
67
+
44
68
  custom_method :delete_discount, http_verb: :delete, http_path: "discount"
45
69
 
46
70
  save_nested_resource :source
@@ -4,10 +4,13 @@
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
10
- custom_method :refresh, http_verb: :post
12
+ custom_method :list_owners, http_verb: :get, http_path: "owners"
13
+ custom_method :refresh_account, http_verb: :post, http_path: "refresh"
11
14
 
12
15
  def disconnect(params = {}, opts = {})
13
16
  request_stripe_object(
@@ -18,7 +21,16 @@ module Stripe
18
21
  )
19
22
  end
20
23
 
21
- def refresh(params = {}, opts = {})
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
+
33
+ def refresh_account(params = {}, opts = {})
22
34
  request_stripe_object(
23
35
  method: :post,
24
36
  path: resource_url + "/refresh",
@@ -9,22 +9,42 @@ module Stripe
9
9
 
10
10
  OBJECT_NAME = "order"
11
11
 
12
- custom_method :pay, http_verb: :post
13
- custom_method :return_order, http_verb: :post, http_path: "returns"
12
+ custom_method :cancel, http_verb: :post
13
+ custom_method :list_line_items, http_verb: :get, http_path: "line_items"
14
+ custom_method :reopen, http_verb: :post
15
+ custom_method :submit, http_verb: :post
14
16
 
15
- def pay(params = {}, opts = {})
17
+ def cancel(params = {}, opts = {})
16
18
  request_stripe_object(
17
19
  method: :post,
18
- path: resource_url + "/pay",
20
+ path: resource_url + "/cancel",
19
21
  params: params,
20
22
  opts: opts
21
23
  )
22
24
  end
23
25
 
24
- def return_order(params = {}, opts = {})
26
+ def list_line_items(params = {}, opts = {})
27
+ request_stripe_object(
28
+ method: :get,
29
+ path: resource_url + "/line_items",
30
+ params: params,
31
+ opts: opts
32
+ )
33
+ end
34
+
35
+ def reopen(params = {}, opts = {})
36
+ request_stripe_object(
37
+ method: :post,
38
+ path: resource_url + "/reopen",
39
+ params: params,
40
+ opts: opts
41
+ )
42
+ end
43
+
44
+ def submit(params = {}, opts = {})
25
45
  request_stripe_object(
26
46
  method: :post,
27
- path: resource_url + "/returns",
47
+ path: resource_url + "/submit",
28
48
  params: params,
29
49
  opts: opts
30
50
  )
@@ -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"
@@ -52,7 +53,6 @@ require "stripe/resources/line_item"
52
53
  require "stripe/resources/login_link"
53
54
  require "stripe/resources/mandate"
54
55
  require "stripe/resources/order"
55
- require "stripe/resources/order_return"
56
56
  require "stripe/resources/payment_intent"
57
57
  require "stripe/resources/payment_link"
58
58
  require "stripe/resources/payment_method"
@@ -95,6 +95,16 @@ require "stripe/resources/three_d_secure"
95
95
  require "stripe/resources/token"
96
96
  require "stripe/resources/topup"
97
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"
98
108
  require "stripe/resources/usage_record"
99
109
  require "stripe/resources/usage_record_summary"
100
110
  require "stripe/resources/webhook_endpoint"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.55.0"
4
+ VERSION = "6.2.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: 5.55.0
4
+ version: 6.2.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-05 00:00:00.000000000 Z
11
+ date: 2022-05-23 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
@@ -100,7 +102,6 @@ files:
100
102
  - lib/stripe/resources/login_link.rb
101
103
  - lib/stripe/resources/mandate.rb
102
104
  - lib/stripe/resources/order.rb
103
- - lib/stripe/resources/order_return.rb
104
105
  - lib/stripe/resources/payment_intent.rb
105
106
  - lib/stripe/resources/payment_link.rb
106
107
  - lib/stripe/resources/payment_method.rb
@@ -143,6 +144,16 @@ files:
143
144
  - lib/stripe/resources/token.rb
144
145
  - lib/stripe/resources/topup.rb
145
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
146
157
  - lib/stripe/resources/usage_record.rb
147
158
  - lib/stripe/resources/usage_record_summary.rb
148
159
  - lib/stripe/resources/webhook_endpoint.rb
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- class OrderReturn < APIResource
6
- extend Stripe::APIOperations::List
7
-
8
- OBJECT_NAME = "order_return"
9
- end
10
- end