gocardless_pro 2.35.0 → 2.37.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: 68ba68f7dc161007c95d6503d6ea232d4996a7a7b496d81e85034006e5d27827
4
- data.tar.gz: a2ae91f1d5013c33d77f58805dc8603d0de6f4095117f7f9632fcf78531ec8ea
3
+ metadata.gz: e7f1e988aa7164b8006b5a6b76d0e43df2d45dcea8e51f4edaf719e94b26b939
4
+ data.tar.gz: 813c7ac58a0ef7476572b38a74456331c705574d081a90759d13f20cb63d3814
5
5
  SHA512:
6
- metadata.gz: 16d618927299e46c22399e57d3e6e22e2e613eb6a594652124a262f8e0162867f25b26a242c2917b52d206de742bd0d24d15e3d2856d4b94d66c4a65906415bb
7
- data.tar.gz: 82c1870393ac1159653e786e3df461354df383cfb3865e1e39af4693c9d0f3adf6a545b732ce6b5c0c62c796339c136f22dd0f7ce25ed6214021cb535765fcfa
6
+ metadata.gz: e1e31bbc274a59b3d6d1e1de8a2929bcc89163a7a88e0ca314f4f4498a7405f8b5c16d50da0f2e8dde70edc20032191e45099dc9230e8342738e63926a7051da
7
+ data.tar.gz: c277105a55d42a91a7cfcb5f54b98af70668ba4879a203024e8578be26f24b894def6680ba9725638c4785a8d531b9945ca02a3a9fc7663223e34419ea949611
@@ -198,7 +198,7 @@ module GoCardlessPro
198
198
  'User-Agent' => user_agent.to_s,
199
199
  'Content-Type' => 'application/json',
200
200
  'GoCardless-Client-Library' => 'gocardless-pro-ruby',
201
- 'GoCardless-Client-Version' => '2.35.0',
201
+ 'GoCardless-Client-Version' => '2.37.0',
202
202
  },
203
203
  }
204
204
  end
@@ -22,6 +22,7 @@ module GoCardlessPro
22
22
  attr_reader :exit_uri
23
23
  attr_reader :expires_at
24
24
  attr_reader :id
25
+ attr_reader :language
25
26
  attr_reader :lock_bank_account
26
27
  attr_reader :lock_currency
27
28
  attr_reader :lock_customer_details
@@ -42,6 +43,7 @@ module GoCardlessPro
42
43
  @exit_uri = object['exit_uri']
43
44
  @expires_at = object['expires_at']
44
45
  @id = object['id']
46
+ @language = object['language']
45
47
  @links = object['links']
46
48
  @lock_bank_account = object['lock_bank_account']
47
49
  @lock_currency = object['lock_currency']
@@ -18,6 +18,7 @@ module GoCardlessPro
18
18
  attr_reader :created_at
19
19
  attr_reader :id
20
20
  attr_reader :mandate_request_currency
21
+ attr_reader :mandate_request_description
21
22
  attr_reader :mandate_request_metadata
22
23
  attr_reader :mandate_request_scheme
23
24
  attr_reader :mandate_request_verify
@@ -40,6 +41,7 @@ module GoCardlessPro
40
41
  @created_at = object['created_at']
41
42
  @id = object['id']
42
43
  @mandate_request_currency = object['mandate_request_currency']
44
+ @mandate_request_description = object['mandate_request_description']
43
45
  @mandate_request_metadata = object['mandate_request_metadata']
44
46
  @mandate_request_scheme = object['mandate_request_scheme']
45
47
  @mandate_request_verify = object['mandate_request_verify']
@@ -18,24 +18,37 @@ module GoCardlessPro
18
18
  #
19
19
  # The details used to create blocks can be exact matches, like a bank
20
20
  # account or an email,
21
- # or a more generic match such as an email domain. New block types may be
22
- # added over time.
21
+ # or a more generic match such as an email domain or bank name. Please be
22
+ # careful when creating
23
+ # blocks for more generic matches as this may block legitimate payers from
24
+ # using your service.
23
25
  #
24
- # A block object is in essence a simple rule that is used to match against
25
- # details in a
26
- # newly created mandate. If there is a successful match then the mandate is
27
- # transitioned
28
- # to a "blocked" state.
26
+ # New block types may be added over time.
29
27
  #
30
- # Payments and subscriptions cannot be created against a mandate in blocked
31
- # state.
28
+ # A block is in essence a simple rule that is used to match against details
29
+ # in a newly
30
+ # created mandate. If there is a successful match then the mandate is
31
+ # transitioned to a
32
+ # "blocked" state.
32
33
  #
