connect-sdk-ruby 2.35.0 → 2.37.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: 3551aa5d339ae589d8130be498ded51a07dcb278587a808ca8bab1c772cb64ea
|
4
|
+
data.tar.gz: b515659313408a2ac8bc871b395cc87c057792c553e5d015ec9335b51a215de8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 133e1604712d9eb414c802d2a2e94eda23f24a0e0fdc08b66df3e983d0b8d35b7d282162f135547c14e597463c091c66b9e0283d48363721565552004208859f
|
7
|
+
data.tar.gz: cf9c3c7f7b8ee2df912ee8c5ad8785c94a38c59c0399dfdd83bf3831d119755475e236a0e249e2fecb6154567408bd43b9f435a90472c9626e3c24adefa37a58
|
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.37.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
|
@@ -16,6 +16,7 @@ module Ingenico::Connect::SDK
|
|
16
16
|
# @attr [String] geocode
|
17
17
|
# @attr [String] id
|
18
18
|
# @attr [String] invoice_number
|
19
|
+
# @attr [true/false] is_foreign_retailer
|
19
20
|
# @attr [String] mcc
|
20
21
|
# @attr [String] name
|
21
22
|
# @attr [String] phone_number
|
@@ -36,6 +37,8 @@ module Ingenico::Connect::SDK
|
|
36
37
|
|
37
38
|
attr_accessor :invoice_number
|
38
39
|
|
40
|
+
attr_accessor :is_foreign_retailer
|
41
|
+
|
39
42
|
attr_accessor :mcc
|
40
43
|
|
41
44
|
attr_accessor :name
|
@@ -54,6 +57,7 @@ module Ingenico::Connect::SDK
|
|
54
57
|
hash['geocode'] = @geocode unless @geocode.nil?
|
55
58
|
hash['id'] = @id unless @id.nil?
|
56
59
|
hash['invoiceNumber'] = @invoice_number unless @invoice_number.nil?
|
60
|
+
hash['isForeignRetailer'] = @is_foreign_retailer unless @is_foreign_retailer.nil?
|
57
61
|
hash['mcc'] = @mcc unless @mcc.nil?
|
58
62
|
hash['name'] = @name unless @name.nil?
|
59
63
|
hash['phoneNumber'] = @phone_number unless @phone_number.nil?
|
@@ -85,6 +89,9 @@ module Ingenico::Connect::SDK
|
|
85
89
|
if hash.has_key? 'invoiceNumber'
|
86
90
|
@invoice_number = hash['invoiceNumber']
|
87
91
|
end
|
92
|
+
if hash.has_key? 'isForeignRetailer'
|
93
|
+
@is_foreign_retailer = hash['isForeignRetailer']
|
94
|
+
end
|
88
95
|
if hash.has_key? 'mcc'
|
89
96
|
@mcc = hash['mcc']
|
90
97
|
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.37.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.37.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-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|