connect-sdk-ruby 2.35.0 → 2.36.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: f5ff3202abf8abffc3ff97112e9fc380d855a3c152c0a0e82dc720136fde125a
4
- data.tar.gz: 6b3981fb7950b89b496dcfa0b22b604952339436e5b2a725afd0b39fe47240ec
3
+ metadata.gz: 5ecb154486513a53536d6e775da8872b794464f729a02469ab07570a9ee7e9b9
4
+ data.tar.gz: 27d1660095e5b008a6c3f68d982e5b278932bbbe9440337328f150a80923ca8a
5
5
  SHA512:
6
- metadata.gz: 200d55eaca4cc11fd4b753869145c3dd4c4da95cb71c4c5602d46ac41d63d74982101b261cedfa50c29cccef62f2f3084eb03f12a6657a9d22a62be87965ebeb
7
- data.tar.gz: 32b7b43d6388f05b53b7e98228761ee64d565e61dc910ff72d803c248d41dc1d7e34a43dfa9514e02648e358036a7430da1126dc134958adaa8a3d0956e6b9d8
6
+ metadata.gz: c8d61fe77f2653c98ccdd638278e11beecadedabd69a81d707d58804aa373b226a2b99e593bb5b48594d364a8654359deed7bd575336212665a4f2b63edb7d0b
7
+ data.tar.gz: ce135bb910b100780fe9dd1e15acb34c780d3d380c8334d8898350497bfd8d349b71d365fb63040a4d1005fb3334f6abd6ef4dac22245ca7c798b1f3fb78701d
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'connect-sdk-ruby'
3
- spec.version = '2.35.0'
3
+ spec.version = '2.36.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}
@@ -10,6 +10,7 @@ module Ingenico::Connect::SDK
10
10
 
11
11
  # @attr [true/false] is_authorized
12
12
  # @attr [true/false] is_refundable
13
+ # @attr [true/false] is_retriable
13
14
  # @attr [String] three_d_secure_status
14
15
  class PaymentStatusOutput < Ingenico::Connect::SDK::Domain::Definitions::OrderStatusOutput
15
16
 
@@ -17,6 +18,8 @@ module Ingenico::Connect::SDK
17
18
 
18
19
  attr_accessor :is_refundable
19
20
 
21
+ attr_accessor :is_retriable
22
+
20
23
  attr_accessor :three_d_secure_status
21
24
 
22
25
  # @return (Hash)
@@ -24,6 +27,7 @@ module Ingenico::Connect::SDK
24
27
  hash = super
25
28
  hash['isAuthorized'] = @is_authorized unless @is_authorized.nil?
26
29
  hash['isRefundable'] = @is_refundable unless @is_refundable.nil?
30
+ hash['isRetriable'] = @is_retriable unless @is_retriable.nil?
27
31
  hash['threeDSecureStatus'] = @three_d_secure_status unless @three_d_secure_status.nil?
28
32
  hash
29
33
  end
@@ -36,6 +40,9 @@ module Ingenico::Connect::SDK
36
40
  if hash.has_key? 'isRefundable'
37
41
  @is_refundable = hash['isRefundable']
38
42
  end
43
+ if hash.has_key? 'isRetriable'
44
+ @is_retriable = hash['isRetriable']
45
+ end
39
46
  if hash.has_key? 'threeDSecureStatus'
40
47
  @three_d_secure_status = hash['threeDSecureStatus']
41
48
  end
@@ -7,7 +7,7 @@ module Ingenico::Connect::SDK
7
7
  #
8
8
  # @attr_reader [Array<Ingenico::Connect::SDK::RequestHeader>] meta_data_headers List of headers that should be used in all requests.
9
9
  class MetaDataProvider
10
- @@SDK_VERSION = '2.35.0'
10
+ @@SDK_VERSION = '2.36.0'
11
11
  @@SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'
12
12
  @@PROHIBITED_HEADERS = [@@SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key',
13
13
  '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.35.0
4
+ version: 2.36.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: 2023-02-03 00:00:00.000000000 Z
11
+ date: 2023-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient