connect-sdk-ruby 1.13.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fba1ca29f08349f337b79df7f19d649718b59ee8
|
4
|
+
data.tar.gz: 5155d61de5a0243435a1f650d87911444c20c804
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff49a4365777f40328f756f788419123bcfdcb8a47c165bc77447664227d7b8f0b9506313b9739f6769b183b4236fdcd447cab41cef3df648bba8b59879cea2
|
7
|
+
data.tar.gz: 1c064f78ad84bba6ddf51022f193f35b1e8aea2c8ff0de3457cdadc305357532923bc31cc4cb601984d5a8b61f55218d0386fcb82ac167343dadb697acd47ef7
|
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 = '1.
|
3
|
+
spec.version = '1.14.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}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/refund_method_specific_output'
|
6
|
+
|
7
|
+
module Ingenico::Connect::SDK
|
8
|
+
module Domain
|
9
|
+
module Payment
|
10
|
+
|
11
|
+
class RefundEInvoiceMethodSpecificOutput < Ingenico::Connect::SDK::Domain::Payment::RefundMethodSpecificOutput
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -5,6 +5,7 @@
|
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/order_output'
|
6
6
|
require 'ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output'
|
7
7
|
require 'ingenico/connect/sdk/domain/payment/refund_card_method_specific_output'
|
8
|
+
require 'ingenico/connect/sdk/domain/payment/refund_e_invoice_method_specific_output'
|
8
9
|
require 'ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output'
|
9
10
|
require 'ingenico/connect/sdk/domain/payment/refund_mobile_method_specific_output'
|
10
11
|
|
@@ -23,6 +24,9 @@ module Ingenico::Connect::SDK
|
|
23
24
|
# {Ingenico::Connect::SDK::Domain::Payment::RefundCardMethodSpecificOutput}
|
24
25
|
attr_accessor :card_refund_method_specific_output
|
25
26
|
|
27
|
+
# {Ingenico::Connect::SDK::Domain::Payment::RefundEInvoiceMethodSpecificOutput}
|
28
|
+
attr_accessor :e_invoice_refund_method_specific_output
|
29
|
+
|
26
30
|
# {Ingenico::Connect::SDK::Domain::Payment::RefundEWalletMethodSpecificOutput}
|
27
31
|
attr_accessor :e_wallet_refund_method_specific_output
|
28
32
|
|
@@ -37,6 +41,7 @@ module Ingenico::Connect::SDK
|
|
37
41
|
add_to_hash(hash, 'amountPaid', @amount_paid)
|
38
42
|
add_to_hash(hash, 'bankRefundMethodSpecificOutput', @bank_refund_method_specific_output)
|
39
43
|
add_to_hash(hash, 'cardRefundMethodSpecificOutput', @card_refund_method_specific_output)
|
44
|
+
add_to_hash(hash, 'eInvoiceRefundMethodSpecificOutput', @e_invoice_refund_method_specific_output)
|
40
45
|
add_to_hash(hash, 'eWalletRefundMethodSpecificOutput', @e_wallet_refund_method_specific_output)
|
41
46
|
add_to_hash(hash, 'mobileRefundMethodSpecificOutput', @mobile_refund_method_specific_output)
|
42
47
|
add_to_hash(hash, 'paymentMethod', @payment_method)
|
@@ -60,6 +65,12 @@ module Ingenico::Connect::SDK
|
|
60
65
|
end
|
61
66
|
@card_refund_method_specific_output = Ingenico::Connect::SDK::Domain::Payment::RefundCardMethodSpecificOutput.new_from_hash(hash['cardRefundMethodSpecificOutput'])
|
62
67
|
end
|
68
|
+
if hash.has_key?('eInvoiceRefundMethodSpecificOutput')
|
69
|
+
if !(hash['eInvoiceRefundMethodSpecificOutput'].is_a? Hash)
|
70
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['eInvoiceRefundMethodSpecificOutput']]
|
71
|
+
end
|
72
|
+
@e_invoice_refund_method_specific_output = Ingenico::Connect::SDK::Domain::Payment::RefundEInvoiceMethodSpecificOutput.new_from_hash(hash['eInvoiceRefundMethodSpecificOutput'])
|
73
|
+
end
|
63
74
|
if hash.has_key?('eWalletRefundMethodSpecificOutput')
|
64
75
|
if !(hash['eWalletRefundMethodSpecificOutput'].is_a? Hash)
|
65
76
|
raise TypeError, "value '%s' is not a Hash" % [hash['eWalletRefundMethodSpecificOutput']]
|
@@ -5,7 +5,7 @@ module Ingenico::Connect::SDK
|
|
5
5
|
|
6
6
|
# Manages metadata about the server using the SDK
|
7
7
|
class MetaDataProvider
|
8
|
-
@@SDK_VERSION = '1.
|
8
|
+
@@SDK_VERSION = '1.14.0'
|
9
9
|
@@SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'
|
10
10
|
@@PROHIBITED_HEADERS = [@@SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key',
|
11
11
|
'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: 1.
|
4
|
+
version: 1.14.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: 2017-11-
|
11
|
+
date: 2017-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -343,6 +343,7 @@ files:
|
|
343
343
|
- lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb
|
344
344
|
- lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb
|
345
345
|
- lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb
|
346
|
+
- lib/ingenico/connect/sdk/domain/payment/refund_e_invoice_method_specific_output.rb
|
346
347
|
- lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb
|
347
348
|
- lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb
|
348
349
|
- lib/ingenico/connect/sdk/domain/payment/refund_mobile_method_specific_output.rb
|