connect-sdk-ruby 1.18.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/connect-sdk-ruby.gemspec +1 -1
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb +11 -0
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product730_specific_input.rb +35 -0
- data/lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb +11 -0
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product730_specific_data.rb +35 -0
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5226ecbff9d5a68675562fee6e91074fd51c50946d33013b711b5c9d11fb8cad
|
4
|
+
data.tar.gz: de4e098950f6383a6b6409c7e40c804f659b984a1043e1b191f05e16b6fefbd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5376d448ebfcb7c455ee31029def59bf65dca8f14316112d99ac8bdead74d0816b8140f552c08df01075206082c1cfe21729c86911725cabd7ae3c50c9f13c2
|
7
|
+
data.tar.gz: b2c70b59bd4862ca6878b7db458ad8122188589fca84a617559f328a6746f275fa6c799a3b78332e8b55233abd75e7f63405eb79b6aecb7e4b856806b9b161cc
|
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.19.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}
|
data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input'
|
6
6
|
require 'ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input'
|
7
|
+
require 'ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product730_specific_input'
|
7
8
|
|
8
9
|
module Ingenico::Connect::SDK
|
9
10
|
module Domain
|
@@ -23,6 +24,9 @@ module Ingenico::Connect::SDK
|
|
23
24
|
# {Ingenico::Connect::SDK::Domain::Payment::NonSepaDirectDebitPaymentProduct705SpecificInput}
|
24
25
|
attr_accessor :payment_product705_specific_input
|
25
26
|
|
27
|
+
# {Ingenico::Connect::SDK::Domain::Payment::NonSepaDirectDebitPaymentProduct730SpecificInput}
|
28
|
+
attr_accessor :payment_product730_specific_input
|
29
|
+
|
26
30
|
# String
|
27
31
|
attr_accessor :recurring_payment_sequence_indicator
|
28
32
|
|
@@ -38,6 +42,7 @@ module Ingenico::Connect::SDK
|
|
38
42
|
add_to_hash(hash, 'directDebitText', @direct_debit_text)
|
39
43
|
add_to_hash(hash, 'isRecurring', @is_recurring)
|
40
44
|
add_to_hash(hash, 'paymentProduct705SpecificInput', @payment_product705_specific_input)
|
45
|
+
add_to_hash(hash, 'paymentProduct730SpecificInput', @payment_product730_specific_input)
|
41
46
|
add_to_hash(hash, 'recurringPaymentSequenceIndicator', @recurring_payment_sequence_indicator)
|
42
47
|
add_to_hash(hash, 'token', @token)
|
43
48
|
add_to_hash(hash, 'tokenize', @tokenize)
|
@@ -61,6 +66,12 @@ module Ingenico::Connect::SDK
|
|
61
66
|
end
|
62
67
|
@payment_product705_specific_input = Ingenico::Connect::SDK::Domain::Payment::NonSepaDirectDebitPaymentProduct705SpecificInput.new_from_hash(hash['paymentProduct705SpecificInput'])
|
63
68
|
end
|
69
|
+
if hash.has_key?('paymentProduct730SpecificInput')
|
70
|
+
if !(hash['paymentProduct730SpecificInput'].is_a? Hash)
|
71
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct730SpecificInput']]
|
72
|
+
end
|
73
|
+
@payment_product730_specific_input = Ingenico::Connect::SDK::Domain::Payment::NonSepaDirectDebitPaymentProduct730SpecificInput.new_from_hash(hash['paymentProduct730SpecificInput'])
|
74
|
+
end
|
64
75
|
if hash.has_key?('recurringPaymentSequenceIndicator')
|
65
76
|
@recurring_payment_sequence_indicator = hash['recurringPaymentSequenceIndicator']
|
66
77
|
end
|
@@ -0,0 +1,35 @@
|
|
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/data_object'
|
6
|
+
require 'ingenico/connect/sdk/domain/definitions/bank_account_bban'
|
7
|
+
|
8
|
+
module Ingenico::Connect::SDK
|
9
|
+
module Domain
|
10
|
+
module Payment
|
11
|
+
|
12
|
+
class NonSepaDirectDebitPaymentProduct730SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
+
|
14
|
+
# {Ingenico::Connect::SDK::Domain::Definitions::BankAccountBban}
|
15
|
+
attr_accessor :bank_account_bban
|
16
|
+
|
17
|
+
def to_h
|
18
|
+
hash = super
|
19
|
+
add_to_hash(hash, 'bankAccountBban', @bank_account_bban)
|
20
|
+
hash
|
21
|
+
end
|
22
|
+
|
23
|
+
def from_hash(hash)
|
24
|
+
super
|
25
|
+
if hash.has_key?('bankAccountBban')
|
26
|
+
if !(hash['bankAccountBban'].is_a? Hash)
|
27
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['bankAccountBban']]
|
28
|
+
end
|
29
|
+
@bank_account_bban = Ingenico::Connect::SDK::Domain::Definitions::BankAccountBban.new_from_hash(hash['bankAccountBban'])
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -4,6 +4,7 @@
|
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data'
|
7
|
+
require 'ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product730_specific_data'
|
7
8
|
|
8
9
|
module Ingenico::Connect::SDK
|
9
10
|
module Domain
|
@@ -14,9 +15,13 @@ module Ingenico::Connect::SDK
|
|
14
15
|
# {Ingenico::Connect::SDK::Domain::Token::TokenNonSepaDirectDebitPaymentProduct705SpecificData}
|
15
16
|
attr_accessor :payment_product705_specific_data
|
16
17
|
|
18
|
+
# {Ingenico::Connect::SDK::Domain::Token::TokenNonSepaDirectDebitPaymentProduct730SpecificData}
|
19
|
+
attr_accessor :payment_product730_specific_data
|
20
|
+
|
17
21
|
def to_h
|
18
22
|
hash = super
|
19
23
|
add_to_hash(hash, 'paymentProduct705SpecificData', @payment_product705_specific_data)
|
24
|
+
add_to_hash(hash, 'paymentProduct730SpecificData', @payment_product730_specific_data)
|
20
25
|
hash
|
21
26
|
end
|
22
27
|
|
@@ -28,6 +33,12 @@ module Ingenico::Connect::SDK
|
|
28
33
|
end
|
29
34
|
@payment_product705_specific_data = Ingenico::Connect::SDK::Domain::Token::TokenNonSepaDirectDebitPaymentProduct705SpecificData.new_from_hash(hash['paymentProduct705SpecificData'])
|
30
35
|
end
|
36
|
+
if hash.has_key?('paymentProduct730SpecificData')
|
37
|
+
if !(hash['paymentProduct730SpecificData'].is_a? Hash)
|
38
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct730SpecificData']]
|
39
|
+
end
|
40
|
+
@payment_product730_specific_data = Ingenico::Connect::SDK::Domain::Token::TokenNonSepaDirectDebitPaymentProduct730SpecificData.new_from_hash(hash['paymentProduct730SpecificData'])
|
41
|
+
end
|
31
42
|
end
|
32
43
|
end
|
33
44
|
end
|
@@ -0,0 +1,35 @@
|
|
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/data_object'
|
6
|
+
require 'ingenico/connect/sdk/domain/definitions/bank_account_bban'
|
7
|
+
|
8
|
+
module Ingenico::Connect::SDK
|
9
|
+
module Domain
|
10
|
+
module Token
|
11
|
+
|
12
|
+
class TokenNonSepaDirectDebitPaymentProduct730SpecificData < Ingenico::Connect::SDK::DataObject
|
13
|
+
|
14
|
+
# {Ingenico::Connect::SDK::Domain::Definitions::BankAccountBban}
|
15
|
+
attr_accessor :bank_account_bban
|
16
|
+
|
17
|
+
def to_h
|
18
|
+
hash = super
|
19
|
+
add_to_hash(hash, 'bankAccountBban', @bank_account_bban)
|
20
|
+
hash
|
21
|
+
end
|
22
|
+
|
23
|
+
def from_hash(hash)
|
24
|
+
super
|
25
|
+
if hash.has_key?('bankAccountBban')
|
26
|
+
if !(hash['bankAccountBban'].is_a? Hash)
|
27
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['bankAccountBban']]
|
28
|
+
end
|
29
|
+
@bank_account_bban = Ingenico::Connect::SDK::Domain::Definitions::BankAccountBban.new_from_hash(hash['bankAccountBban'])
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -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.19.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.19.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: 2018-
|
11
|
+
date: 2018-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -316,6 +316,7 @@ files:
|
|
316
316
|
- lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb
|
317
317
|
- lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb
|
318
318
|
- lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb
|
319
|
+
- lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product730_specific_input.rb
|
319
320
|
- lib/ingenico/connect/sdk/domain/payment/order.rb
|
320
321
|
- lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb
|
321
322
|
- lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb
|
@@ -468,6 +469,7 @@ files:
|
|
468
469
|
- lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb
|
469
470
|
- lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb
|
470
471
|
- lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb
|
472
|
+
- lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product730_specific_data.rb
|
471
473
|
- lib/ingenico/connect/sdk/domain/token/token_response.rb
|
472
474
|
- lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb
|
473
475
|
- lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb
|