33
- # A mandate can never be transitioned out of the blocked state.
34
+ # Please note:
35
+ #
36
+ # - Payments and subscriptions cannot be created against a mandate in
37
+ # blocked state.
38
+ # - A mandate can never be transitioned out of the blocked state.
39
+ #
40
+ # The one exception to this is when blocking a 'bank_name'. This block will
41
+ # prevent bank
42
+ # accounts from being created for banks that match the given name. To ensure
43
+ # we match
44
+ # bank names correctly an existing bank account must be used when creating
45
+ # this block. Please
46
+ # be aware that we cannot always match a bank account to a given bank name.
34
47
  #
35
48
  # <p class="notice">
36
- # This API is currently only available for approved integrators - please
37
- # <a href="mailto:help@gocardless.com">get in touch</a> if you would like to
38
- # use this API.
49
+ # This API is currently only available for GoCardless Protect+ integrators
50
+ # - please <a href="mailto:help@gocardless.com">get in touch</a> if you
51
+ # would like to use this API.
39
52
  # </p>
40
53
  class Block
41
54
  attr_reader :active
@@ -28,6 +28,7 @@ module GoCardlessPro
28
28
  attr_reader :city
29
29
  attr_reader :country_code
30
30
  attr_reader :created_at
31
+ attr_reader :creditor_type
31
32
  attr_reader :custom_payment_pages_enabled
32
33
  attr_reader :fx_payout_currency
33
34
  attr_reader :id
@@ -53,6 +54,7 @@ module GoCardlessPro
53
54
  @city = object['city']
54
55
  @country_code = object['country_code']
55
56
  @created_at = object['created_at']
57
+ @creditor_type = object['creditor_type']
56
58
  @custom_payment_pages_enabled = object['custom_payment_pages_enabled']
57
59
  @fx_payout_currency = object['fx_payout_currency']
58
60
  @id = object['id']
@@ -4,5 +4,5 @@ end
4
4
 
5
5
  module GoCardlessPro
6
6
  # Current version of the GC gem
7
- VERSION = '2.35.0'.freeze
7
+ VERSION = '2.37.0'.freeze
8
8
  end
@@ -21,6 +21,7 @@ describe GoCardlessPro::Resources::BillingRequestFlow do
21
21
  'exit_uri' => 'exit_uri-input',
22
22
  'expires_at' => 'expires_at-input',
23
23
  'id' => 'id-input',
24
+ 'language' => 'language-input',
24
25
  'links' => 'links-input',
25
26
  'lock_bank_account' => 'lock_bank_account-input',
26
27
  'lock_currency' => 'lock_currency-input',
@@ -45,6 +46,7 @@ describe GoCardlessPro::Resources::BillingRequestFlow do
45
46
  'exit_uri' => 'exit_uri-input',
46
47
  'expires_at' => 'expires_at-input',
47
48
  'id' => 'id-input',
49
+ 'language' => 'language-input',
48
50
  'links' => 'links-input',
49
51
  'lock_bank_account' => 'lock_bank_account-input',
50
52
  'lock_currency' => 'lock_currency-input',
@@ -69,6 +71,7 @@ describe GoCardlessPro::Resources::BillingRequestFlow do
69
71
  'exit_uri' => 'exit_uri-input',
70
72
  'expires_at' => 'expires_at-input',
71
73
  'id' => 'id-input',
74
+ 'language' => 'language-input',
72
75
  'links' => 'links-input',
73
76
  'lock_bank_account' => 'lock_bank_account-input',
74
77
  'lock_currency' => 'lock_currency-input',
@@ -126,6 +129,7 @@ describe GoCardlessPro::Resources::BillingRequestFlow do
126
129
  'exit_uri' => 'exit_uri-input',
127
130
  'expires_at' => 'expires_at-input',
128
131
  'id' => 'id-input',
132
+ 'language' => 'language-input',
129
133
  'links' => 'links-input',
130
134
  'lock_bank_account' => 'lock_bank_account-input',
131
135
  'lock_currency' => 'lock_currency-input',
@@ -186,6 +190,7 @@ describe GoCardlessPro::Resources::BillingRequestFlow do
186
190
  'exit_uri' => 'exit_uri-input',
187
191
  'expires_at' => 'expires_at-input',
188
192
  'id' => 'id-input',
193
+ 'language' => 'language-input',
189
194
  'links' => 'links-input',
190
195
  'lock_bank_account' => 'lock_bank_account-input',
191
196
  'lock_currency' => 'lock_currency-input',
@@ -232,6 +237,7 @@ describe GoCardlessPro::Resources::BillingRequestFlow do
232
237
  'exit_uri' => 'exit_uri-input',
233
238
  'expires_at' => 'expires_at-input',
234
239
  'id' => 'id-input',
