stripe 8.4.0.pre.beta.1 → 8.4.0.pre.beta.3

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: 89ae80f6412fdbce3be7b2fab3a5acd63b16a2458639925da43dea14bfe11113
4
- data.tar.gz: f5ee60f34c42d3a237aad7662798d73eda9f8923f5cebd43f438fcdd1ac198ce
3
+ metadata.gz: 6ff179811acc994a0aad1d910d1fdd57c688490e8a144c2cd2b30064db8da481
4
+ data.tar.gz: ea77e09af2f4dbc50a0d068a182c64528bb756001f69ac7e32c60264b8ebbbb8
5
5
  SHA512:
6
- metadata.gz: 4b828a0ad15bbb5f99dcbf1300d024ab6e67efbdaf9471728cfd128cdf07e621e7847a3db252641d2ee56ead354149fbfd1426f8b6b87b38617e2b813d7f6d21
7
- data.tar.gz: fb3265325ca22c8cdf34c542b2bf163d399fc0cce140194ff92d3c07d85b7196ff0fdeb7d15c80e765215541776e1cdeca37ee2fe92acd4394a1730d8ee43546
6
+ metadata.gz: cd6221af65c66b166646d4166f9a3fda9ba3beb14d83bf9f276e7464e6ae8b33d71fb32c9a4181963b578054f3fc1ff40269d9abcc5c595bc2fe26c5c078bc37
7
+ data.tar.gz: 19d49ed1050c31cd790d0aea05edc361590b536533618a69e011bd2a40c0f21a64ce70639a36669166d2b2ead12b480666932ad0aba7442027e2a0839dd68991
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.4.0-beta.3 - 2023-03-09
4
+ * [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
5
+ * Updated stable APIs to the latest version
6
+ * Remove support for `list_transactions` method on resource `Tax.Transaction`
7
+
8
+ ## 8.4.0-beta.2 - 2023-03-03
9
+ * [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
10
+ * Updated stable APIs to the latest version
11
+ * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
12
+ * Add support for `list` and `retrieve` methods on resource `CardBundle`
13
+ * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
14
+
3
15
  ## 8.4.0-beta.1 - 2023-02-23
4
16
  * [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
5
17
  * Updated stable APIs to the latest version
@@ -21,18 +33,18 @@
21
33
 
22
34
  ## 8.2.0-beta.3 - 2023-01-26
23
35
  * [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
24
- * Updated stable APIs to the latest version
36
+ * Updated stable APIs to the latest version
25
37
  * Add support for `list_transactions` method on resource `Tax.Transaction`
26
38
 
27
39
  ## 8.2.0-beta.2 - 2023-01-19
28
40
  * [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
29
- * Updated stable APIs to the latest version
41
+ * Updated stable APIs to the latest version
30
42
  * Add support for `Tax.Settings` resource.
31
43
 
32
44
  ## 8.2.0-beta.1 - 2023-01-12
33
45
  * [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
34
- * Updated stable APIs to the latest version
35
- * Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
46
+ * Updated stable APIs to the latest version
47
+ * Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
36
48
  * Add support for `Tax::Register` resource
37
49
 
38
50
  ## 8.1.0 - 2023-01-12
@@ -40,7 +52,7 @@
40
52
 
41
53
  ## 8.1.0-beta.4 - 2023-01-05
42
54
  * [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
43
- * Updated stable APIs to the latest version
55
+ * Updated stable APIs to the latest version
44
56
  * Add support for `mark_stale_quote` method on resource `Quote`
45
57
 
46
58
  ## 8.1.0-beta.3 - 2022-12-22
@@ -50,12 +62,12 @@
50
62
 
51
63
  ## 8.1.0-beta.2 - 2022-12-15
52
64
  * [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
53
- * Updated stable APIs to the latest version
54
- * Add support for new resources `TaxCalculation`, and `TaxTransaction`
55
- * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
65
+ * Updated stable APIs to the latest version
66
+ * Add support for new resources `TaxCalculation`, and `TaxTransaction`
67
+ * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
56
68
  * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
57
69
  * [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
58
- * Updated stable APIs to the latest version
70
+ * Updated stable APIs to the latest version
59
71
  * Add support for new resource `QuoteLine`.
60
72
 
61
73
  ## 8.1.0-beta.1 - 2022-12-08
@@ -73,7 +85,7 @@ Breaking changes that arose during code generation of the library that we postpo
73
85
 
74
86
  ## 7.2.0-beta.5 - 2022-11-02
75
87
  * [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
76
- * Updated beta APIs to the latest stable version
88
+ * Updated beta APIs to the latest stable version
77
89
  * [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
78
90
  * Updated stable APIs to the latest version
79
91
 
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v232
1
+ v249
data/VERSION CHANGED
@@ -1 +1 @@
1
- 8.4.0-beta.1
1
+ 8.4.0-beta.3
@@ -64,6 +64,8 @@ module Stripe
64
64
  InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
65
65
  Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
66
66
  Issuing::Card::OBJECT_NAME => Issuing::Card,
67
+ Issuing::CardBundle::OBJECT_NAME => Issuing::CardBundle,
68
+ Issuing::CardDesign::OBJECT_NAME => Issuing::CardDesign,
67
69
  Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
68
70
  Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
69
71
  Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
@@ -0,0 +1,13 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Issuing
6
+ # A Card Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card.
7
+ class CardBundle < APIResource
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "issuing.card_bundle"
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,58 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Issuing
6
+ # A Card Design is a logical grouping of a Card Bundle, card logo, and carrier text that represents a product line.
7
+ class CardDesign < APIResource
8
+ extend Stripe::APIOperations::List
9
+ include Stripe::APIOperations::Save
10
+
11
+ OBJECT_NAME = "issuing.card_design"
12
+
13
+ def test_helpers
14
+ TestHelpers.new(self)
15
+ end
16
+
17
+ class TestHelpers < APIResourceTestHelpers
18
+ RESOURCE_CLASS = CardDesign
19
+
20
+ def self.activate_testmode(card_design, params = {}, opts = {})
21
+ request_stripe_object(
22
+ method: :post,
23
+ path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/activate", { card_design: CGI.escape(card_design) }),
24
+ params: params,
25
+ opts: opts
26
+ )
27
+ end
28
+
29
+ def self.deactivate_testmode(card_design, params = {}, opts = {})
30
+ request_stripe_object(
31
+ method: :post,
32
+ path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/deactivate", { card_design: CGI.escape(card_design) }),
33
+ params: params,
34
+ opts: opts
35
+ )
36
+ end
37
+
38
+ def activate_testmode(params = {}, opts = {})
39
+ @resource.request_stripe_object(
40
+ method: :post,
41
+ path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/activate", { card_design: CGI.escape(@resource["id"]) }),
42
+ params: params,
43
+ opts: opts
44
+ )
45
+ end
46
+
47
+ def deactivate_testmode(params = {}, opts = {})
48
+ @resource.request_stripe_object(
49
+ method: :post,
50
+ path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/deactivate", { card_design: CGI.escape(@resource["id"]) }),
51
+ params: params,
52
+ opts: opts
53
+ )
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -35,15 +35,6 @@ module Stripe
35
35
  opts: opts
36
36
  )
37
37
  end
38
-
39
- def self.list_transactions(params = {}, opts = {})
40
- request_stripe_object(
41
- method: :get,
42
- path: "/v1/tax/transactions",
43
- params: params,
44
- opts: opts
45
- )
46
- end
47
38
  end
48
39
  end
49
40
  end
@@ -51,6 +51,8 @@ require "stripe/resources/invoice_item"
51
51
  require "stripe/resources/invoice_line_item"
52
52
  require "stripe/resources/issuing/authorization"
53
53
  require "stripe/resources/issuing/card"
54
+ require "stripe/resources/issuing/card_bundle"
55
+ require "stripe/resources/issuing/card_design"
54
56
  require "stripe/resources/issuing/cardholder"
55
57
  require "stripe/resources/issuing/dispute"
56
58
  require "stripe/resources/issuing/transaction"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "8.4.0-beta.1"
4
+ VERSION = "8.4.0-beta.3"
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: 8.4.0.pre.beta.1
4
+ version: 8.4.0.pre.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-24 00:00:00.000000000 Z
11
+ date: 2023-03-09 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.
@@ -102,6 +102,8 @@ files:
102
102
  - lib/stripe/resources/invoice_line_item.rb
103
103
  - lib/stripe/resources/issuing/authorization.rb
104
104
  - lib/stripe/resources/issuing/card.rb
105
+ - lib/stripe/resources/issuing/card_bundle.rb
106
+ - lib/stripe/resources/issuing/card_design.rb
105
107
  - lib/stripe/resources/issuing/cardholder.rb
106
108
  - lib/stripe/resources/issuing/dispute.rb
107
109
  - lib/stripe/resources/issuing/transaction.rb