connect-sdk-ruby 4.2.1 → 4.3.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: ad171d5a17dd9882058aa009cfe4db74a466bdb5d571cbbde608afb5be1d5182
4
- data.tar.gz: 06f0b2a5373eb7ca663d0c234325a58426f51e82edf9ba2cf25205a036647cc9
3
+ metadata.gz: 6eb70538d7cb572c35fca75c5d19fa3b7aa898aadf8303fed5f0b648e36ade87
4
+ data.tar.gz: 709340e0e61f1a9421768407179b707321a2f883acadb97df052183798190aba
5
5
  SHA512:
6
- metadata.gz: dfb291fcbf06b3b8a8c0e70f4857ef76e67b35b6bf8d4ab727be6de21fb0bf34ac307f42803f992640150308bcda423ce46461e0e0df715e456b9aff94541b21
7
- data.tar.gz: 241fa249b58e9c8a6e45a89ec5a914a25b39e9de7e37b31bc93efa66c22881a1c06eb8b3b1db143934733d430bfb6026efd8886c038bdcf7cfde1b8ab85fc5a8
6
+ metadata.gz: 8ab8e6993d9472abc575763089c3a037911b0b71858ef75f3799f96e8d6f3e2e9e004622945eb9827844ee86d259f614b9ebef985db95d1fe8479b1a55866560
7
+ data.tar.gz: dfcba9e5ea4755debd7b92d54d28198b25719f58b68f043a93c2ac461b1c6cb73e6af2bee9a0e69c810a03ab9373ea9a930950e7a504b374718df79b4ea62f7f
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'connect-sdk-ruby'
3
- spec.version = '4.2.1'
3
+ spec.version = '4.3.0'
4
4
  spec.authors = ['Worldline Global Collect']
5
5
  spec.email = ['github.connect@worldline.com']
6
6
  spec.summary = %q{SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API}
@@ -14,7 +14,7 @@ module Worldline
14
14
  class MetadataProvider
15
15
  private
16
16
 
17
- SDK_VERSION = '4.2.1'.freeze
17
+ SDK_VERSION = '4.3.0'.freeze
18
18
  SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'.freeze