240
+ 'language' => 'language-input',
235
241
  'links' => 'links-input',
236
242
  'lock_bank_account' => 'lock_bank_account-input',
237
243
  'lock_currency' => 'lock_currency-input',
@@ -22,6 +22,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
22
22
  'created_at' => 'created_at-input',
23
23
  'id' => 'id-input',
24
24
  'mandate_request_currency' => 'mandate_request_currency-input',
25
+ 'mandate_request_description' => 'mandate_request_description-input',
25
26
  'mandate_request_metadata' => 'mandate_request_metadata-input',
26
27
  'mandate_request_scheme' => 'mandate_request_scheme-input',
27
28
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -57,6 +58,8 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
57
58
 
58
59
  expect(get_list_response.records.first.mandate_request_currency).to eq('mandate_request_currency-input')
59
60
 
61
+ expect(get_list_response.records.first.mandate_request_description).to eq('mandate_request_description-input')
62
+
60
63
  expect(get_list_response.records.first.mandate_request_metadata).to eq('mandate_request_metadata-input')
61
64
 
62
65
  expect(get_list_response.records.first.mandate_request_scheme).to eq('mandate_request_scheme-input')
@@ -101,6 +104,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
101
104
  'created_at' => 'created_at-input',
102
105
  'id' => 'id-input',
103
106
  'mandate_request_currency' => 'mandate_request_currency-input',
107
+ 'mandate_request_description' => 'mandate_request_description-input',
104
108
  'mandate_request_metadata' => 'mandate_request_metadata-input',
105
109
  'mandate_request_scheme' => 'mandate_request_scheme-input',
106
110
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -132,6 +136,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
132
136
  'created_at' => 'created_at-input',
133
137
  'id' => 'id-input',
134
138
  'mandate_request_currency' => 'mandate_request_currency-input',
139
+ 'mandate_request_description' => 'mandate_request_description-input',
135
140
  'mandate_request_metadata' => 'mandate_request_metadata-input',
136
141
  'mandate_request_scheme' => 'mandate_request_scheme-input',
137
142
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -179,6 +184,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
179
184
  'created_at' => 'created_at-input',
180
185
  'id' => 'id-input',
181
186
  'mandate_request_currency' => 'mandate_request_currency-input',
187
+ 'mandate_request_description' => 'mandate_request_description-input',
182
188
  'mandate_request_metadata' => 'mandate_request_metadata-input',
183
189
  'mandate_request_scheme' => 'mandate_request_scheme-input',
184
190
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -220,6 +226,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
220
226
  'created_at' => 'created_at-input',
221
227
  'id' => 'id-input',
222
228
  'mandate_request_currency' => 'mandate_request_currency-input',
229
+ 'mandate_request_description' => 'mandate_request_description-input',
223
230
  'mandate_request_metadata' => 'mandate_request_metadata-input',
224
231
  'mandate_request_scheme' => 'mandate_request_scheme-input',
225
232
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -276,6 +283,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
276
283
  'created_at' => 'created_at-input',
277
284
  'id' => 'id-input',
278
285
  'mandate_request_currency' => 'mandate_request_currency-input',
286
+ 'mandate_request_description' => 'mandate_request_description-input',
279
287
  'mandate_request_metadata' => 'mandate_request_metadata-input',
280
288
  'mandate_request_scheme' => 'mandate_request_scheme-input',
281
289
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -301,6 +309,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
301
309
  'created_at' => 'created_at-input',
302
310
  'id' => 'id-input',
303
311
  'mandate_request_currency' => 'mandate_request_currency-input',
312
+ 'mandate_request_description' => 'mandate_request_description-input',
304
313
  'mandate_request_metadata' => 'mandate_request_metadata-input',
305
314
  'mandate_request_scheme' => 'mandate_request_scheme-input',
306
315
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -326,6 +335,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
326
335
  'created_at' => 'created_at-input',
327
336
  'id' => 'id-input',
328
337
  'mandate_request_currency' => 'mandate_request_currency-input',
338
+ 'mandate_request_description' => 'mandate_request_description-input',
329
339
  'mandate_request_metadata' => 'mandate_request_metadata-input',
330
340
  'mandate_request_scheme' => 'mandate_request_scheme-input',
331
341
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -384,6 +394,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
384
394
  'created_at' => 'created_at-input',
385
395
  'id' => 'id-input',
386
396
  'mandate_request_currency' => 'mandate_request_currency-input',
397
+ 'mandate_request_description' => 'mandate_request_description-input',
387
398
  'mandate_request_metadata' => 'mandate_request_metadata-input',
388
399
  'mandate_request_scheme' => 'mandate_request_scheme-input',
