connect-sdk-ruby 2.23.0 → 2.24.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 043d7b426f2d6ab34d0f1949f364643320c32fc7763f152521cff4a250607f80
|
|
4
|
+
data.tar.gz: f2a43f28b020e313336fe55417d20927e583009541f654d4e1936983b2aad571
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17d3926d57355cf9824fea6a8e7f4477509d7ee002ec3ecfcd041a243eb7b4352a91d4accebdce7bd5c23cbe0acddeda591a7bffbef3ecb7e060215f695f1b59
|
|
7
|
+
data.tar.gz: d3dfb9d09d2b05df6239d9077ab75aeaa80908064c5e2aa05dbbd02ebbba25c179b9c28a6082fe595f76a4ab6198e6478dad30cc46b87723beee0cb79e95aef4
|
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 = '2.
|
|
3
|
+
spec.version = '2.24.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}
|
|
@@ -8,43 +8,36 @@ module Ingenico::Connect::SDK
|
|
|
8
8
|
module Domain
|
|
9
9
|
module Payment
|
|
10
10
|
|
|
11
|
+
# @attr [String] display_name
|
|
11
12
|
# @attr [String] integration_type
|
|
12
|
-
# @attr [String]
|
|
13
|
-
# @attr [String] transaction_note
|
|
14
|
-
# @attr [String] vpa
|
|
13
|
+
# @attr [String] virtual_payment_address
|
|
15
14
|
class RedirectPaymentProduct4101SpecificInput < Ingenico::Connect::SDK::DataObject
|
|
16
15
|
|
|
17
|
-
attr_accessor :
|
|
18
|
-
|
|
19
|
-
attr_accessor :merchant_name
|
|
16
|
+
attr_accessor :display_name
|
|
20
17
|
|
|
21
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :integration_type
|
|
22
19
|
|
|
23
|
-
attr_accessor :
|
|
20
|
+
attr_accessor :virtual_payment_address
|
|
24
21
|
|
|
25
22
|
# @return (Hash)
|
|
26
23
|
def to_h
|
|
27
24
|
hash = super
|
|
25
|
+
hash['displayName'] = @display_name unless @display_name.nil?
|
|
28
26
|
hash['integrationType'] = @integration_type unless @integration_type.nil?
|
|
29
|
-
hash['
|
|
30
|
-
hash['transactionNote'] = @transaction_note unless @transaction_note.nil?
|
|
31
|
-
hash['vpa'] = @vpa unless @vpa.nil?
|
|
27
|
+
hash['virtualPaymentAddress'] = @virtual_payment_address unless @virtual_payment_address.nil?
|
|
32
28
|
hash
|
|
33
29
|
end
|
|
34
30
|
|
|
35
31
|
def from_hash(hash)
|
|
36
32
|
super
|
|
33
|
+
if hash.has_key? 'displayName'
|
|
34
|
+
@display_name = hash['displayName']
|
|
35
|
+
end
|
|
37
36
|
if hash.has_key? 'integrationType'
|
|
38
37
|
@integration_type = hash['integrationType']
|
|
39
38
|
end
|
|
40
|
-
if hash.has_key? '
|
|
41
|
-
@
|
|
42
|
-
end
|
|
43
|
-
if hash.has_key? 'transactionNote'
|
|
44
|
-
@transaction_note = hash['transactionNote']
|
|
45
|
-
end
|
|
46
|
-
if hash.has_key? 'vpa'
|
|
47
|
-
@vpa = hash['vpa']
|
|
39
|
+
if hash.has_key? 'virtualPaymentAddress'
|
|
40
|
+
@virtual_payment_address = hash['virtualPaymentAddress']
|
|
48
41
|
end
|
|
49
42
|
end
|
|
50
43
|
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.
|
|
10
|
+
@@SDK_VERSION = '2.24.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.
|
|
4
|
+
version: 2.24.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: 2021-
|
|
11
|
+
date: 2021-08-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httpclient
|