mollie-api-ruby 4.0.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_todo.yml +6 -0
  3. data/examples/captures/get-payment.rb +2 -0
  4. data/examples/captures/get-settlement.rb +2 -0
  5. data/examples/captures/get-shipment.rb +2 -0
  6. data/examples/captures/get.rb +4 -0
  7. data/examples/captures/list.rb +1 -0
  8. data/examples/orders/cancel-lines.rb +2 -0
  9. data/examples/orders/cancel.rb +5 -0
  10. data/examples/orders/create-refund.rb +15 -0
  11. data/examples/orders/create.rb +88 -0
  12. data/examples/orders/get.rb +1 -0
  13. data/examples/orders/list-refunds.rb +1 -0
  14. data/examples/orders/list.rb +1 -0
  15. data/examples/orders/update.rb +15 -0
  16. data/examples/payments/get-order.rb +2 -0
  17. data/examples/refunds/get-order.rb +2 -0
  18. data/examples/shipments/create.rb +17 -0
  19. data/examples/shipments/get-order.rb +2 -0
  20. data/examples/shipments/get.rb +4 -0
  21. data/examples/shipments/list.rb +1 -0
  22. data/examples/shipments/update.rb +9 -0
  23. data/lib/mollie.rb +5 -0
  24. data/lib/mollie/base.rb +2 -0
  25. data/lib/mollie/exception.rb +1 -1
  26. data/lib/mollie/list.rb +8 -0
  27. data/lib/mollie/order.rb +142 -0
  28. data/lib/mollie/order/line.rb +95 -0
  29. data/lib/mollie/order/refund.rb +6 -0
  30. data/lib/mollie/order/shipment.rb +34 -0
  31. data/lib/mollie/payment.rb +17 -6
  32. data/lib/mollie/payment/capture.rb +43 -0
  33. data/lib/mollie/refund.rb +11 -0
  34. data/lib/mollie/version.rb +1 -1
  35. data/test/fixtures/captures/get.json +39 -0
  36. data/test/fixtures/captures/list.json +58 -0
  37. data/test/fixtures/orders/cancel_line.json +8 -0
  38. data/test/fixtures/orders/cancel_line_qty.json +8 -0
  39. data/test/fixtures/orders/create.json +88 -0
  40. data/test/fixtures/orders/create_refund.json +9 -0
  41. data/test/fixtures/orders/get.json +218 -0
  42. data/test/fixtures/orders/list.json +34 -0
  43. data/test/fixtures/orders/list_refunds.json +85 -0
  44. data/test/fixtures/orders/refund.json +63 -0
  45. data/test/fixtures/orders/refund_all.json +3 -0
  46. data/test/fixtures/orders/update.json +14 -0
  47. data/test/fixtures/refunds/get.json +111 -0
  48. data/test/fixtures/shipments/create.json +16 -0
  49. data/test/fixtures/shipments/get.json +101 -0
  50. data/test/fixtures/shipments/list.json +74 -0
  51. data/test/fixtures/shipments/update.json +7 -0
  52. data/test/helper.rb +4 -0
  53. data/test/mollie/list_test.rb +3 -0
  54. data/test/mollie/order/line_test.rb +45 -0
  55. data/test/mollie/order/shipment_test.rb +143 -0
  56. data/test/mollie/order_test.rb +289 -0
  57. data/test/mollie/payment/capture_test.rb +77 -0
  58. data/test/mollie/payment_test.rb +33 -0
  59. data/test/mollie/refund_test.rb +64 -0
  60. metadata +101 -34