19
19
  PROHIBITED_HEADERS = [SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key','Date', 'Content-Type', 'Authorization'].sort!.freeze
20
20
  CHARSET = 'utf-8'.freeze
@@ -5,6 +5,8 @@
5
5
  require 'worldline/connect/sdk/v1/domain/abstract_cash_payment_method_specific_input'
6
6
  require 'worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input'
7
7
  require 'worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input'
8
+ require 'worldline/connect/sdk/v1/domain/cash_payment_product1506_specific_input'
9
+ require 'worldline/connect/sdk/v1/domain/cash_payment_product1508_specific_input'
8
10
  require 'worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input'
9
11
  require 'worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input'
10
12
  require 'worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input'
@@ -18,6 +20,8 @@ module Worldline
18
20
  module Domain
19
21
  # @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1503SpecificInput] payment_product1503_specific_input
20
22
  # @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput] payment_product1504_specific_input
23
+ # @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1506SpecificInput] payment_product1506_specific_input
24
+ # @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1508SpecificInput] payment_product1508_specific_input
21
25
  # @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput] payment_product1521_specific_input
22
26
  # @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1522SpecificInput] payment_product1522_specific_input
23
27
  # @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1523SpecificInput] payment_product1523_specific_input
@@ -30,6 +34,10 @@ module Worldline
30
34
 
31
35
  attr_accessor :payment_product1504_specific_input
32
36
 
37
+ attr_accessor :payment_product1506_specific_input
38
+
39
+ attr_accessor :payment_product1508_specific_input
40
+
33
41
  attr_accessor :payment_product1521_specific_input
34
42
 
35
43
  attr_accessor :payment_product1522_specific_input
@@ -45,6 +53,8 @@ module Worldline
45
53
  hash = super
46
54
  hash['paymentProduct1503SpecificInput'] = @payment_product1503_specific_input.to_h unless @payment_product1503_specific_input.nil?
47
55
  hash['paymentProduct1504SpecificInput'] = @payment_product1504_specific_input.to_h unless @payment_product1504_specific_input.nil?
56
+ hash['paymentProduct1506SpecificInput'] = @payment_product1506_specific_input.to_h unless @payment_product1506_specific_input.nil?
57
+ hash['paymentProduct1508SpecificInput'] = @payment_product1508_specific_input.to_h unless @payment_product1508_specific_input.nil?
48
58
  hash['paymentProduct1521SpecificInput'] = @payment_product1521_specific_input.to_h unless @payment_product1521_specific_input.nil?
49
59
  hash['paymentProduct1522SpecificInput'] = @payment_product1522_specific_input.to_h unless @payment_product1522_specific_input.nil?
50
60
  hash['paymentProduct1523SpecificInput'] = @payment_product1523_specific_input.to_h unless @payment_product1523_specific_input.nil?
@@ -63,6 +73,14 @@ module Worldline
63
73
  raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1504SpecificInput']] unless hash['paymentProduct1504SpecificInput'].is_a? Hash
64
74
  @payment_product1504_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput.new_from_hash(hash['paymentProduct1504SpecificInput'])
65
75
  end
76
+ if hash.has_key? 'paymentProduct1506SpecificInput'
77
+ raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1506SpecificInput']] unless hash['paymentProduct1506SpecificInput'].is_a? Hash
78
+ @payment_product1506_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1506SpecificInput.new_from_hash(hash['paymentProduct1506SpecificInput'])
79
+ end
80
+ if hash.has_key? 'paymentProduct1508SpecificInput'
81
+ raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1508SpecificInput']] unless hash['paymentProduct1508SpecificInput'].is_a? Hash
82
+ @payment_product1508_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1508SpecificInput.new_from_hash(hash['paymentProduct1508SpecificInput'])
83
+ end
66
84
  if hash.has_key? 'paymentProduct1521SpecificInput'
67
85
  raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1521SpecificInput']] unless hash['paymentProduct1521SpecificInput'].is_a? Hash
68
86
  @payment_product1521_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput.new_from_hash(hash['paymentProduct1521SpecificInput'])
@@ -0,0 +1,18 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ module Domain
12
+ class CashPaymentProduct1506SpecificInput < Worldline::Connect::SDK::V1::Domain::CashPaymentProductWithRedirectSpecificInputBase
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,18 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ module Domain
12
+ class CashPaymentProduct1508SpecificInput < Worldline::Connect::SDK::V1::Domain::CashPaymentProductWithRedirectSpecificInputBase
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,46 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/domain/data_object'
6
+ require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration_mastercard'
7
+ require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration_visa'
8
+
9
+ module Worldline
10
+ module Connect
11
+ module SDK
12
+ module V1
13
+ module Domain
14
+ # @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationMastercard] mastercard
15
+ # @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationVisa] visa
16
+ class ClickToPayConfiguration < Worldline::Connect::SDK::Domain::DataObject
17
+
18
+ attr_accessor :mastercard
19
+
20
+ attr_accessor :visa
21
+
22
+ # @return (Hash)
23
+ def to_h
24
+ hash = super
25
+ hash['mastercard'] = @mastercard.to_h unless @mastercard.nil?
26
+ hash['visa'] = @visa.to_h unless @visa.nil?
27
+ hash
28
+ end
29
+
30
+ def from_hash(hash)
31
+ super
32
+ if hash.has_key? 'mastercard'
33
+ raise TypeError, "value '%s' is not a Hash" % [hash['mastercard']] unless hash['mastercard'].is_a? Hash
34
+ @mastercard = Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationMastercard.new_from_hash(hash['mastercard'])
35
+ end
36
+ if hash.has_key? 'visa'
37
+ raise TypeError, "value '%s' is not a Hash" % [hash['visa']] unless hash['visa'].is_a? Hash
38
+ @visa = Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationVisa.new_from_hash(hash['visa'])
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,18 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/v1/domain/click_to_pay_scheme_configuration_base'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ module Domain
12
+ class ClickToPayConfigurationMastercard < Worldline::Connect::SDK::V1::Domain::ClickToPaySchemeConfigurationBase
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,42 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/v1/domain/click_to_pay_scheme_configuration_base'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ module Domain
12
+ # @attr [String] encryption_key
13
+ # @attr [String] n_modulus
14
+ class ClickToPayConfigurationVisa < Worldline::Connect::SDK::V1::Domain::ClickToPaySchemeConfigurationBase
15
+
16
+ attr_accessor :encryption_key
17
+
18
+ attr_accessor :n_modulus
19
+
20
+ # @return (Hash)
21
+ def to_h
22
+ hash = super
23
+ hash['encryptionKey'] = @encryption_key unless @encryption_key.nil?
24
+ hash['nModulus'] = @n_modulus unless @n_modulus.nil?
25
+ hash
26
+ end
27
+
28
+ def from_hash(hash)
29
+ super
30
+ if hash.has_key? 'encryptionKey'
31
+ @encryption_key = hash['encryptionKey']
32
+ end
33
+ if hash.has_key? 'nModulus'
34
+ @n_modulus = hash['nModulus']
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,42 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/domain/data_object'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ module Domain
12
+ # @attr [String] src_dpa_id
13
+ # @attr [String] src_initiator_id
14
+ class ClickToPaySchemeConfigurationBase < Worldline::Connect::SDK::Domain::DataObject
15
+
16
+ attr_accessor :src_dpa_id
17
+
18
+ attr_accessor :src_initiator_id
19
+
20
+ # @return (Hash)
21
+ def to_h
22
+ hash = super
23
+ hash['srcDpaId'] = @src_dpa_id unless @src_dpa_id.nil?
24
+ hash['srcInitiatorId'] = @src_initiator_id unless @src_initiator_id.nil?
25
+ hash
26
+ end
27
+
28
+ def from_hash(hash)
29
+ super
30
+ if hash.has_key? 'srcDpaId'
31
+ @src_dpa_id = hash['srcDpaId']
32
+ end
33
+ if hash.has_key? 'srcInitiatorId'
34
+ @src_initiator_id = hash['srcInitiatorId']
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -9,11 +9,14 @@ module Worldline
9
9
  module SDK
10
10
  module V1
11
11
  module Domain
12
+ # @attr [Integer] deferred_payment_amount
12
13
  # @attr [String] deferred_payment_date
13
14
  # @attr [String] free_cancellation_date
14
15
  # @attr [String] free_cancellation_date_time_zone
15
16
  class DeferredBillingDetails < Worldline::Connect::SDK::V1::Domain::BaseBillingDetails
16
17
 
18
+ attr_accessor :deferred_payment_amount
19
+
17
20
  attr_accessor :deferred_payment_date
18
21
 
19
22
  attr_accessor :free_cancellation_date
@@ -23,6 +26,7 @@ module Worldline
23
26
  # @return (Hash)
24
27
  def to_h
25
28
  hash = super
29
+ hash['deferredPaymentAmount'] = @deferred_payment_amount unless @deferred_payment_amount.nil?
26
30
  hash['deferredPaymentDate'] = @deferred_payment_date unless @deferred_payment_date.nil?
27
31
  hash['freeCancellationDate'] = @free_cancellation_date unless @free_cancellation_date.nil?
28
32
  hash['freeCancellationDateTimeZone'] = @free_cancellation_date_time_zone unless @free_cancellation_date_time_zone.nil?
@@ -31,6 +35,9 @@ module Worldline
31
35
 
32
36
  def from_hash(hash)
33
37
  super
38
+ if hash.has_key? 'deferredPaymentAmount'
39
+ @deferred_payment_amount = hash['deferredPaymentAmount']
40
+ end
34
41
  if hash.has_key? 'deferredPaymentDate'
35
42
  @deferred_payment_date = hash['deferredPaymentDate']
36
43
  end
@@ -5,6 +5,7 @@
5
5
  require 'worldline/connect/sdk/domain/data_object'
6
6
  require 'worldline/connect/sdk/v1/domain/account_on_file'
7
7
  require 'worldline/connect/sdk/v1/domain/authentication_indicator'
8
+ require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration'
8
9
  require 'worldline/connect/sdk/v1/domain/payment_product302_specific_data'
9
10
  require 'worldline/connect/sdk/v1/domain/payment_product320_specific_data'
10
11
  require 'worldline/connect/sdk/v1/domain/payment_product863_specific_data'
@@ -18,12 +19,14 @@ module Worldline
18
19
  module Domain
19
20
  # @attr [Array<Worldline::Connect::SDK::V1::Domain::AccountOnFile>] accounts_on_file
20
21
  # @attr [String] acquirer_country
22
+ # @attr [true/false] allows_click_to_pay
21
23
  # @attr [true/false] allows_installments
22
24
  # @attr [true/false] allows_recurring
23
25
  # @attr [true/false] allows_tokenization
24
26
  # @attr [Worldline::Connect::SDK::V1::Domain::AuthenticationIndicator] authentication_indicator
25
27
  # @attr [true/false] auto_tokenized
26
28
  # @attr [true/false] can_be_iframed
29
+ # @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration] click_to_pay_configuration
27
30
  # @attr [true/false] device_fingerprint_enabled
28
31
  # @attr [Worldline::Connect::SDK::V1::Domain::PaymentProductDisplayHints] display_hints
29
32
  # @attr [Array<Worldline::Connect::SDK::V1::Domain::PaymentProductField>] fields
@@ -47,6 +50,8 @@ module Worldline
47
50
 
48
51
  attr_accessor :acquirer_country
49
52
 
53
+ attr_accessor :allows_click_to_pay
54
+
50
55
  attr_accessor :allows_installments
51
56
 
52
57
  attr_accessor :allows_recurring
@@ -59,6 +64,8 @@ module Worldline
59
64
 
60
65
  attr_accessor :can_be_iframed
61
66
 
67
+ attr_accessor :click_to_pay_configuration
68
+
62
69
  attr_accessor :device_fingerprint_enabled
63
70
 
64
71
  attr_accessor :display_hints
@@ -98,12 +105,14 @@ module Worldline
98
105
  hash = super
99
106
  hash['accountsOnFile'] = @accounts_on_file.collect{|val| val.to_h} unless @accounts_on_file.nil?
100
107
  hash['acquirerCountry'] = @acquirer_country unless @acquirer_country.nil?
108
+ hash['allowsClickToPay'] = @allows_click_to_pay unless @allows_click_to_pay.nil?
101
109
  hash['allowsInstallments'] = @allows_installments unless @allows_installments.nil?
102
110
  hash['allowsRecurring'] = @allows_recurring unless @allows_recurring.nil?
103
111
  hash['allowsTokenization'] = @allows_tokenization unless @allows_tokenization.nil?
104
112
  hash['authenticationIndicator'] = @authentication_indicator.to_h unless @authentication_indicator.nil?
105
113
  hash['autoTokenized'] = @auto_tokenized unless @auto_tokenized.nil?
106
114
  hash['canBeIframed'] = @can_be_iframed unless @can_be_iframed.nil?
115
+ hash['clickToPayConfiguration'] = @click_to_pay_configuration.to_h unless @click_to_pay_configuration.nil?
107
116
  hash['deviceFingerprintEnabled'] = @device_fingerprint_enabled unless @device_fingerprint_enabled.nil?
108
117
  hash['displayHints'] = @display_hints.to_h unless @display_hints.nil?
109
118
  hash['fields'] = @fields.collect{|val| val.to_h} unless @fields.nil?
@@ -136,6 +145,9 @@ module Worldline
136
145
  if hash.has_key? 'acquirerCountry'
137
146
  @acquirer_country = hash['acquirerCountry']
138
147
  end
148
+ if hash.has_key? 'allowsClickToPay'
149
+ @allows_click_to_pay = hash['allowsClickToPay']
150
+ end
139
151
  if hash.has_key? 'allowsInstallments'
140
152
  @allows_installments = hash['allowsInstallments']
141
153
  end
@@ -155,6 +167,10 @@ module Worldline
155
167
  if hash.has_key? 'canBeIframed'
156
168
  @can_be_iframed = hash['canBeIframed']
157
169
  end
170
+ if hash.has_key? 'clickToPayConfiguration'
171
+ raise TypeError, "value '%s' is not a Hash" % [hash['clickToPayConfiguration']] unless hash['clickToPayConfiguration'].is_a? Hash
172
+ @click_to_pay_configuration = Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration.new_from_hash(hash['clickToPayConfiguration'])
173
+ end
158
174
  if hash.has_key? 'deviceFingerprintEnabled'
159
175
  @device_fingerprint_enabled = hash['deviceFingerprintEnabled']
160
176
  end
@@ -4,6 +4,7 @@
4
4
  #
5
5
  require 'worldline/connect/sdk/domain/data_object'
6
6
  require 'worldline/connect/sdk/v1/domain/account_on_file'
7
+ require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration'
7
8
  require 'worldline/connect/sdk/v1/domain/payment_product_display_hints'
8
9
  require 'worldline/connect/sdk/v1/domain/payment_product_field'
9
10
 
@@ -13,7 +14,9 @@ module Worldline
13
14
  module V1
14
15
  module Domain
15
16
  # @attr [Array<Worldline::Connect::SDK::V1::Domain::AccountOnFile>] accounts_on_file
17
+ # @attr [true/false] allows_click_to_pay
16
18
  # @attr [true/false] allows_installments
19
+ # @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration] click_to_pay_configuration
17
20
  # @attr [true/false] device_fingerprint_enabled
18
21
  # @attr [Worldline::Connect::SDK::V1::Domain::PaymentProductDisplayHints] display_hints
19
22
  # @attr [Array<Worldline::Connect::SDK::V1::Domain::PaymentProductField>] fields
@@ -22,8 +25,12 @@ module Worldline
22
25
 
23
26
  attr_accessor :accounts_on_file
24
27
 
28
+ attr_accessor :allows_click_to_pay
29
+
25
30
  attr_accessor :allows_installments
26
31
 
32
+ attr_accessor :click_to_pay_configuration
33
+
27
34
  attr_accessor :device_fingerprint_enabled
28
35
 
29
36
  attr_accessor :display_hints
@@ -36,7 +43,9 @@ module Worldline
36
43
  def to_h
37
44
  hash = super
38
45
  hash['accountsOnFile'] = @accounts_on_file.collect{|val| val.to_h} unless @accounts_on_file.nil?
46
+ hash['allowsClickToPay'] = @allows_click_to_pay unless @allows_click_to_pay.nil?
39
47
  hash['allowsInstallments'] = @allows_installments unless @allows_installments.nil?
48
+ hash['clickToPayConfiguration'] = @click_to_pay_configuration.to_h unless @click_to_pay_configuration.nil?
40
49
  hash['deviceFingerprintEnabled'] = @device_fingerprint_enabled unless @device_fingerprint_enabled.nil?
41
50
  hash['displayHints'] = @display_hints.to_h unless @display_hints.nil?
42
51
  hash['fields'] = @fields.collect{|val| val.to_h} unless @fields.nil?
@@ -53,9 +62,16 @@ module Worldline
53
62
  @accounts_on_file << Worldline::Connect::SDK::V1::Domain::AccountOnFile.new_from_hash(e)
54
63
  end
55
64
  end
65
+ if hash.has_key? 'allowsClickToPay'
66
+ @allows_click_to_pay = hash['allowsClickToPay']
67
+ end
56
68
  if hash.has_key? 'allowsInstallments'
57
69
  @allows_installments = hash['allowsInstallments']
58
70
  end
71
+ if hash.has_key? 'clickToPayConfiguration'
72
+ raise TypeError, "value '%s' is not a Hash" % [hash['clickToPayConfiguration']] unless hash['clickToPayConfiguration'].is_a? Hash
73
+ @click_to_pay_configuration = Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration.new_from_hash(hash['clickToPayConfiguration'])
74
+ end
59
75
  if hash.has_key? 'deviceFingerprintEnabled'
60
76
  @device_fingerprint_enabled = hash['deviceFingerprintEnabled']
61
77
  end
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: 4.2.1
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Worldline Global Collect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-02 00:00:00.000000000 Z
11
+ date: 2026-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -357,12 +357,18 @@ files:
357
357
  - lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_output.rb
358
358
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input.rb
359
359
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input.rb
360
+ - lib/worldline/connect/sdk/v1/domain/cash_payment_product1506_specific_input.rb
361
+ - lib/worldline/connect/sdk/v1/domain/cash_payment_product1508_specific_input.rb
360
362
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input.rb
361
363
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input.rb
362
364
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input.rb
363
365
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product1524_specific_input.rb
364
366
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product1526_specific_input.rb
365
367
  - lib/worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base.rb
368
+ - lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration.rb
369
+ - lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration_mastercard.rb
370
+ - lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration_visa.rb
371
+ - lib/worldline/connect/sdk/v1/domain/click_to_pay_scheme_configuration_base.rb
366
372
  - lib/worldline/connect/sdk/v1/domain/company_information.rb
367
373
  - lib/worldline/connect/sdk/v1/domain/complete_payment_card_payment_method_specific_input.rb
368
374
  - lib/worldline/connect/sdk/v1/domain/complete_payment_request.rb