stripe 8.4.0.pre.beta.1 → 8.4.0.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -10
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +2 -0
- data/lib/stripe/resources/issuing/card_bundle.rb +13 -0
- data/lib/stripe/resources/issuing/card_design.rb +58 -0
- data/lib/stripe/resources.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6017b6598881578d4dc09a5ef81a2d0f7076af2edf33f740dc621e74b38b3606
|
4
|
+
data.tar.gz: 5a19077de64ff1ecf98f1045a686c64e961a5294cbdfde3fa203ac5f52a264d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f0ad01e573e44f89a2644b5b965378965d49403cdf595a46d8ecafac1a1bd3dbe1d57ed6afd8696ef58fff30edef1c7d7413c9e1602bb662c16e3f0fbf9e0b6
|
7
|
+
data.tar.gz: fcc9fe5476acf6a8a2b90f4bdfb85483459dc88280b6af3a809ceb21c5b8656d35bf2700595cabf69944f643718c1d5c6860392c348e45166ee14bc825fbda0f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 8.4.0-beta.2 - 2023-03-03
|
4
|
+
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
5
|
+
* Updated stable APIs to the latest version
|
6
|
+
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
7
|
+
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
8
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
9
|
+
|
3
10
|
## 8.4.0-beta.1 - 2023-02-23
|
4
11
|
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
5
12
|
* Updated stable APIs to the latest version
|
@@ -21,18 +28,18 @@
|
|
21
28
|
|
22
29
|
## 8.2.0-beta.3 - 2023-01-26
|
23
30
|
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
24
|
-
* Updated stable APIs to the latest version
|
31
|
+
* Updated stable APIs to the latest version
|
25
32
|
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
26
33
|
|
27
34
|
## 8.2.0-beta.2 - 2023-01-19
|
28
35
|
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
29
|
-
* Updated stable APIs to the latest version
|
36
|
+
* Updated stable APIs to the latest version
|
30
37
|
* Add support for `Tax.Settings` resource.
|
31
38
|
|
32
39
|
## 8.2.0-beta.1 - 2023-01-12
|
33
40
|
* [#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`
|
41
|
+
* Updated stable APIs to the latest version
|
42
|
+
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
36
43
|
* Add support for `Tax::Register` resource
|
37
44
|
|
38
45
|
## 8.1.0 - 2023-01-12
|
@@ -40,7 +47,7 @@
|
|
40
47
|
|
41
48
|
## 8.1.0-beta.4 - 2023-01-05
|
42
49
|
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
43
|
-
* Updated stable APIs to the latest version
|
50
|
+
* Updated stable APIs to the latest version
|
44
51
|
* Add support for `mark_stale_quote` method on resource `Quote`
|
45
52
|
|
46
53
|
## 8.1.0-beta.3 - 2022-12-22
|
@@ -50,12 +57,12 @@
|
|
50
57
|
|
51
58
|
## 8.1.0-beta.2 - 2022-12-15
|
52
59
|
* [#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`
|
60
|
+
* Updated stable APIs to the latest version
|
61
|
+
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
62
|
+
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
56
63
|
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
57
64
|
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
58
|
-
* Updated stable APIs to the latest version
|
65
|
+
* Updated stable APIs to the latest version
|
59
66
|
* Add support for new resource `QuoteLine`.
|
60
67
|
|
61
68
|
## 8.1.0-beta.1 - 2022-12-08
|
@@ -73,7 +80,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
73
80
|
|
74
81
|
## 7.2.0-beta.5 - 2022-11-02
|
75
82
|
* [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
76
|
-
* Updated beta APIs to the latest stable version
|
83
|
+
* Updated beta APIs to the latest stable version
|
77
84
|
* [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
78
85
|
* Updated stable APIs to the latest version
|
79
86
|
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v237
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
8.4.0-beta.
|
1
|
+
8.4.0-beta.2
|
data/lib/stripe/object_types.rb
CHANGED
@@ -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
|
data/lib/stripe/resources.rb
CHANGED
@@ -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"
|
data/lib/stripe/version.rb
CHANGED
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.
|
4
|
+
version: 8.4.0.pre.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-03 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
|