connect-sdk-ruby 3.5.0 → 3.6.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 +4 -4
- data/connect-sdk-ruby.gemspec +1 -1
- data/lib/worldline/connect/sdk/communication/metadata_provider.rb +1 -1
- data/lib/worldline/connect/sdk/v1/domain/payment_product866_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_output.rb +9 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 892f5bc6ad046fec8c7163822d51502d722220d3b2518693bcd65c672db19f49
|
4
|
+
data.tar.gz: ef519b813cf0fda42ac93cffc19e85bdadc848a7fb2c05d93c060626d8b9477e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ab63c2199698d6a3f906439e9d92e556f58bd2869c45c840b378453900dc11c645f886084c5cb6d4a177f6676154308629ed282f740e88131980ee62ce1191
|
7
|
+
data.tar.gz: f90b38f2f6c80fb66f6398964ba7934399ec5d3d5f9eb4708c48d1a5622efe471becbf10df3247212980d8a9061dedd1dabffa99d8b0cda9eca3d7a28dfcd9c5
|
data/connect-sdk-ruby.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'connect-sdk-ruby'
|
3
|
-
spec.version = '3.
|
3
|
+
spec.version = '3.6.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 = '3.
|
17
|
+
SDK_VERSION = '3.6.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
|
@@ -0,0 +1,35 @@
|
|
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] wallet_used
|
13
|
+
class PaymentProduct866SpecificOutput < Worldline::Connect::SDK::Domain::DataObject
|
14
|
+
|
15
|
+
attr_accessor :wallet_used
|
16
|
+
|
17
|
+
# @return (Hash)
|
18
|
+
def to_h
|
19
|
+
hash = super
|
20
|
+
hash['walletUsed'] = @wallet_used unless @wallet_used.nil?
|
21
|
+
hash
|
22
|
+
end
|
23
|
+
|
24
|
+
def from_hash(hash)
|
25
|
+
super
|
26
|
+
if hash.has_key? 'walletUsed'
|
27
|
+
@wallet_used = hash['walletUsed']
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -10,6 +10,7 @@ require 'worldline/connect/sdk/v1/domain/payment_product3201_specific_output'
|
|
10
10
|
require 'worldline/connect/sdk/v1/domain/payment_product806_specific_output'
|
11
11
|
require 'worldline/connect/sdk/v1/domain/payment_product836_specific_output'
|
12
12
|
require 'worldline/connect/sdk/v1/domain/payment_product840_specific_output'
|
13
|
+
require 'worldline/connect/sdk/v1/domain/payment_product866_specific_output'
|
13
14
|
|
14
15
|
module Worldline
|
15
16
|
module Connect
|
@@ -24,6 +25,7 @@ module Worldline
|
|
24
25
|
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentProduct806SpecificOutput] payment_product806_specific_output
|
25
26
|
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentProduct836SpecificOutput] payment_product836_specific_output
|
26
27
|
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentProduct840SpecificOutput] payment_product840_specific_output
|
28
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentProduct866SpecificOutput] payment_product866_specific_output
|
27
29
|
# @attr [String] token
|
28
30
|
class RedirectPaymentMethodSpecificOutput < Worldline::Connect::SDK::V1::Domain::AbstractPaymentMethodSpecificOutput
|
29
31
|
|
@@ -43,6 +45,8 @@ module Worldline
|
|
43
45
|
|
44
46
|
attr_accessor :payment_product840_specific_output
|
45
47
|
|
48
|
+
attr_accessor :payment_product866_specific_output
|
49
|
+
|
46
50
|
attr_accessor :token
|
47
51
|
|
48
52
|
# @return (Hash)
|
@@ -56,6 +60,7 @@ module Worldline
|
|
56
60
|
hash['paymentProduct806SpecificOutput'] = @payment_product806_specific_output.to_h unless @payment_product806_specific_output.nil?
|
57
61
|
hash['paymentProduct836SpecificOutput'] = @payment_product836_specific_output.to_h unless @payment_product836_specific_output.nil?
|
58
62
|
hash['paymentProduct840SpecificOutput'] = @payment_product840_specific_output.to_h unless @payment_product840_specific_output.nil?
|
63
|
+
hash['paymentProduct866SpecificOutput'] = @payment_product866_specific_output.to_h unless @payment_product866_specific_output.nil?
|
59
64
|
hash['token'] = @token unless @token.nil?
|
60
65
|
hash
|
61
66
|
end
|
@@ -93,6 +98,10 @@ module Worldline
|
|
93
98
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct840SpecificOutput']] unless hash['paymentProduct840SpecificOutput'].is_a? Hash
|
94
99
|
@payment_product840_specific_output = Worldline::Connect::SDK::V1::Domain::PaymentProduct840SpecificOutput.new_from_hash(hash['paymentProduct840SpecificOutput'])
|
95
100
|
end
|
101
|
+
if hash.has_key? 'paymentProduct866SpecificOutput'
|
102
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct866SpecificOutput']] unless hash['paymentProduct866SpecificOutput'].is_a? Hash
|
103
|
+
@payment_product866_specific_output = Worldline::Connect::SDK::V1::Domain::PaymentProduct866SpecificOutput.new_from_hash(hash['paymentProduct866SpecificOutput'])
|
104
|
+
end
|
96
105
|
if hash.has_key? 'token'
|
97
106
|
@token = hash['token']
|
98
107
|
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: 3.
|
4
|
+
version: 3.6.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: 2025-
|
11
|
+
date: 2025-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -530,6 +530,7 @@ files:
|
|
530
530
|
- lib/worldline/connect/sdk/v1/domain/payment_product840_specific_output.rb
|
531
531
|
- lib/worldline/connect/sdk/v1/domain/payment_product863_specific_data.rb
|
532
532
|
- lib/worldline/connect/sdk/v1/domain/payment_product863_third_party_data.rb
|
533
|
+
- lib/worldline/connect/sdk/v1/domain/payment_product866_specific_output.rb
|
533
534
|
- lib/worldline/connect/sdk/v1/domain/payment_product_display_hints.rb
|
534
535
|
- lib/worldline/connect/sdk/v1/domain/payment_product_field.rb
|
535
536
|
- lib/worldline/connect/sdk/v1/domain/payment_product_field_data_restrictions.rb
|