389
400
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -432,6 +443,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
432
443
  'created_at' => 'created_at-input',
433
444
  'id' => 'id-input',
434
445
  'mandate_request_currency' => 'mandate_request_currency-input',
446
+ 'mandate_request_description' => 'mandate_request_description-input',
435
447
  'mandate_request_metadata' => 'mandate_request_metadata-input',
436
448
  'mandate_request_scheme' => 'mandate_request_scheme-input',
437
449
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -475,6 +487,7 @@ describe GoCardlessPro::Resources::BillingRequestTemplate do
475
487
  'created_at' => 'created_at-input',
476
488
  'id' => 'id-input',
477
489
  'mandate_request_currency' => 'mandate_request_currency-input',
490
+ 'mandate_request_description' => 'mandate_request_description-input',
478
491
  'mandate_request_metadata' => 'mandate_request_metadata-input',
479
492
  'mandate_request_scheme' => 'mandate_request_scheme-input',
480
493
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -23,6 +23,7 @@ describe GoCardlessPro::Resources::Creditor do
23
23
  'city' => 'city-input',
24
24
  'country_code' => 'country_code-input',
25
25
  'created_at' => 'created_at-input',
26
+ 'creditor_type' => 'creditor_type-input',
26
27
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
27
28
  'fx_payout_currency' => 'fx_payout_currency-input',
28
29
  'id' => 'id-input',
@@ -52,6 +53,7 @@ describe GoCardlessPro::Resources::Creditor do
52
53
  'city' => 'city-input',
53
54
  'country_code' => 'country_code-input',
54
55
  'created_at' => 'created_at-input',
56
+ 'creditor_type' => 'creditor_type-input',
55
57
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
56
58
  'fx_payout_currency' => 'fx_payout_currency-input',
57
59
  'id' => 'id-input',
@@ -81,6 +83,7 @@ describe GoCardlessPro::Resources::Creditor do
81
83
  'city' => 'city-input',
82
84
  'country_code' => 'country_code-input',
83
85
  'created_at' => 'created_at-input',
86
+ 'creditor_type' => 'creditor_type-input',
84
87
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
85
88
  'fx_payout_currency' => 'fx_payout_currency-input',
86
89
  'id' => 'id-input',
@@ -143,6 +146,7 @@ describe GoCardlessPro::Resources::Creditor do
143
146
  'city' => 'city-input',
144
147
  'country_code' => 'country_code-input',
145
148
  'created_at' => 'created_at-input',
149
+ 'creditor_type' => 'creditor_type-input',
146
150
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
147
151
  'fx_payout_currency' => 'fx_payout_currency-input',
148
152
  'id' => 'id-input',
@@ -195,6 +199,7 @@ describe GoCardlessPro::Resources::Creditor do
195
199
  'city' => 'city-input',
196
200
  'country_code' => 'country_code-input',
197
201
  'created_at' => 'created_at-input',
202
+ 'creditor_type' => 'creditor_type-input',
198
203
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
199
204
  'fx_payout_currency' => 'fx_payout_currency-input',
200
205
  'id' => 'id-input',
@@ -238,6 +243,7 @@ describe GoCardlessPro::Resources::Creditor do
238
243
  'city' => 'city-input',
239
244
  'country_code' => 'country_code-input',
240
245
  'created_at' => 'created_at-input',
246
+ 'creditor_type' => 'creditor_type-input',
241
247
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
242
248
  'fx_payout_currency' => 'fx_payout_currency-input',
243
249
  'id' => 'id-input',
@@ -281,6 +287,8 @@ describe GoCardlessPro::Resources::Creditor do
281
287
 
282
288
  expect(get_list_response.records.first.created_at).to eq('created_at-input')
283
289
 
290
+ expect(get_list_response.records.first.creditor_type).to eq('creditor_type-input')
291
+
284
292
  expect(get_list_response.records.first.custom_payment_pages_enabled).to eq('custom_payment_pages_enabled-input')
285
293
 
286
294
  expect(get_list_response.records.first.fx_payout_currency).to eq('fx_payout_currency-input')
@@ -327,6 +335,7 @@ describe GoCardlessPro::Resources::Creditor do
327
335
  'city' => 'city-input',
328
336
  'country_code' => 'country_code-input',
329
337
  'created_at' => 'created_at-input',
338
+ 'creditor_type' => 'creditor_type-input',
330
339
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
331
340
  'fx_payout_currency' => 'fx_payout_currency-input',
332
341
  'id' => 'id-input',
@@ -362,6 +371,7 @@ describe GoCardlessPro::Resources::Creditor do
362
371
  'city' => 'city-input',
363
372
  'country_code' => 'country_code-input',
364
373
  'created_at' => 'created_at-input',
