connect-sdk-ruby 2.46.0 → 2.47.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: 31e5d55730eaedf21e2ca2e4d0ac0c81b8c6ce6595d6273240dd24fdf669c329
4
- data.tar.gz: a21a51b499dc455ea3ac39609b9e03a07b70beb646aecc81abf426eaec36a984
3
+ metadata.gz: e3126dedb5946a68ac1cd320f41ce8c75a17b81c78dca433202b91df1a8a6b17
4
+ data.tar.gz: 232e2120ae13f239d936d68a5c397d9fe622077ae78e2e9da1bb62d53bcf9e4b
5
5
  SHA512:
6
- metadata.gz: dbadda5a76bf9fdd986e52e9f0820eb59a59909f231bd1f0dfecd68eeca188e1fad3f18f34ab4ca7688a3ac32feb5520374826dd3c5e3dcaa16cdbfe4310f1b8
7
- data.tar.gz: 91b4db8b41b6e7d262ae00da59c707f128a3d48d65fe4ca191eb73b8a111fb4fc5cc8a0c0a78a04935ebb41056b6deeeba65c68719ab211e27d6f4d8c6826743
6
+ metadata.gz: 7d9654aeeb1bc58a6e3582310b0c8dfa86c50d0cd5af3adda3912bb6f06a4902f0111e6a0487654e50ad4c99b531c6cd6e351e26385efde623b70df5696f32d4
7
+ data.tar.gz: 62b2c5fae21f48ac59dc38e6672bee870db069598e028f662efb29b76a12ea7432949f07608ab8e4df307989c8f401ffad48956baafb51efe2f5073807c51677
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'connect-sdk-ruby'
3
- spec.version = '2.46.0'
3
+ spec.version = '2.47.0'
4
4
  spec.authors = ['Ingenico ePayments']
5
5
  spec.email = ['github@epay.ingenico.com']
6
6
  spec.summary = %q{SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API}
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.add_hide('fields')
19
20
 
20
21
  response = client.merchant('merchantId').productgroups.get('cards', query)
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.add_hide('fields')
19
20
 
20
21
  response = client.merchant('merchantId').productgroups.find(query)
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.force_basic_flow = false
19
20
  query.add_hide('fields')
20
21
 
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.add_hide('fields')
19
20
 
20
21
  response = client.merchant('merchantId').products.find(query)
@@ -16,6 +16,7 @@ module Ingenico
16
16
  # @attr [String] locale
17
17
  # @attr [Integer] amount
18
18
  # @attr [true/false] is_recurring
19
+ # @attr [true/false] is_installments
19
20
  # @attr [Array<String>] hide
20
21
  class FindProductgroupsParams < Ingenico::Connect::SDK::ParamRequest
21
22
 
@@ -29,6 +30,8 @@ module Ingenico
29
30
 
30
31
  attr_accessor :is_recurring
31
32
 
33
+ attr_accessor :is_installments
34
+
32
35
  attr_accessor :hide
33
36
 
34
37
  # Adds the parameter _value_ to the _hide_ Array
@@ -48,6 +51,7 @@ module Ingenico
48
51
  result << RequestParam.new('locale', @locale) unless @locale.nil?
49
52
  result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
50
53
  result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
54
+ result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
51
55
  unless @hide.nil?
52
56
  @hide.each {|e| result << RequestParam.new('hide', e)}
53
57
  end
@@ -16,6 +16,7 @@ module Ingenico
16
16
  # @attr [String] locale
17
17
  # @attr [Integer] amount
18
18
  # @attr [true/false] is_recurring
19
+ # @attr [true/false] is_installments
19
20
  # @attr [Array<String>] hide
20
21
  class GetProductgroupParams < Ingenico::Connect::SDK::ParamRequest
21
22
 
@@ -29,6 +30,8 @@ module Ingenico
29
30
 
30
31
  attr_accessor :is_recurring
31
32
 
33
+ attr_accessor :is_installments
34
+
32
35
  attr_accessor :hide
33
36
 
34
37
  # Adds the parameter _value_ to the _hide_ Array
@@ -48,6 +51,7 @@ module Ingenico
48
51
  result << RequestParam.new('locale', @locale) unless @locale.nil?
49
52
  result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
50
53
  result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
54
+ result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
51
55
  unless @hide.nil?
52
56
  @hide.each {|e| result << RequestParam.new('hide', e)}
53
57
  end
@@ -16,6 +16,7 @@ module Ingenico
16
16
  # @attr [String] locale
17
17
  # @attr [Integer] amount
18
18
  # @attr [true/false] is_recurring
19
+ # @attr [true/false] is_installments
19
20
  # @attr [Array<String>] hide
20
21
  class FindProductsParams < Ingenico::Connect::SDK::ParamRequest
21
22
 
@@ -29,6 +30,8 @@ module Ingenico
29
30
 
30
31
  attr_accessor :is_recurring
31
32
 
33
+ attr_accessor :is_installments
34
+
32
35
  attr_accessor :hide
33
36
 
34
37
  # Adds the parameter _value_ to the _hide_ Array
@@ -48,6 +51,7 @@ module Ingenico
48
51
  result << RequestParam.new('locale', @locale) unless @locale.nil?
49
52
  result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
50
53
  result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
54
+ result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
51
55
  unless @hide.nil?
52
56
  @hide.each {|e| result << RequestParam.new('hide', e)}
53
57
  end
@@ -16,6 +16,7 @@ module Ingenico
16
16
  # @attr [String] locale
17
17
  # @attr [Integer] amount
18
18
  # @attr [true/false] is_recurring
19
+ # @attr [true/false] is_installments
19
20
  # @attr [Array<String>] hide
20
21
  # @attr [true/false] force_basic_flow
21
22
  class GetProductParams < Ingenico::Connect::SDK::ParamRequest
@@ -30,6 +31,8 @@ module Ingenico
30
31
 
31
32
  attr_accessor :is_recurring
32
33
 
34
+ attr_accessor :is_installments
35
+
33
36
  attr_accessor :hide
34
37
 
35
38
  attr_accessor :force_basic_flow
@@ -51,6 +54,7 @@ module Ingenico
51
54
  result << RequestParam.new('locale', @locale) unless @locale.nil?
52
55
  result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
53
56
  result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
57
+ result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
54
58
  unless @hide.nil?
55
59
  @hide.each {|e| result << RequestParam.new('hide', e)}
56
60
  end
@@ -11,7 +11,7 @@ module Ingenico
11
11
  #
12
12
  # @attr_reader [Array<Ingenico::Connect::SDK::RequestHeader>] meta_data_headers List of headers that should be used in all requests.
13
13
  class MetaDataProvider
14
- @@SDK_VERSION = '2.46.0'
14
+ @@SDK_VERSION = '2.47.0'
15
15
  @@SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'
16
16
  @@PROHIBITED_HEADERS = [@@SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key',
17
17
  'Date', 'Content-Type', 'Authorization'].sort!.freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: connect-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.46.0
4
+ version: 2.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ingenico ePayments
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2024-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -815,7 +815,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
815
815
  - !ruby/object:Gem::Version
816
816
  version: '0'
817
817
  requirements: []
818
- rubygems_version: 3.0.3
818
+ rubygems_version: 3.4.22
819
819
  signing_key:
820
820
  specification_version: 4
821
821
  summary: SDK to communicate with the Ingenico ePayments platform using the Ingenico