@@ -0,0 +1,77 @@
1
+ require 'helper'
2
+
3
+ module Mollie
4
+ class Payment
5
+ class CaptureTest < Test::Unit::TestCase
6
+ GET_CAPTURE = read_fixture('captures/get.json')
7
+ LIST_CAPTURES = read_fixture('captures/list.json')
8
+
9
+ PAYMENT_STUB = %({ "resource": "payment", "id": "tr_WDqYK6vllg" }).freeze
10
+ SHIPMENT_STUB = %({ "resource": "shipment", "id": "shp_3wmsgCJN4U" }).freeze
11
+ SETTLEMENT_STUB = %({ "resource": "settlement", "id": "stl_jDk30akdN" }).freeze
12
+
13
+ def test_get_capture
14
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/captures/cpt_4qqhO89gsT')
15
+ .to_return(status: 200, body: GET_CAPTURE, headers: {})
16
+
17
+ capture = Payment::Capture.get('cpt_4qqhO89gsT', payment_id: 'tr_WDqYK6vllg')
18
+ assert_equal 'cpt_4qqhO89gsT', capture.id
19
+ assert_equal 'live', capture.mode
20
+ assert_equal BigDecimal('1027.99'), capture.amount.value
21
+ assert_equal 'EUR', capture.amount.currency
22
+ assert_equal BigDecimal('399'), capture.settlement_amount.value
23
+ assert_equal 'EUR', capture.settlement_amount.currency
24
+ assert_equal 'tr_WDqYK6vllg', capture.payment_id
25
+ assert_equal 'shp_3wmsgCJN4U', capture.shipment_id
26
+ assert_equal 'stl_jDk30akdN', capture.settlement_id
27
+ assert_equal Time.parse('2018-08-02T09:29:56+00:00'), capture.created_at
28
+ end
29
+
30
+ def test_list_captures
31
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/captures')
32
+ .to_return(status: 200, body: LIST_CAPTURES, headers: {})
33
+
34
+ captures = Payment::Capture.all(payment_id: 'tr_WDqYK6vllg')
35
+ assert_equal 1, captures.size
36
+ assert_equal 'cpt_4qqhO89gsT', captures.first.id
37
+ assert_equal 'tr_WDqYK6vllg', captures.first.payment_id
38
+ end
39
+
40
+ def test_get_payment
41
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/captures/cpt_4qqhO89gsT')
42
+ .to_return(status: 200, body: GET_CAPTURE, headers: {})
43
+
44
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg')
45
+ .to_return(status: 200, body: PAYMENT_STUB, headers: {})
46
+
47
+ capture = Payment::Capture.get('cpt_4qqhO89gsT', payment_id: 'tr_WDqYK6vllg')
48
+ assert_equal 'cpt_4qqhO89gsT', capture.id
49
+ assert_equal 'tr_WDqYK6vllg', capture.payment.id
50
+ end
51
+
52
+ def test_get_shipment
53
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/captures/cpt_4qqhO89gsT')
54
+ .to_return(status: 200, body: GET_CAPTURE, headers: {})
55
+
56
+ stub_request(:get, 'https://api.mollie.com/v2/shipments/shp_3wmsgCJN4U')
57
+ .to_return(status: 200, body: SHIPMENT_STUB, headers: {})
58
+
59
+ capture = Payment::Capture.get('cpt_4qqhO89gsT', payment_id: 'tr_WDqYK6vllg')
60
+ assert_equal 'cpt_4qqhO89gsT', capture.id
61
+ assert_equal 'shp_3wmsgCJN4U', capture.shipment.id
62
+ end
63
+
64
+ def test_get_settlement
65
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/captures/cpt_4qqhO89gsT')
66
+ .to_return(status: 200, body: GET_CAPTURE, headers: {})
67
+
68
+ stub_request(:get, 'https://api.mollie.com/v2/settlements/stl_jDk30akdN')
69
+ .to_return(status: 200, body: SETTLEMENT_STUB, headers: {})
70
+
71
+ capture = Payment::Capture.get('cpt_4qqhO89gsT', payment_id: 'tr_WDqYK6vllg')
72
+ assert_equal 'cpt_4qqhO89gsT', capture.id
73
+ assert_equal 'stl_jDk30akdN', capture.settlement.id
74
+ end
75
+ end
76
+ end
77
+ end
@@ -105,6 +105,11 @@ module Mollie
105
105
  assert !Payment.new(status: nil).paid?
106
106
  end
107
107
 
108
+ def test_status_authorized
109
+ assert Payment.new(status: Payment::STATUS_AUTHORIZED).authorized?
110
+ assert !Payment.new(status: 'not-authorized').authorized?
111
+ end
112
+
108
113
  def test_create_payment
109
114
  stub_request(:post, 'https://api.mollie.com/v2/payments')
110
115
  .with(body: %({"amount":{"value":1.95,"currency":"EUR"}}))
@@ -343,5 +348,33 @@ module Mollie
343
348
  payment = Payment.new(id: 'tr_WDqYK6vllg')
344
349
  assert payment.customer.nil?
345
350
  end
351
+
352
+ def test_get_order
353
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg')
354
+ .to_return(status: 200, body: %(
355
+ {
356
+ "resource": "payment",
357
+ "id": "tr_WDqYK6vllg",
358
+ "order_id": "ord_kEn1PlbGa"
359
+ }
360
+ ), headers: {})
361
+
362
+ stub_request(:get, 'https://api.mollie.com/v2/orders/ord_kEn1PlbGa')
363
+ .to_return(status: 200, body: %(
364
+ {
365
+ "resource": "order",
366
+ "id": "ord_kEn1PlbGa"
367
+ }
368
+ ), headers: {})
369
+
370
+ payment = Payment.get('tr_WDqYK6vllg')
371
+ order = payment.order
372
+ assert_equal 'ord_kEn1PlbGa', order.id
373
+ end
374
+
375
+ def test_nil_order
376
+ payment = Payment.new(id: 'tr_WDqYK6vllg')
377
+ assert payment.order.nil?
378
+ end
346
379
  end