374
+ 'creditor_type' => 'creditor_type-input',
365
375
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
366
376
  'fx_payout_currency' => 'fx_payout_currency-input',
367
377
  'id' => 'id-input',
@@ -413,6 +423,7 @@ describe GoCardlessPro::Resources::Creditor do
413
423
  'city' => 'city-input',
414
424
  'country_code' => 'country_code-input',
415
425
  'created_at' => 'created_at-input',
426
+ 'creditor_type' => 'creditor_type-input',
416
427
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
417
428
  'fx_payout_currency' => 'fx_payout_currency-input',
418
429
  'id' => 'id-input',
@@ -458,6 +469,7 @@ describe GoCardlessPro::Resources::Creditor do
458
469
  'city' => 'city-input',
459
470
  'country_code' => 'country_code-input',
460
471
  'created_at' => 'created_at-input',
472
+ 'creditor_type' => 'creditor_type-input',
461
473
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
462
474
  'fx_payout_currency' => 'fx_payout_currency-input',
463
475
  'id' => 'id-input',
@@ -525,6 +537,7 @@ describe GoCardlessPro::Resources::Creditor do
525
537
  'city' => 'city-input',
526
538
  'country_code' => 'country_code-input',
527
539
  'created_at' => 'created_at-input',
540
+ 'creditor_type' => 'creditor_type-input',
528
541
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
529
542
  'fx_payout_currency' => 'fx_payout_currency-input',
530
543
  'id' => 'id-input',
@@ -21,6 +21,7 @@ describe GoCardlessPro::Services::BillingRequestFlowsService do
21
21
  'exit_uri' => 'exit_uri-input',
22
22
  'expires_at' => 'expires_at-input',
23
23
  'id' => 'id-input',
24
+ 'language' => 'language-input',
24
25
  'links' => 'links-input',
25
26
  'lock_bank_account' => 'lock_bank_account-input',
26
27
  'lock_currency' => 'lock_currency-input',
@@ -45,6 +46,7 @@ describe GoCardlessPro::Services::BillingRequestFlowsService do
45
46
  'exit_uri' => 'exit_uri-input',
46
47
  'expires_at' => 'expires_at-input',
47
48
  'id' => 'id-input',
49
+ 'language' => 'language-input',
48
50
  'links' => 'links-input',
49
51
  'lock_bank_account' => 'lock_bank_account-input',
50
52
  'lock_currency' => 'lock_currency-input',
@@ -69,6 +71,7 @@ describe GoCardlessPro::Services::BillingRequestFlowsService do
69
71
  'exit_uri' => 'exit_uri-input',
70
72
  'expires_at' => 'expires_at-input',
71
73
  'id' => 'id-input',
74
+ 'language' => 'language-input',
72
75
  'links' => 'links-input',
73
76
  'lock_bank_account' => 'lock_bank_account-input',
74
77
  'lock_currency' => 'lock_currency-input',
@@ -149,6 +152,7 @@ describe GoCardlessPro::Services::BillingRequestFlowsService do
149
152
  'exit_uri' => 'exit_uri-input',
150
153
  'expires_at' => 'expires_at-input',
151
154
  'id' => 'id-input',
155
+ 'language' => 'language-input',
152
156
  'links' => 'links-input',
153
157
  'lock_bank_account' => 'lock_bank_account-input',
154
158
  'lock_currency' => 'lock_currency-input',
@@ -209,6 +213,7 @@ describe GoCardlessPro::Services::BillingRequestFlowsService do
209
213
  'exit_uri' => 'exit_uri-input',
210
214
  'expires_at' => 'expires_at-input',
211
215
  'id' => 'id-input',
216
+ 'language' => 'language-input',
212
217
  'links' => 'links-input',
213
218
  'lock_bank_account' => 'lock_bank_account-input',
214
219
  'lock_currency' => 'lock_currency-input',
@@ -266,6 +271,7 @@ describe GoCardlessPro::Services::BillingRequestFlowsService do
266
271
  'exit_uri' => 'exit_uri-input',
267
272
  'expires_at' => 'expires_at-input',
268
273
  'id' => 'id-input',
274
+ 'language' => 'language-input',
269
275
  'links' => 'links-input',
270
276
  'lock_bank_account' => 'lock_bank_account-input',
271
277
  'lock_currency' => 'lock_currency-input',
@@ -21,6 +21,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
21
21
  'created_at' => 'created_at-input',
22
22
  'id' => 'id-input',
23
23
  'mandate_request_currency' => 'mandate_request_currency-input',
24
+ 'mandate_request_description' => 'mandate_request_description-input',
24
25
  'mandate_request_metadata' => 'mandate_request_metadata-input',
25
26
  'mandate_request_scheme' => 'mandate_request_scheme-input',
26
27
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -61,6 +62,8 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
61
62
 
62
63
  expect(get_list_response.records.first.mandate_request_currency).to eq('mandate_request_currency-input')
63
64
 
65
+ expect(get_list_response.records.first.mandate_request_description).to eq('mandate_request_description-input')
66
+
64
67
  expect(get_list_response.records.first.mandate_request_metadata).to eq('mandate_request_metadata-input')
65
68
 
66
69
  expect(get_list_response.records.first.mandate_request_scheme).to eq('mandate_request_scheme-input')
@@ -128,6 +131,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
128
131
  'created_at' => 'created_at-input',
129
132
  'id' => 'id-input',
130
133
  'mandate_request_currency' => 'mandate_request_currency-input',
134
+ 'mandate_request_description' => 'mandate_request_description-input',
131
135
  'mandate_request_metadata' => 'mandate_request_metadata-input',
132
136
  'mandate_request_scheme' => 'mandate_request_scheme-input',
133
137
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -159,6 +163,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
159
163
  'created_at' => 'created_at-input',
160
164
  'id' => 'id-input',
161
165
  'mandate_request_currency' => 'mandate_request_currency-input',
166
+ 'mandate_request_description' => 'mandate_request_description-input',
162
167
  'mandate_request_metadata' => 'mandate_request_metadata-input',
163
168
  'mandate_request_scheme' => 'mandate_request_scheme-input',
164
169
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -199,6 +204,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
199
204
  'created_at' => 'created_at-input',
200
205
  'id' => 'id-input',
201
206
  'mandate_request_currency' => 'mandate_request_currency-input',
207
+ 'mandate_request_description' => 'mandate_request_description-input',
202
208
  'mandate_request_metadata' => 'mandate_request_metadata-input',
203
209
  'mandate_request_scheme' => 'mandate_request_scheme-input',
204
210
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -230,6 +236,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
230
236
  'created_at' => 'created_at-input',
231
237
  'id' => 'id-input',
232
238
  'mandate_request_currency' => 'mandate_request_currency-input',
239
+ 'mandate_request_description' => 'mandate_request_description-input',
233
240
  'mandate_request_metadata' => 'mandate_request_metadata-input',
234
241
  'mandate_request_scheme' => 'mandate_request_scheme-input',
235
242
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -266,6 +273,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
266
273
  'created_at' => 'created_at-input',
267
274
  'id' => 'id-input',
268
275
  'mandate_request_currency' => 'mandate_request_currency-input',
276
+ 'mandate_request_description' => 'mandate_request_description-input',
269
277
  'mandate_request_metadata' => 'mandate_request_metadata-input',
270
278
  'mandate_request_scheme' => 'mandate_request_scheme-input',
271
279
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -300,6 +308,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
300
308
  'created_at' => 'created_at-input',
301
309
  'id' => 'id-input',
302
310
  'mandate_request_currency' => 'mandate_request_currency-input',
311
+ 'mandate_request_description' => 'mandate_request_description-input',
303
312
  'mandate_request_metadata' => 'mandate_request_metadata-input',
304
313
  'mandate_request_scheme' => 'mandate_request_scheme-input',
305
314
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -347,6 +356,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
347
356
  'created_at' => 'created_at-input',
348
357
  'id' => 'id-input',
349
358
  'mandate_request_currency' => 'mandate_request_currency-input',
359
+ 'mandate_request_description' => 'mandate_request_description-input',
350
360
  'mandate_request_metadata' => 'mandate_request_metadata-input',
351
361
  'mandate_request_scheme' => 'mandate_request_scheme-input',
352
362
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -388,6 +398,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
388
398
  'created_at' => 'created_at-input',
389
399
  'id' => 'id-input',
390
400
  'mandate_request_currency' => 'mandate_request_currency-input',
401
+ 'mandate_request_description' => 'mandate_request_description-input',
391
402
  'mandate_request_metadata' => 'mandate_request_metadata-input',
392
403
  'mandate_request_scheme' => 'mandate_request_scheme-input',
393
404
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -499,6 +510,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
499
510
  'created_at' => 'created_at-input',
500
511
  'id' => 'id-input',
501
512
  'mandate_request_currency' => 'mandate_request_currency-input',
513
+ 'mandate_request_description' => 'mandate_request_description-input',
502
514
  'mandate_request_metadata' => 'mandate_request_metadata-input',
503
515
  'mandate_request_scheme' => 'mandate_request_scheme-input',
504
516
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -524,6 +536,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
524
536
  'created_at' => 'created_at-input',
525
537
  'id' => 'id-input',
