onlinepayments-sdk-ruby 9.1.0 → 9.2.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: 24ee173f8cfb6ab62b08e2ca199fb291eb0b4e8a815d518e58d6b2c20e91a0a7
4
- data.tar.gz: 5f88dc77c6011d4a17b413f4ee00a17ecdd28c0fd0b1bbe826bf9ad6080a5c69
3
+ metadata.gz: 31592d108afcb9a5472bdaa58c66bf26a7ecd23c884df6bc2050ad77fbac552d
4
+ data.tar.gz: d9dda3cdc684271591e2322059e81c64cb801a52b5c1d283691b2d91342cff12
5
5
  SHA512:
6
- metadata.gz: 8db93f68522487fef0d16deb005b5151d8bd2d1cc4cefce565e78b990f714dfe5d95b9a303e86222aac16b10af80e946cd541bdcd417f7bf0418dbfad863911d
7
- data.tar.gz: 68a4c0384b4099357ff4ee0f8734d67e13fbf13bbe9ed058b4dc3a11ea5451f21a6887cdbce899e3f69616f802160c52abd2060fcd7bdcf78deeb25981946c62
6
+ metadata.gz: 6a7f75c32f748792dca7a39b6aa1a270dff47bdcb4079c7cb2134e9658307b65c4893c44efbf43d8ae351d59184c02004d9533d1da515188d05c9a5c383e16ba
7
+ data.tar.gz: a91fe1edfc099c5ff25cdec42e4c72068a47b64fd03fd59391a091781a0bbab108d3a3f814e5f4d6d642810546c479095a45892300589487ea5a53d058b1a140
@@ -13,7 +13,7 @@ module OnlinePayments
13
13
  class MetadataProvider
14
14
  private
15
15
 
16
- SDK_VERSION = '9.1.0'.freeze
16
+ SDK_VERSION = '9.2.0'.freeze
17
17
  SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'.freeze
18
18
  PROHIBITED_HEADERS = [SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key', 'Date', 'Content-Type', 'Authorization'].sort!.freeze
19
19
  CHARSET = 'utf-8'.freeze
@@ -39,6 +39,7 @@ module OnlinePayments
39
39
  # @attr [Integer, nil] payment_product_id
40
40
  # @attr [OnlinePayments::SDK::Domain::ReattemptInstructions, nil] reattempt_instructions
41
41
  # @attr [String, nil] scheme_reference_data
42
+ # @attr [String, nil] scheme_transaction_id
42
43
  # @attr [OnlinePayments::SDK::Domain::ThreeDSecureResults, nil] three_d_secure_results
43
44
  # @attr [String, nil] token
44
45
  class CardPaymentMethodSpecificOutput < OnlinePayments::SDK::Domain::DataObject
@@ -83,6 +84,8 @@ module OnlinePayments
83
84
 
84
85
  attr_accessor :scheme_reference_data
85
86
 
87
+ attr_accessor :scheme_transaction_id
88
+
86
89
  attr_accessor :three_d_secure_results
87
90
 
88
91
  attr_accessor :token
@@ -110,6 +113,7 @@ module OnlinePayments
110
113
  hash['paymentProductId'] = @payment_product_id unless @payment_product_id.nil?
111
114
  hash['reattemptInstructions'] = @reattempt_instructions.to_h unless @reattempt_instructions.nil?
112
115
  hash['schemeReferenceData'] = @scheme_reference_data unless @scheme_reference_data.nil?
116
+ hash['schemeTransactionId'] = @scheme_transaction_id unless @scheme_transaction_id.nil?
113
117
  hash['threeDSecureResults'] = @three_d_secure_results.to_h unless @three_d_secure_results.nil?
114
118
  hash['token'] = @token unless @token.nil?
115
119
  hash
@@ -189,6 +193,9 @@ module OnlinePayments
189
193
  if hash.has_key? 'schemeReferenceData'
190
194
  @scheme_reference_data = hash['schemeReferenceData']
191
195
  end
196
+ if hash.has_key? 'schemeTransactionId'
197
+ @scheme_transaction_id = hash['schemeTransactionId']
198
+ end
192
199
  if hash.has_key? 'threeDSecureResults'
193
200
  raise TypeError, "value '%s' is not a Hash" % [hash['threeDSecureResults']] unless hash['threeDSecureResults'].is_a? Hash
194
201
  @three_d_secure_results = OnlinePayments::SDK::Domain::ThreeDSecureResults.new_from_hash(hash['threeDSecureResults'])
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'onlinepayments-sdk-ruby'
3
- spec.version = '9.1.0'
3
+ spec.version = '9.2.0'
4
4
  spec.authors = ['Worldline Direct support team']
5
5
  spec.email = ['82139942+worldline-direct-support-team@users.noreply.github.com']
6
6
  spec.summary = %q{SDK to communicate with the Online Payments platform using the Online Payments Server API}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onlinepayments-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.0
4
+ version: 9.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Worldline Direct support team