347
380
  end
@@ -62,6 +62,42 @@ module Mollie
62
62
  assert_equal nil, refund
63
63
  end
64
64
 
65
+ def test_order_lines
66
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/refunds/re_4qqhO89gsT')
67
+ .to_return(status: 200, body: read_fixture('refunds/get.json'), headers: {})
68
+
69
+ refund = Payment::Refund.get('re_4qqhO89gsT', payment_id: 'tr_WDqYK6vllg')
70
+ assert refund.lines.size == 2
71
+
72
+ line = refund.lines.first
73
+ assert_equal 'odl_d1ec55', line.id
74
+ assert_equal 'ord_stTC2WHAuS', line.order_id
75
+ assert_equal 'LEGO 42083 Bugatti Chiron', line.name
76
+ assert_equal 'https://shop.lego.com/nl-NL/Bugatti-Chiron-42083', line.product_url
77
+ assert_equal 'https://sh-s7-live-s.legocdn.com/is/image//LEGO/42083_alt1?$main$', line.image_url
78
+ assert_equal '5702016116977', line.sku
79
+ assert_equal 'physical', line.type
80
+ assert_equal 'completed', line.status
81
+ assert_equal false, line.is_cancelable
82
+ assert_equal false, line.cancelable?
83
+ assert_equal 2, line.quantity
84
+ assert_equal '21.00', line.vat_rate
85
+
86
+ assert_equal BigDecimal('399.0'), line.unit_price.value
87
+ assert_equal 'EUR', line.unit_price.currency
88
+
89
+ assert_equal BigDecimal('121.14'), line.vat_amount.value
90
+ assert_equal 'EUR', line.vat_amount.currency
91
+
92
+ assert_equal BigDecimal('100.0'), line.discount_amount.value
93
+ assert_equal 'EUR', line.discount_amount.currency
94
+
95
+ assert_equal BigDecimal('698.0'), line.total_amount.value
96
+ assert_equal 'EUR', line.total_amount.currency
97
+
98
+ assert_equal Time.parse('2018-09-23T17:23:13+00:00'), line.created_at
99
+ end
100
+
65
101
  def test_get_payment
66
102
  stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/refunds/re_4qqhO89gsT')