526
538
  'mandate_request_currency' => 'mandate_request_currency-input',
539
+ 'mandate_request_description' => 'mandate_request_description-input',
527
540
  'mandate_request_metadata' => 'mandate_request_metadata-input',
528
541
  'mandate_request_scheme' => 'mandate_request_scheme-input',
529
542
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -549,6 +562,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
549
562
  'created_at' => 'created_at-input',
550
563
  'id' => 'id-input',
551
564
  'mandate_request_currency' => 'mandate_request_currency-input',
565
+ 'mandate_request_description' => 'mandate_request_description-input',
552
566
  'mandate_request_metadata' => 'mandate_request_metadata-input',
553
567
  'mandate_request_scheme' => 'mandate_request_scheme-input',
554
568
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -630,6 +644,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
630
644
  'created_at' => 'created_at-input',
631
645
  'id' => 'id-input',
632
646
  'mandate_request_currency' => 'mandate_request_currency-input',
647
+ 'mandate_request_description' => 'mandate_request_description-input',
633
648
  'mandate_request_metadata' => 'mandate_request_metadata-input',
634
649
  'mandate_request_scheme' => 'mandate_request_scheme-input',
635
650
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -678,6 +693,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
678
693
  'created_at' => 'created_at-input',
679
694
  'id' => 'id-input',
680
695
  'mandate_request_currency' => 'mandate_request_currency-input',
696
+ 'mandate_request_description' => 'mandate_request_description-input',
681
697
  'mandate_request_metadata' => 'mandate_request_metadata-input',
682
698
  'mandate_request_scheme' => 'mandate_request_scheme-input',
683
699
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -737,6 +753,7 @@ describe GoCardlessPro::Services::BillingRequestTemplatesService do
737
753
  'created_at' => 'created_at-input',
738
754
  'id' => 'id-input',
739
755
  'mandate_request_currency' => 'mandate_request_currency-input',
756
+ 'mandate_request_description' => 'mandate_request_description-input',
740
757
  'mandate_request_metadata' => 'mandate_request_metadata-input',
741
758
  'mandate_request_scheme' => 'mandate_request_scheme-input',
742
759
  'mandate_request_verify' => 'mandate_request_verify-input',
@@ -23,6 +23,7 @@ describe GoCardlessPro::Services::CreditorsService do
23
23
  'city' => 'city-input',
24
24
  'country_code' => 'country_code-input',
25
25
  'created_at' => 'created_at-input',
26
+ 'creditor_type' => 'creditor_type-input',
26
27
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
27
28
  'fx_payout_currency' => 'fx_payout_currency-input',
28
29
  'id' => 'id-input',
@@ -52,6 +53,7 @@ describe GoCardlessPro::Services::CreditorsService do
52
53
  'city' => 'city-input',
53
54
  'country_code' => 'country_code-input',
54
55
  'created_at' => 'created_at-input',
56
+ 'creditor_type' => 'creditor_type-input',
55
57
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
56
58
  'fx_payout_currency' => 'fx_payout_currency-input',
57
59
  'id' => 'id-input',
@@ -81,6 +83,7 @@ describe GoCardlessPro::Services::CreditorsService do
81
83
  'city' => 'city-input',
82
84
  'country_code' => 'country_code-input',
83
85
  'created_at' => 'created_at-input',
86
+ 'creditor_type' => 'creditor_type-input',
84
87
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
85
88
  'fx_payout_currency' => 'fx_payout_currency-input',
86
89
  'id' => 'id-input',
@@ -166,6 +169,7 @@ describe GoCardlessPro::Services::CreditorsService do
166
169
  'city' => 'city-input',
167
170
  'country_code' => 'country_code-input',
168
171
  'created_at' => 'created_at-input',
172
+ 'creditor_type' => 'creditor_type-input',
169
173
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
170
174
  'fx_payout_currency' => 'fx_payout_currency-input',
171
175
  'id' => 'id-input',
@@ -218,6 +222,7 @@ describe GoCardlessPro::Services::CreditorsService do
218
222
  'city' => 'city-input',
219
223
  'country_code' => 'country_code-input',
220
224
  'created_at' => 'created_at-input',
225
+ 'creditor_type' => 'creditor_type-input',
221
226
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
222
227
  'fx_payout_currency' => 'fx_payout_currency-input',
223
228
  'id' => 'id-input',
@@ -276,6 +281,7 @@ describe GoCardlessPro::Services::CreditorsService do
276
281
  'city' => 'city-input',
277
282
  'country_code' => 'country_code-input',
278
283
  'created_at' => 'created_at-input',
284
+ 'creditor_type' => 'creditor_type-input',
279
285
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
280
286
  'fx_payout_currency' => 'fx_payout_currency-input',
