gocardless_pro 2.44.0 → 2.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f18c023fdf2776637fc1228dbd79184ac6f669be1733e9d45a8b0d83fd75811f
4
- data.tar.gz: f38f5cffffeefd3fde896538c9767c89c4e4b9075d8f2b153223ed6a6b235942
3
+ metadata.gz: f933bb05815504fee3eb6ea9893bfc3b3a2588b0672a5bf015b0d91309f98ff6
4
+ data.tar.gz: 151cd4b107edad4c6b6c55edfbbce6119d7d2c9eecee964c825b70e929733383
5
5
  SHA512:
6
- metadata.gz: b400be69bb579451995ccaa792e3b25429858ba4ea32aa6d26105c5a767bbefb587a3537a6cb9740469ee7c1628d390cab66073aa5d66b0b21dc52428e5774b5
7
- data.tar.gz: 1e8552a627d5bf46361e3871442341d6a464b49065d91c2034535cffad18a6e6476fa4dfc86c85118d532982373de62c5f1d9421ee5239d02813246c5d0bcc94
6
+ metadata.gz: 77c2b924f6aa8f9866657fc98d7c9c7531c2a1cea2cdd2d91c88adf3a0fc60dd5cbbf4a05a9c614be4fc88441403ff9b29c4eb662a6d8b3094bdfef1bbb12bd5
7
+ data.tar.gz: 0fb451d644a7f14b703857e51f6cb29a07410692f0943caa11561083a8e8119772c4f709f2fb50df62cabdd656f556ea9cbfa0b93e138150b40d01f379cba3ba
@@ -208,7 +208,7 @@ module GoCardlessPro
208
208
  'User-Agent' => "#{user_agent}",
209
209
  'Content-Type' => 'application/json',
210
210
  'GoCardless-Client-Library' => 'gocardless-pro-ruby',
211
- 'GoCardless-Client-Version' => '2.44.0',
211
+ 'GoCardless-Client-Version' => '2.45.0',
212
212
  },
213
213
  }
214
214
  end
@@ -18,7 +18,6 @@ module GoCardlessPro
18
18
  # Currently, for Anti Money Laundering reasons, any creditors you add must
19
19
  # be directly related to your organisation.
20
20
  class Creditor
21
- attr_reader :activated
22
21
  attr_reader :address_line1
23
22
  attr_reader :address_line2
24
23
  attr_reader :address_line3
@@ -44,7 +43,6 @@ module GoCardlessPro
44
43
  def initialize(object, response = nil)
45
44
  @object = object
46
45
 
47
- @activated = object['activated']
48
46
  @address_line1 = object['address_line1']
49
47
  @address_line2 = object['address_line2']
50
48
  @address_line3 = object['address_line3']
@@ -119,11 +119,20 @@ module GoCardlessPro
119
119
 
120
120
  # Applies a [scheme identifier](#core-endpoints-scheme-identifiers) to a
121
121
  # creditor.
122
+ #
123
+ # If the scheme identifier has a `pending` status, it will be applied
124
+ # asynchronously
125
+ # once it becomes `active`.
126
+ #
122
127
  # If the creditor already has a scheme identifier for the scheme, it will be
123
128
  # replaced,
124
- # and any mandates attached to it transferred asynchronously.
125
- # For some schemes, the application of the scheme identifier will be performed
126
- # asynchronously.
129
+ # and any mandates attached to it transferred asynchronously. On Bacs and SEPA,
130
+ # if
131
+ # payments were about to be submitted, they will be delayed. To minimise this
132
+ # delay, we
133
+ # recommend that you apply the new scheme identifier after the daily payment
134
+ # submission
135
+ # time (4 PM Europe/London time).
127
136
  #
128
137
  # Example URL: /creditors/:identity/actions/apply_scheme_identifier
129
138
  #
@@ -15,33 +15,39 @@ module GoCardlessPro
15
15
  # are taken
16
16
  # using it. The scheme identifier must also have the `status` of active before
17
17
  # it can be
18
- # used. For some schemes e.g. faster_payments this will happen instantly. For
19
- # other schemes
20
- # e.g. bacs this can take several days.
18
+ # used. On Bacs, this will take 5 working days. On other schemes, this happens
19
+ # instantly.
21
20
  #
22
- # ### Scheme identifier name validations
21
+ # #### Scheme identifier name validations
23
22
  #
24
- # Each scheme has different rules for the length and permitted characters in the
25
- # scheme identifier
26
- # name field. The rules are:
23
+ # The `name` field of a scheme identifier can contain alphanumeric characters,
24
+ # spaces and
25
+ # special characters.
27
26
  #
28
- # | __scheme__ | __maximum length__ | __allowed characters__ | __spaces__
29
- # |
30
- # | :-------------- | :----------------- | :----------------------- | :---------
31
- # |
32
- # | bacs | 18 characters | `a-zA-Z0-9/.&-` | yes
33
- # |
34
- # | sepa_core | 70 characters | `a-zA-Z0-9/?:().,+&<>'"` | yes
35
- # |
36
- # | ach | 16 characters | `a-zA-Z0-9/?:().,'+-` | yes
37
- # |
38
- # | faster_payments | 18 characters | `a-zA-Z0-9/?:().,'+-` | yes
39
- # |
27
+ # Its maximum length and the special characters it supports depend on the
28
+ # scheme:
29
+ #
30
+ # | __scheme__ | __maximum length__ | __special characters allowed__
31
+ # |
32
+ # | :---------------- | :----------------- |
33
+ # :-------------------------------------------------- |
34
+ # | `bacs` | 18 characters | `/` `.` `&` `-`
35
+ # |
36
+ # | `sepa_core` | 70 characters | `/` `?` `:` `(` `)` `.` `,` `+` `&`
37
+ # `<` `>` `'` `"` |
38
+ # | `ach` | 16 characters | `/` `?` `:` `(` `)` `.` `,` `'` `+`
39
+ # `-` |
40
+ # | `faster_payments` | 18 characters | `/` `?` `:` `(` `)` `.` `,` `'` `+`
41
+ # `-` |
40
42
  #
41
43
  # The validation error that gets returned for an invalid name will contain a
42
44
  # suggested name
43
45
  # in the metadata that is guaranteed to pass name validations.
44
46
  #
47
+ # You should ensure that the name you set matches the legal name or the trading
48
+ # name of
49
+ # the creditor, otherwise, there is an increased risk of chargeback.
50
+ #
45
51
  # Example URL: /scheme_identifiers
46
52
  # @param options [Hash] parameters as a hash, under a params key.
47
53
  def create(options = {})
@@ -3,5 +3,5 @@ end
3
3
 
4
4
  module GoCardlessPro
5
5
  # Current version of the GC gem
6
- VERSION = '2.44.0'
6
+ VERSION = '2.45.0'
7
7
  end
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.44.0
4
+ version: 2.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-16 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  requirements: []
200
- rubygems_version: 3.4.6
200
+ rubygems_version: 3.4.10
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: A gem for calling the GoCardless Pro API