67
103
  .to_return(status: 200, body: %(
@@ -116,5 +152,33 @@ module Mollie
116
152
  refund = Payment::Refund.new(id: 'tr_WDqYK6vllg')
117
153
  assert refund.settlement.nil?
118
154
  end
155
+
156
+ def test_get_order
157
+ stub_request(:get, 'https://api.mollie.com/v2/payments/tr_WDqYK6vllg/refunds/re_4qqhO89gsT')
158
+ .to_return(status: 200, body: %(
159
+ {
160
+ "resource": "refund",
161
+ "id": "re_4qqhO89gsT",
162
+ "order_id": "ord_kEn1PlbGa"
163
+ }
164
+ ), headers: {})
165
+
166
+ stub_request(:get, 'https://api.mollie.com/v2/orders/ord_kEn1PlbGa')
167
+ .to_return(status: 200, body: %(
168
+ {
169
+ "resource": "order",
170
+ "id": "ord_kEn1PlbGa"
171
+ }
172
+ ), headers: {})
173
+
174
+ refund = Payment::Refund.get('re_4qqhO89gsT', payment_id: 'tr_WDqYK6vllg')
175
+ order = refund.order
176
+ assert_equal 'ord_kEn1PlbGa', order.id
177
+ end
178
+
179
+ def test_nil_order
180
+ refund = Payment::Refund.new(id: 're_4qqhO89gsT')
181
+ assert refund.order.nil?
182
+ end
119
183
  end
120
184
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mollie-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mollie B.V.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-04 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.57.2
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.57.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: |-
@@ -78,10 +78,10 @@ executables: []
78
78
  extensions: []
79
79
  extra_rdoc_files: []
80
80
  files:
81
- - .gitignore
82
- - .rubocop.yml
83
- - .rubocop_todo.yml
84
- - .travis.yml
81
+ - ".gitignore"
82
+ - ".rubocop.yml"
83
+ - ".rubocop_todo.yml"
84
+ - ".travis.yml"
85
85
  - CHANGELOG.md
86
86
  - Gemfile
87
87
  - LICENSE
@@ -92,6 +92,11 @@ files:
92
92
  - bin/setup
93
93
  - docs/migration_v2_2_x.md
94
94
  - docs/migration_v3_x.md
95
+ - examples/captures/get-payment.rb
96
+ - examples/captures/get-settlement.rb
97
+ - examples/captures/get-shipment.rb
98
+ - examples/captures/get.rb
99
+ - examples/captures/list.rb
95
100
  - examples/chargebacks/get.rb
96
101
  - examples/chargebacks/list.rb
97
102
  - examples/connect/authorize.rb
@@ -111,12 +116,21 @@ files:
111
116
  - examples/mandates/list.rb
112
117
  - examples/methods/get.rb
113
118
  - examples/methods/list.rb
119
+ - examples/orders/cancel-lines.rb
120
+ - examples/orders/cancel.rb
121
+ - examples/orders/create-refund.rb
122
+ - examples/orders/create.rb
123
+ - examples/orders/get.rb
124
+ - examples/orders/list-refunds.rb
125
+ - examples/orders/list.rb
126
+ - examples/orders/update.rb
114
127
  - examples/organisations/get-current.rb
115
128
  - examples/organisations/get.rb
116
129
  - examples/payments/create.rb
117
130
  - examples/payments/delete.rb
118
131
  - examples/payments/get-customer.rb
119
132
  - examples/payments/get-mandate.rb
133
+ - examples/payments/get-order.rb
120
134
  - examples/payments/get-settlement.rb
121
135
  - examples/payments/get-subscription.rb
122
136
  - examples/payments/get.rb
@@ -135,6 +149,7 @@ files:
135
149
  - examples/profiles/update.rb
136
150
  - examples/refunds/create.rb
137
151
  - examples/refunds/delete.rb
152
+ - examples/refunds/get-order.rb
138
153
  - examples/refunds/get-payment.rb
139
154
  - examples/refunds/get.rb
140
155
  - examples/refunds/list.rb
@@ -145,6 +160,11 @@ files:
145
160
  - examples/settlements/list.rb
146
161
  - examples/settlements/next.rb
147
162
  - examples/settlements/open.rb
163
+ - examples/shipments/create.rb
164
+ - examples/shipments/get-order.rb
165
+ - examples/shipments/get.rb
166
+ - examples/shipments/list.rb
167
+ - examples/shipments/update.rb
148
168
  - examples/subscriptions/create.rb
149
169
  - examples/subscriptions/delete.rb
150
170
  - examples/subscriptions/get.rb
@@ -165,8 +185,13 @@ files:
165
185
  - lib/mollie/invoice.rb
166
186
  - lib/mollie/list.rb
167
187
  - lib/mollie/method.rb
188
+ - lib/mollie/order.rb
189
+ - lib/mollie/order/line.rb
190
+ - lib/mollie/order/refund.rb
191
+ - lib/mollie/order/shipment.rb
168
192
  - lib/mollie/organization.rb
169
193
  - lib/mollie/payment.rb
194
+ - lib/mollie/payment/capture.rb
170
195
  - lib/mollie/payment/chargeback.rb
171
196
  - lib/mollie/payment/refund.rb
172
197
  - lib/mollie/permission.rb
@@ -179,6 +204,23 @@ files:
179
204
  - lib/mollie/util.rb
180
205
  - lib/mollie/version.rb
181
206
  - mollie-api-ruby.gemspec
207
+ - test/fixtures/captures/get.json
208
+ - test/fixtures/captures/list.json
209
+ - test/fixtures/orders/cancel_line.json
210
+ - test/fixtures/orders/cancel_line_qty.json
211
+ - test/fixtures/orders/create.json
212
+ - test/fixtures/orders/create_refund.json
213
+ - test/fixtures/orders/get.json
214
+ - test/fixtures/orders/list.json
215
+ - test/fixtures/orders/list_refunds.json
216
+ - test/fixtures/orders/refund.json
217
+ - test/fixtures/orders/refund_all.json
218
+ - test/fixtures/orders/update.json
219
+ - test/fixtures/refunds/get.json
220
+ - test/fixtures/shipments/create.json
221
+ - test/fixtures/shipments/get.json
222
+ - test/fixtures/shipments/list.json
223
+ - test/fixtures/shipments/update.json
182
224
  - test/helper.rb
183
225
  - test/mollie/amount_test.rb
184
226
  - test/mollie/base_test.rb
@@ -191,7 +233,11 @@ files:
191
233
  - test/mollie/invoice_test.rb
192
234
  - test/mollie/list_test.rb
193
235
  - test/mollie/method_test.rb
236
+ - test/mollie/order/line_test.rb
237
+ - test/mollie/order/shipment_test.rb
238
+ - test/mollie/order_test.rb
194
239
  - test/mollie/organization_test.rb
240
+ - test/mollie/payment/capture_test.rb
195
241
  - test/mollie/payment/chargeback_test.rb
196
242
  - test/mollie/payment/refund_test.rb
197
243
  - test/mollie/payment_test.rb
@@ -214,12 +260,12 @@ require_paths:
214
260
  - lib
215
261
  required_ruby_version: !ruby/object:Gem::Requirement
216
262
  requirements:
217
- - - '>='
263
+ - - ">="
218
264
  - !ruby/object:Gem::Version
219
265
  version: 2.0.0
220
266
  required_rubygems_version: !ruby/object:Gem::Requirement
221
267
  requirements:
222
- - - '>='
268
+ - - ">="
223
269
  - !ruby/object:Gem::Version
224
270
  version: '0'
225
271
  requirements: []
@@ -229,28 +275,49 @@ signing_key:
229
275
  specification_version: 4
230
276
  summary: Official Mollie API Client for Ruby
231
277
  test_files:
232
- - test/helper.rb
233
- - test/mollie/amount_test.rb
278
+ - test/fixtures/captures/get.json
279
+ - test/fixtures/captures/list.json
280
+ - test/fixtures/refunds/get.json
281
+ - test/fixtures/orders/update.json
282
+ - test/fixtures/orders/refund_all.json
283
+ - test/fixtures/orders/cancel_line_qty.json
284
+ - test/fixtures/orders/create_refund.json
285
+ - test/fixtures/orders/get.json
286
+ - test/fixtures/orders/refund.json
287
+ - test/fixtures/orders/list.json
288
+ - test/fixtures/orders/list_refunds.json
289
+ - test/fixtures/orders/cancel_line.json
290
+ - test/fixtures/orders/create.json
291
+ - test/fixtures/shipments/update.json
292
+ - test/fixtures/shipments/get.json
293
+ - test/fixtures/shipments/list.json
294
+ - test/fixtures/shipments/create.json
295
+ - test/mollie/invoice_test.rb
234
296
  - test/mollie/base_test.rb
235
- - test/mollie/chargeback_test.rb
297
+ - test/mollie/settlement/payment_test.rb
298
+ - test/mollie/settlement/chargeback_test.rb
299
+ - test/mollie/settlement/refund_test.rb
300
+ - test/mollie/amount_test.rb
301
+ - test/mollie/payment_test.rb
302
+ - test/mollie/profile_test.rb
303
+ - test/mollie/method_test.rb
304
+ - test/mollie/organization_test.rb
305
+ - test/mollie/settlement_test.rb
306
+ - test/mollie/util_test.rb
236
307
  - test/mollie/client_test.rb
237
- - test/mollie/customer/mandate_test.rb
238
- - test/mollie/customer/payment_test.rb
239
- - test/mollie/customer/subscription_test.rb
308
+ - test/mollie/chargeback_test.rb
309
+ - test/mollie/permission_test.rb
240
310
  - test/mollie/customer_test.rb
241
- - test/mollie/invoice_test.rb
311
+ - test/mollie/customer/subscription_test.rb
312
+ - test/mollie/customer/payment_test.rb
313
+ - test/mollie/customer/mandate_test.rb
314
+ - test/mollie/refund_test.rb
242
315
  - test/mollie/list_test.rb
243
- - test/mollie/method_test.rb
244
- - test/mollie/organization_test.rb
245
316
  - test/mollie/payment/chargeback_test.rb
317
+ - test/mollie/payment/capture_test.rb
246
318
  - test/mollie/payment/refund_test.rb
247
- - test/mollie/payment_test.rb
248
- - test/mollie/permission_test.rb
249
- - test/mollie/profile_test.rb
250
- - test/mollie/refund_test.rb
251
- - test/mollie/settlement/chargeback_test.rb
252
- - test/mollie/settlement/payment_test.rb
253
- - test/mollie/settlement/refund_test.rb
254
- - test/mollie/settlement_test.rb
255
- - test/mollie/util_test.rb
319
+ - test/mollie/order/shipment_test.rb
320
+ - test/mollie/order/line_test.rb
321
+ - test/mollie/order_test.rb
256
322
  - test/run-test.rb
323
+ - test/helper.rb