281
287
  'id' => 'id-input',
@@ -324,6 +330,8 @@ describe GoCardlessPro::Services::CreditorsService do
324
330
 
325
331
  expect(get_list_response.records.first.created_at).to eq('created_at-input')
326
332
 
333
+ expect(get_list_response.records.first.creditor_type).to eq('creditor_type-input')
334
+
327
335
  expect(get_list_response.records.first.custom_payment_pages_enabled).to eq('custom_payment_pages_enabled-input')
328
336
 
329
337
  expect(get_list_response.records.first.fx_payout_currency).to eq('fx_payout_currency-input')
@@ -393,6 +401,7 @@ describe GoCardlessPro::Services::CreditorsService do
393
401
  'city' => 'city-input',
394
402
  'country_code' => 'country_code-input',
395
403
  'created_at' => 'created_at-input',
404
+ 'creditor_type' => 'creditor_type-input',
396
405
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
397
406
  'fx_payout_currency' => 'fx_payout_currency-input',
398
407
  'id' => 'id-input',
@@ -428,6 +437,7 @@ describe GoCardlessPro::Services::CreditorsService do
428
437
  'city' => 'city-input',
429
438
  'country_code' => 'country_code-input',
430
439
  'created_at' => 'created_at-input',
440
+ 'creditor_type' => 'creditor_type-input',
431
441
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
432
442
  'fx_payout_currency' => 'fx_payout_currency-input',
433
443
  'id' => 'id-input',
@@ -472,6 +482,7 @@ describe GoCardlessPro::Services::CreditorsService do
472
482
  'city' => 'city-input',
473
483
  'country_code' => 'country_code-input',
474
484
  'created_at' => 'created_at-input',
485
+ 'creditor_type' => 'creditor_type-input',
475
486
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
476
487
  'fx_payout_currency' => 'fx_payout_currency-input',
477
488
  'id' => 'id-input',
@@ -507,6 +518,7 @@ describe GoCardlessPro::Services::CreditorsService do
507
518
  'city' => 'city-input',
508
519
  'country_code' => 'country_code-input',
509
520
  'created_at' => 'created_at-input',
521
+ 'creditor_type' => 'creditor_type-input',
510
522
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
511
523
  'fx_payout_currency' => 'fx_payout_currency-input',
512
524
  'id' => 'id-input',
@@ -547,6 +559,7 @@ describe GoCardlessPro::Services::CreditorsService do
547
559
  'city' => 'city-input',
548
560
  'country_code' => 'country_code-input',
549
561
  'created_at' => 'created_at-input',
562
+ 'creditor_type' => 'creditor_type-input',
550
563
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
551
564
  'fx_payout_currency' => 'fx_payout_currency-input',
552
565
  'id' => 'id-input',
@@ -585,6 +598,7 @@ describe GoCardlessPro::Services::CreditorsService do
585
598
  'city' => 'city-input',
586
599
  'country_code' => 'country_code-input',
587
600
  'created_at' => 'created_at-input',
601
+ 'creditor_type' => 'creditor_type-input',
588
602
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
589
603
  'fx_payout_currency' => 'fx_payout_currency-input',
590
604
  'id' => 'id-input',
@@ -636,6 +650,7 @@ describe GoCardlessPro::Services::CreditorsService do
636
650
  'city' => 'city-input',
637
651
  'country_code' => 'country_code-input',
638
652
  'created_at' => 'created_at-input',
653
+ 'creditor_type' => 'creditor_type-input',
639
654
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
640
655
  'fx_payout_currency' => 'fx_payout_currency-input',
641
656
  'id' => 'id-input',
@@ -681,6 +696,7 @@ describe GoCardlessPro::Services::CreditorsService do
681
696
  'city' => 'city-input',
682
697
  'country_code' => 'country_code-input',
683
698
  'created_at' => 'created_at-input',
699
+ 'creditor_type' => 'creditor_type-input',
684
700
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
685
701
  'fx_payout_currency' => 'fx_payout_currency-input',
686
702
  'id' => 'id-input',
@@ -803,6 +819,7 @@ describe GoCardlessPro::Services::CreditorsService do
803
819
  'city' => 'city-input',
804
820
  'country_code' => 'country_code-input',
805
821
  'created_at' => 'created_at-input',
822
+ 'creditor_type' => 'creditor_type-input',
806
823
  'custom_payment_pages_enabled' => 'custom_payment_pages_enabled-input',
807
824
  'fx_payout_currency' => 'fx_payout_currency-input',
808
825
  'id' => 'id-input',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gocardless_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.35.0
4
+ version: 2.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-02 00:00:00.000000000 Z
11
+ date: 2022-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday