stripe 10.1.0 → 10.2.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +241 -40
- data/OPENAPI_VERSION +1 -1
- data/README.md +11 -0
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +2 -0
- data/lib/stripe/api_version.rb +1 -0
- data/lib/stripe/object_types.rb +21 -0
- data/lib/stripe/request_signing_authenticator.rb +83 -0
- data/lib/stripe/resources/account_notice.rb +14 -0
- data/lib/stripe/resources/capital/financing_offer.rb +32 -0
- data/lib/stripe/resources/capital/financing_summary.rb +12 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +13 -0
- data/lib/stripe/resources/confirmation_token.rb +11 -0
- data/lib/stripe/resources/customer_session.rb +12 -0
- data/lib/stripe/resources/financial_connections/account.rb +39 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +13 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +13 -0
- data/lib/stripe/resources/gift_cards/card.rb +25 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +56 -0
- data/lib/stripe/resources/invoice.rb +21 -0
- data/lib/stripe/resources/invoice_payment.rb +11 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +69 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +77 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +13 -0
- data/lib/stripe/resources/margin.rb +14 -0
- data/lib/stripe/resources/order.rb +89 -0
- data/lib/stripe/resources/quote.rb +94 -0
- data/lib/stripe/resources/quote_phase.rb +29 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +42 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +10 -0
- data/lib/stripe/resources/subscription_schedule.rb +18 -0
- data/lib/stripe/resources/tax/form.rb +39 -0
- data/lib/stripe/resources/terminal/reader.rb +54 -0
- data/lib/stripe/resources.rb +20 -0
- data/lib/stripe/stripe_client.rb +60 -26
- data/lib/stripe/stripe_configuration.rb +2 -0
- data/lib/stripe/util.rb +8 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +46 -0
- metadata +24 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fa793f3d4ef260d1fc85f6f63707f504ae80f5770a1be07704671433a8c24a6
|
4
|
+
data.tar.gz: 758d29fd73bb6785692ccb889307bd31b1dc927b49c44eb8bcadd7bb2c4635e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7be66b70e8b22ca37db88e726c9036229ce041a1f54db7a0a47354ebf6ab71153d53b1b0ae7d2ba50f020263a1c8f7f430c3eeb2d439e2595ff0d030b795c0e
|
7
|
+
data.tar.gz: 5be94fd11a94e6fae066a0772108fa5146c4b97729a361ca1a4e7f61c474f641ab89875ecd6adf7f874be1611ad94b5c0c4b46750ba24190e80577253af7fef5
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,25 @@
|
|
1
1
|
# Changelog
|
2
|
+
|
3
|
+
## 10.2.0-beta.1 - 2023-11-02
|
4
|
+
* [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
|
5
|
+
* Add support for `attach_payment_intent` method on resource `Invoice`
|
6
|
+
* [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
7
|
+
|
2
8
|
## 10.1.0 - 2023-11-02
|
3
9
|
* [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
|
4
10
|
* Add support for new resource `Tax.Registration`
|
5
11
|
* Add support for `create`, `list`, and `update` methods on resource `Registration`
|
6
12
|
|
13
|
+
## 10.1.0-beta.2 - 2023-10-26
|
14
|
+
* [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
15
|
+
* Add support for new resource `Margin`
|
16
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
|
17
|
+
|
18
|
+
## 10.1.0-beta.1 - 2023-10-17
|
19
|
+
* [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
|
20
|
+
- Update pinned API version to `2023-10-16`
|
21
|
+
* [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
|
22
|
+
|
7
23
|
## 10.0.0 - 2023-10-16
|
8
24
|
* This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
|
9
25
|
* [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
|
@@ -11,11 +27,33 @@
|
|
11
27
|
* [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
|
12
28
|
* Documentation only changes
|
13
29
|
|
30
|
+
## 9.5.0-beta.2 - 2023-10-12
|
31
|
+
* [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
|
32
|
+
* Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
|
33
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
|
34
|
+
* Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
|
35
|
+
|
36
|
+
## 9.5.0-beta.1 - 2023-10-05
|
37
|
+
* [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
|
38
|
+
* Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
|
39
|
+
* Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
|
40
|
+
* Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
|
41
|
+
|
14
42
|
## 9.4.0 - 2023-10-05
|
15
43
|
* [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
|
16
44
|
* Add support for new resources `Issuing.Token`
|
17
45
|
* Add support for `list`, `retrieve`, and `update` methods on resource `Token`
|
18
46
|
|
47
|
+
## 9.4.0-beta.3 - 2023-09-28
|
48
|
+
* [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
|
49
|
+
* Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
50
|
+
|
51
|
+
## 9.4.0-beta.2 - 2023-09-21
|
52
|
+
* [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
|
53
|
+
|
54
|
+
## 9.4.0-beta.1 - 2023-09-14
|
55
|
+
* Updated stable APIs to the latest version
|
56
|
+
|
19
57
|
## 9.3.0 - 2023-09-14
|
20
58
|
* [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
|
21
59
|
* Add support for new resource `PaymentMethodConfiguration`
|
@@ -24,18 +62,38 @@
|
|
24
62
|
* Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
|
25
63
|
* Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
|
26
64
|
|
65
|
+
## 9.3.0-beta.1 - 2023-09-07
|
66
|
+
* [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
|
67
|
+
* Release specs are identical.
|
68
|
+
* [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
|
69
|
+
* Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
70
|
+
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
71
|
+
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
72
|
+
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
73
|
+
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
74
|
+
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
75
|
+
|
76
|
+
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
77
|
+
|
78
|
+
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
79
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
80
|
+
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
81
|
+
|
27
82
|
## 9.2.0 - 2023-09-07
|
28
83
|
* [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
|
29
84
|
* Add support for new resource `PaymentMethodDomain`
|
30
85
|
* Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
|
31
86
|
|
87
|
+
## 9.2.0-beta.1 - 2023-08-31
|
88
|
+
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
89
|
+
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
90
|
+
|
32
91
|
## 9.1.0 - 2023-08-31
|
33
92
|
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
34
93
|
* Add support for new resource `AccountSession`
|
35
94
|
* Add support for `create` method on resource `AccountSession`
|
36
95
|
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
37
96
|
|
38
|
-
|
39
97
|
## 9.0.0 - 2023-08-16
|
40
98
|
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
41
99
|
|
@@ -68,10 +126,39 @@
|
|
68
126
|
|
69
127
|
That is, instead of upgrading stripe-ruby and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-ruby, you should also upgrade your integration to be compatible with the latest Stripe API version.
|
70
128
|
|
129
|
+
## 9.0.0-beta.1 - 2023-08-24
|
130
|
+
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
131
|
+
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
132
|
+
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
133
|
+
|
134
|
+
## 8.8.0-beta.1 - 2023-08-10
|
135
|
+
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
136
|
+
* Updated stable APIs to the latest version
|
137
|
+
|
71
138
|
## 8.7.0 - 2023-08-10
|
72
139
|
* [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
73
140
|
Add resources `Tax::CalculationLineItem`, `Tax::TransactionLineItem`, and `Treasury::FinancialAccountFeatures`. These resources have no methods on them, but do represent the return type of methods elsewhere.
|
74
141
|
|
142
|
+
## 8.7.0-beta.3 - 2023-08-03
|
143
|
+
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
144
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
145
|
+
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
146
|
+
|
147
|
+
## 8.7.0-beta.2 - 2023-07-28
|
148
|
+
* [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
149
|
+
* Add support for new resource `Tax.Form`
|
150
|
+
* Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
151
|
+
* [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
152
|
+
* [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
153
|
+
|
154
|
+
## 8.7.0-beta.1 - 2023-07-13
|
155
|
+
* [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
156
|
+
Release specs are identical.
|
157
|
+
* [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
158
|
+
* Add support for new resource `PaymentMethodConfiguration`
|
159
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
160
|
+
* [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
161
|
+
|
75
162
|
## 8.6.0 - 2023-07-13
|
76
163
|
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
77
164
|
* Add support for new resource `Tax.Settings`
|
@@ -100,6 +187,37 @@
|
|
100
187
|
|
101
188
|
* [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
102
189
|
|
190
|
+
## 8.6.0-beta.6 - 2023-06-22
|
191
|
+
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
192
|
+
* Add support for new resource `CustomerSession`
|
193
|
+
* Add support for `create` method on resource `CustomerSession`
|
194
|
+
* [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
195
|
+
* [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
196
|
+
|
197
|
+
## 8.6.0-beta.5 - 2023-06-01
|
198
|
+
* [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
199
|
+
* [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
200
|
+
* [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
201
|
+
* [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
202
|
+
|
203
|
+
## 8.6.0-beta.4 - 2023-05-19
|
204
|
+
* [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
205
|
+
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
206
|
+
* [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
207
|
+
* [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
208
|
+
* [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
209
|
+
|
210
|
+
## 8.6.0-beta.3 - 2023-04-17
|
211
|
+
* [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
212
|
+
* [#1210](https://github.com/stripe/stripe-ruby/pull/1210), [#1212](https://github.com/stripe/stripe-ruby/pull/1212), [#1213](https://github.com/stripe/stripe-ruby/pull/1213) Add support for request signing
|
213
|
+
|
214
|
+
## 8.6.0-beta.2 - 2023-04-13
|
215
|
+
* [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
216
|
+
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
217
|
+
* [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
218
|
+
|
219
|
+
## 8.6.0-beta.1 - 2023-03-30
|
220
|
+
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
103
221
|
|
104
222
|
## 8.5.0 - 2023-03-30
|
105
223
|
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
@@ -107,6 +225,11 @@
|
|
107
225
|
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
|
108
226
|
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
109
227
|
|
228
|
+
## 8.5.0-beta.1 - 2023-03-23
|
229
|
+
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
230
|
+
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
231
|
+
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
232
|
+
|
110
233
|
## 8.4.0 - 2023-03-23
|
111
234
|
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
112
235
|
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
@@ -114,18 +237,91 @@
|
|
114
237
|
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
115
238
|
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
116
239
|
|
240
|
+
## 8.4.0-beta.4 - 2023-03-16
|
241
|
+
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
242
|
+
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
243
|
+
* [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
244
|
+
* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
245
|
+
* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
246
|
+
* Remove support for `retrieve` method on resource `FinancingSummary`
|
247
|
+
* [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
248
|
+
|
249
|
+
## 8.4.0-beta.3 - 2023-03-09
|
250
|
+
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
251
|
+
* Updated stable APIs to the latest version
|
252
|
+
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
253
|
+
|
254
|
+
## 8.4.0-beta.2 - 2023-03-03
|
255
|
+
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
256
|
+
* Updated stable APIs to the latest version
|
257
|
+
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
258
|
+
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
259
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
260
|
+
|
261
|
+
## 8.4.0-beta.1 - 2023-02-23
|
262
|
+
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
263
|
+
* Updated stable APIs to the latest version
|
264
|
+
|
117
265
|
## 8.3.0 - 2023-02-16
|
118
266
|
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
119
267
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
120
268
|
|
269
|
+
## 8.3.0-beta.1 - 2023-02-02
|
270
|
+
* [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
271
|
+
* Updated stable APIs to the latest version
|
272
|
+
* Add support for new resource `FinancialConnections.Transaction`
|
273
|
+
* Add support for `list` method on resource `Transaction`
|
274
|
+
|
121
275
|
## 8.2.0 - 2023-02-02
|
122
276
|
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
123
277
|
* Add support for `resume` method on resource `Subscription`
|
124
278
|
* [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
125
279
|
|
280
|
+
## 8.2.0-beta.3 - 2023-01-26
|
281
|
+
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
282
|
+
* Updated stable APIs to the latest version
|
283
|
+
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
284
|
+
|
285
|
+
## 8.2.0-beta.2 - 2023-01-19
|
286
|
+
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
287
|
+
* Updated stable APIs to the latest version
|
288
|
+
* Add support for `Tax.Settings` resource.
|
289
|
+
|
290
|
+
## 8.2.0-beta.1 - 2023-01-12
|
291
|
+
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
292
|
+
* Updated stable APIs to the latest version
|
293
|
+
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
294
|
+
* Add support for `Tax::Register` resource
|
295
|
+
|
126
296
|
## 8.1.0 - 2023-01-12
|
127
297
|
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
128
298
|
|
299
|
+
## 8.1.0-beta.4 - 2023-01-05
|
300
|
+
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
301
|
+
* Updated stable APIs to the latest version
|
302
|
+
* Add support for `mark_stale_quote` method on resource `Quote`
|
303
|
+
|
304
|
+
## 8.1.0-beta.3 - 2022-12-22
|
305
|
+
* [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
306
|
+
* Updated stable APIs to the latest version
|
307
|
+
* Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
308
|
+
|
309
|
+
## 8.1.0-beta.2 - 2022-12-15
|
310
|
+
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
311
|
+
* Updated stable APIs to the latest version
|
312
|
+
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
313
|
+
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
314
|
+
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
315
|
+
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
316
|
+
* Updated stable APIs to the latest version
|
317
|
+
* Add support for new resource `QuoteLine`.
|
318
|
+
|
319
|
+
## 8.1.0-beta.1 - 2022-12-08
|
320
|
+
* [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
321
|
+
* Updated stable APIs to the latest version
|
322
|
+
* [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
323
|
+
* Updated stable APIs to the latest version
|
324
|
+
|
129
325
|
## 8.0.0 - 2022-11-16
|
130
326
|
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
131
327
|
|
@@ -133,30 +329,29 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
133
329
|
|
134
330
|
"⚠️" symbol highlights breaking changes.
|
135
331
|
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
refund.description = "Refund description"
|
142
|
-
refund.save
|
143
|
-
|
144
|
-
# after
|
145
|
-
Stripe::Refund.update("re_123", description: "Refund description")
|
146
|
-
```
|
332
|
+
## 7.2.0-beta.5 - 2022-11-02
|
333
|
+
* [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
334
|
+
* Updated beta APIs to the latest stable version
|
335
|
+
* [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
336
|
+
* Updated stable APIs to the latest version
|
147
337
|
|
148
|
-
|
149
|
-
-
|
150
|
-
- Removed deprecated `Orders` resource.
|
151
|
-
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
152
|
-
```ruby
|
153
|
-
# before
|
154
|
-
Stripe::Subscription::delete("sub_12345")
|
338
|
+
## 7.2.0-beta.4 - 2022-10-07
|
339
|
+
* [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
|
155
340
|
|
156
|
-
|
157
|
-
|
158
|
-
|
341
|
+
## 7.2.0-beta.3 - 2022-09-26
|
342
|
+
* [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
|
343
|
+
* Updated stable APIs to the latest version
|
344
|
+
* Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
159
345
|
|
346
|
+
## 7.2.0-beta.2 - 2022-08-26
|
347
|
+
* [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
348
|
+
* Updated stable APIs to the latest version
|
349
|
+
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
350
|
+
|
351
|
+
## 7.2.0-beta.1 - 2022-08-23
|
352
|
+
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
353
|
+
- Updated stable APIs to the latest version
|
354
|
+
- `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-ruby/blob/master/README.md#beta-sdks)
|
160
355
|
|
161
356
|
## 7.1.0 - 2022-08-19
|
162
357
|
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
@@ -165,6 +360,16 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
165
360
|
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
166
361
|
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
167
362
|
|
363
|
+
## 7.1.0-beta.2 - 2022-08-11
|
364
|
+
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
365
|
+
- Updated stable APIs to the latest version
|
366
|
+
- Add `refund_payment` method to Terminal resource
|
367
|
+
|
368
|
+
## 7.1.0-beta.1 - 2022-08-03
|
369
|
+
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
370
|
+
- Updated stable APIs to the latest version
|
371
|
+
- Added the `Order` resource support
|
372
|
+
|
168
373
|
## 7.0.0 - 2022-08-02
|
169
374
|
|
170
375
|
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
|
@@ -176,21 +381,19 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
176
381
|
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
177
382
|
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
178
383
|
|
179
|
-
|
180
|
-
*
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
*
|
190
|
-
|
191
|
-
*
|
192
|
-
* Remove ability to list `Card` resource for a `Recipient`.
|
193
|
-
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
384
|
+
## 6.6.0-beta.1 - 2022-07-22
|
385
|
+
* [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
386
|
+
- Updated stable APIs to the latest version
|
387
|
+
- Add `QuotePhase` resource
|
388
|
+
* [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
389
|
+
- Updated stable APIs to the latest version
|
390
|
+
- Add `SubscriptionSchedule.amend` method.
|
391
|
+
* [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
392
|
+
- Include `server_side_confirmation_beta=v1` beta
|
393
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
394
|
+
* [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
395
|
+
- Updated stable APIs to the latest version
|
396
|
+
* [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
194
397
|
|
195
398
|
## 6.5.0 - 2022-06-29
|
196
399
|
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
@@ -220,8 +423,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
220
423
|
* 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`
|
221
424
|
* Add support for `retrieve_payment_method` method on resource `Customer`
|
222
425
|
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
223
|
-
|
224
|
-
|
225
426
|
|
226
427
|
## 6.0.0 - 2022-05-09
|
227
428
|
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
@@ -237,7 +438,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
237
438
|
## 5.55.0 - 2022-05-05
|
238
439
|
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
239
440
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
240
|
-
|
241
441
|
|
242
442
|
## 5.54.0 - 2022-05-03
|
243
443
|
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
@@ -1268,3 +1468,4 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
1268
1468
|
<!--
|
1269
1469
|
# vim: set tw=0:
|
1270
1470
|
-->
|
1471
|
+
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v645
|
data/README.md
CHANGED
@@ -323,6 +323,17 @@ If your beta feature requires a `Stripe-Version` header to be sent, use the `Str
|
|
323
323
|
Stripe.api_version += "; feature_beta=v3"
|
324
324
|
```
|
325
325
|
|
326
|
+
### Custom requests
|
327
|
+
|
328
|
+
If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `raw_request` method on `Stripe`.
|
329
|
+
|
330
|
+
```ruby
|
331
|
+
resp = Stripe.raw_request(:post, "/v1/beta_endpoint", {param: 123}, {stripe_version: "2022-11-15; feature_beta=v3"})
|
332
|
+
|
333
|
+
# (Optional) resp is a StripeResponse. You can use `Stripe.deserialize` to get a StripeObject.
|
334
|
+
deserialized_resp = Stripe.deserialize(resp.http_body)
|
335
|
+
```
|
336
|
+
|
326
337
|
## Support
|
327
338
|
|
328
339
|
New features and bug fixes are released on the latest major version of the Stripe Ruby library. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.
|
1
|
+
10.2.0-beta.1
|
@@ -47,6 +47,7 @@ module Stripe
|
|
47
47
|
api_key = headers.delete(:api_key)
|
48
48
|
api_base = headers.delete(:api_base)
|
49
49
|
client = headers.delete(:client)
|
50
|
+
api_mode = headers.delete(:api_mode)
|
50
51
|
# Assume all remaining opts must be headers
|
51
52
|
|
52
53
|
resp, opts[:api_key] = client.send(
|
@@ -54,6 +55,7 @@ module Stripe
|
|
54
55
|
method, url,
|
55
56
|
api_base: api_base, api_key: api_key,
|
56
57
|
headers: headers, params: params,
|
58
|
+
api_mode: api_mode,
|
57
59
|
&read_body_chunk_block
|
58
60
|
)
|
59
61
|
|
data/lib/stripe/api_version.rb
CHANGED
data/lib/stripe/object_types.rb
CHANGED
@@ -14,6 +14,7 @@ module Stripe
|
|
14
14
|
# business objects
|
15
15
|
Account::OBJECT_NAME => Account,
|
16
16
|
AccountLink::OBJECT_NAME => AccountLink,
|
17
|
+
AccountNotice::OBJECT_NAME => AccountNotice,
|
17
18
|
AccountSession::OBJECT_NAME => AccountSession,
|
18
19
|
ApplePayDomain::OBJECT_NAME => ApplePayDomain,
|
19
20
|
ApplicationFee::OBJECT_NAME => ApplicationFee,
|
@@ -25,10 +26,14 @@ module Stripe
|
|
25
26
|
BillingPortal::Configuration::OBJECT_NAME => BillingPortal::Configuration,
|
26
27
|
BillingPortal::Session::OBJECT_NAME => BillingPortal::Session,
|
27
28
|
Capability::OBJECT_NAME => Capability,
|
29
|
+
Capital::FinancingOffer::OBJECT_NAME => Capital::FinancingOffer,
|
30
|
+
Capital::FinancingSummary::OBJECT_NAME => Capital::FinancingSummary,
|
31
|
+
Capital::FinancingTransaction::OBJECT_NAME => Capital::FinancingTransaction,
|
28
32
|
Card::OBJECT_NAME => Card,
|
29
33
|
CashBalance::OBJECT_NAME => CashBalance,
|
30
34
|
Charge::OBJECT_NAME => Charge,
|
31
35
|
Checkout::Session::OBJECT_NAME => Checkout::Session,
|
36
|
+
ConfirmationToken::OBJECT_NAME => ConfirmationToken,
|
32
37
|
CountrySpec::OBJECT_NAME => CountrySpec,
|
33
38
|
Coupon::OBJECT_NAME => Coupon,
|
34
39
|
CreditNote::OBJECT_NAME => CreditNote,
|
@@ -36,6 +41,7 @@ module Stripe
|
|
36
41
|
Customer::OBJECT_NAME => Customer,
|
37
42
|
CustomerBalanceTransaction::OBJECT_NAME => CustomerBalanceTransaction,
|
38
43
|
CustomerCashBalanceTransaction::OBJECT_NAME => CustomerCashBalanceTransaction,
|
44
|
+
CustomerSession::OBJECT_NAME => CustomerSession,
|
39
45
|
Discount::OBJECT_NAME => Discount,
|
40
46
|
Dispute::OBJECT_NAME => Dispute,
|
41
47
|
EphemeralKey::OBJECT_NAME => EphemeralKey,
|
@@ -45,25 +51,36 @@ module Stripe
|
|
45
51
|
File::OBJECT_NAME_ALT => File,
|
46
52
|
FileLink::OBJECT_NAME => FileLink,
|
47
53
|
FinancialConnections::Account::OBJECT_NAME => FinancialConnections::Account,
|
54
|
+
FinancialConnections::AccountInferredBalance::OBJECT_NAME =>
|
55
|
+
FinancialConnections::AccountInferredBalance,
|
48
56
|
FinancialConnections::AccountOwner::OBJECT_NAME => FinancialConnections::AccountOwner,
|
49
57
|
FinancialConnections::AccountOwnership::OBJECT_NAME =>
|
50
58
|
FinancialConnections::AccountOwnership,
|
51
59
|
FinancialConnections::Session::OBJECT_NAME => FinancialConnections::Session,
|
60
|
+
FinancialConnections::Transaction::OBJECT_NAME => FinancialConnections::Transaction,
|
52
61
|
FundingInstructions::OBJECT_NAME => FundingInstructions,
|
62
|
+
GiftCards::Card::OBJECT_NAME => GiftCards::Card,
|
63
|
+
GiftCards::Transaction::OBJECT_NAME => GiftCards::Transaction,
|
53
64
|
Identity::VerificationReport::OBJECT_NAME => Identity::VerificationReport,
|
54
65
|
Identity::VerificationSession::OBJECT_NAME => Identity::VerificationSession,
|
55
66
|
Invoice::OBJECT_NAME => Invoice,
|
56
67
|
InvoiceItem::OBJECT_NAME => InvoiceItem,
|
57
68
|
InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
|
69
|
+
InvoicePayment::OBJECT_NAME => InvoicePayment,
|
58
70
|
Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
|
59
71
|
Issuing::Card::OBJECT_NAME => Issuing::Card,
|
60
72
|
Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
|
73
|
+
Issuing::CreditUnderwritingRecord::OBJECT_NAME => Issuing::CreditUnderwritingRecord,
|
61
74
|
Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
|
75
|
+
Issuing::PersonalizationDesign::OBJECT_NAME => Issuing::PersonalizationDesign,
|
76
|
+
Issuing::PhysicalBundle::OBJECT_NAME => Issuing::PhysicalBundle,
|
62
77
|
Issuing::Token::OBJECT_NAME => Issuing::Token,
|
63
78
|
Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
|
64
79
|
LineItem::OBJECT_NAME => LineItem,
|
65
80
|
LoginLink::OBJECT_NAME => LoginLink,
|
66
81
|
Mandate::OBJECT_NAME => Mandate,
|
82
|
+
Margin::OBJECT_NAME => Margin,
|
83
|
+
Order::OBJECT_NAME => Order,
|
67
84
|
PaymentIntent::OBJECT_NAME => PaymentIntent,
|
68
85
|
PaymentLink::OBJECT_NAME => PaymentLink,
|
69
86
|
PaymentMethod::OBJECT_NAME => PaymentMethod,
|
@@ -76,6 +93,9 @@ module Stripe
|
|
76
93
|
Product::OBJECT_NAME => Product,
|
77
94
|
PromotionCode::OBJECT_NAME => PromotionCode,
|
78
95
|
Quote::OBJECT_NAME => Quote,
|
96
|
+
QuotePhase::OBJECT_NAME => QuotePhase,
|
97
|
+
QuotePreviewInvoice::OBJECT_NAME => QuotePreviewInvoice,
|
98
|
+
QuotePreviewSubscriptionSchedule::OBJECT_NAME => QuotePreviewSubscriptionSchedule,
|
79
99
|
Radar::EarlyFraudWarning::OBJECT_NAME => Radar::EarlyFraudWarning,
|
80
100
|
Radar::ValueList::OBJECT_NAME => Radar::ValueList,
|
81
101
|
Radar::ValueListItem::OBJECT_NAME => Radar::ValueListItem,
|
@@ -95,6 +115,7 @@ module Stripe
|
|
95
115
|
SubscriptionSchedule::OBJECT_NAME => SubscriptionSchedule,
|
96
116
|
Tax::Calculation::OBJECT_NAME => Tax::Calculation,
|
97
117
|
Tax::CalculationLineItem::OBJECT_NAME => Tax::CalculationLineItem,
|
118
|
+
Tax::Form::OBJECT_NAME => Tax::Form,
|
98
119
|
Tax::Registration::OBJECT_NAME => Tax::Registration,
|
99
120
|
Tax::Settings::OBJECT_NAME => Tax::Settings,
|
100
121
|
Tax::Transaction::OBJECT_NAME => Tax::Transaction,
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Stripe
|
4
|
+
class RequestSigningAuthenticator
|
5
|
+
AUTHORIZATION_HEADER_NAME = "Authorization"
|
6
|
+
CONTENT_TYPE_HEADER_NAME = "Content-Type"
|
7
|
+
STRIPE_CONTEXT_HEADER_NAME = "Stripe-Context"
|
8
|
+
STRIPE_ACCOUNT_HEADER_NAME = "Stripe-Account"
|
9
|
+
CONTENT_DIGEST_HEADER_NAME = "Content-Digest"
|
10
|
+
SIGNATURE_INPUT_HEADER_NAME = "Signature-Input"
|
11
|
+
SIGNATURE_HEADER_NAME = "Signature"
|
12
|
+
|
13
|
+
attr_reader :auth_token, :sign_lambda
|
14
|
+
|
15
|
+
def initialize(auth_token, sign_lambda)
|
16
|
+
unless auth_token.is_a?(String)
|
17
|
+
raise ArgumentError, "auth_token must be a string"
|
18
|
+
end
|
19
|
+
unless sign_lambda.is_a?(Proc)
|
20
|
+
raise ArgumentError, "sign_lambda must be a lambda"
|
21
|
+
end
|
22
|
+
|
23
|
+
@auth_token = auth_token
|
24
|
+
@sign_lambda = sign_lambda
|
25
|
+
end
|
26
|
+
|
27
|
+
def authenticate(method, headers, body)
|
28
|
+
covered_headers = [CONTENT_TYPE_HEADER_NAME,
|
29
|
+
CONTENT_DIGEST_HEADER_NAME,
|
30
|
+
STRIPE_CONTEXT_HEADER_NAME,
|
31
|
+
STRIPE_ACCOUNT_HEADER_NAME,
|
32
|
+
AUTHORIZATION_HEADER_NAME,]
|
33
|
+
|
34
|
+
headers[AUTHORIZATION_HEADER_NAME] = "STRIPE-V2-SIG #{auth_token}"
|
35
|
+
|
36
|
+
if method == :get
|
37
|
+
covered_headers -= [CONTENT_TYPE_HEADER_NAME,
|
38
|
+
CONTENT_DIGEST_HEADER_NAME,]
|
39
|
+
else
|
40
|
+
content = body || ""
|
41
|
+
headers[CONTENT_DIGEST_HEADER_NAME] =
|
42
|
+
%(sha-256=:#{content_digest(content)}:)
|
43
|
+
end
|
44
|
+
|
45
|
+
covered_headers_formatted = covered_headers
|
46
|
+
.map { |string| %("#{string.downcase}") }
|
47
|
+
.join(" ")
|
48
|
+
|
49
|
+
signature_input = "(#{covered_headers_formatted});created=#{created_time}"
|
50
|
+
|
51
|
+
inputs = covered_headers
|
52
|
+
.map { |header| %("#{header.downcase}": #{headers[header]}) }
|
53
|
+
.join("\n")
|
54
|
+
|
55
|
+
signature_base = %(#{inputs}\n"@signature-params": #{signature_input})
|
56
|
+
.encode(Encoding::UTF_8)
|
57
|
+
|
58
|
+
headers[SIGNATURE_INPUT_HEADER_NAME] = "sig1=#{signature_input}"
|
59
|
+
|
60
|
+
headers[SIGNATURE_HEADER_NAME] =
|
61
|
+
"sig1=:#{encoded_signature(signature_base)}:"
|
62
|
+
end
|
63
|
+
|
64
|
+
private def sign(signature_base)
|
65
|
+
@sign_lambda.call(signature_base)
|
66
|
+
end
|
67
|
+
|
68
|
+
private def encoded_signature(signature_base)
|
69
|
+
Base64.strict_encode64(sign(signature_base))
|
70
|
+
rescue StandardError
|
71
|
+
raise AuthenticationError, "Encountered '#{e.message} (#{e.class})' "\
|
72
|
+
"when calculating request signature."
|
73
|
+
end
|
74
|
+
|
75
|
+
private def content_digest(content)
|
76
|
+
Base64.strict_encode64(OpenSSL::Digest.new("SHA256").digest(content))
|
77
|
+
end
|
78
|
+
|
79
|
+
private def created_time
|
80
|
+
Time.now.to_i
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# A notice to a Connected account. Notice can be sent by Stripe on your behalf or you can opt to send the notices yourself.
|
6
|
+
#
|
7
|
+
# See the [guide to send notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts.
|
8
|
+
class AccountNotice < APIResource
|
9
|
+
extend Stripe::APIOperations::List
|
10
|
+
include Stripe::APIOperations::Save
|
11
|
+
|
12
|
+
OBJECT_NAME = "account_notice"
|
13
|
+
end
|
14
|
+
end
|