connect-sdk-ruby 2.29.0 → 2.30.1
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/cash_payment_method_specific_input.rb +0 -27
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb +2 -19
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1521_specific_input.rb +2 -19
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1522_specific_input.rb +2 -19
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1523_specific_input.rb +2 -19
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1524_specific_input.rb +2 -19
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1526_specific_input.rb +2 -19
- data/lib/ingenico/connect/sdk/domain/payment/{cash_payment_product1506_specific_input.rb → cash_payment_product_with_redirect_specific_input_base.rb} +1 -1
- data/lib/ingenico/connect/sdk/domain/payment/installments.rb +7 -0
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +1 -1
- metadata +3 -5
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1508_specific_input.rb +0 -32
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1511_specific_input.rb +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3030575a602adfa3157823c10d1f72f63ba39a6dcdb196a46fb5f46e31b7a97
|
4
|
+
data.tar.gz: fcf61d885292cb7da71434da1ed45926ae306e7aaf4f839ff85610a3e029584e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 149d058e1053d4ecaa96ccf87eb8ed9ef8d72b462a9c24ce3840101d70ac486e55ea32cb01c73bbae06f8674413be573a256eca0e90bf88a80adc832bcad3016
|
7
|
+
data.tar.gz: ca7f2b126294ab538c6ed8c6028b3f3a64512bd060a0f27566674b031538695676eb807ac8b47852fa0c98f3d7ea54a17d14b9e0b1769d1ac5ae1eb6f22e5e4a
|
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.30.1'
|
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}
|
@@ -5,9 +5,6 @@
|
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/abstract_cash_payment_method_specific_input'
|
6
6
|
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input'
|
7
7
|
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input'
|
8
|
-
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1506_specific_input'
|
9
|
-
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1508_specific_input'
|
10
|
-
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1511_specific_input'
|
11
8
|
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1521_specific_input'
|
12
9
|
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1522_specific_input'
|
13
10
|
require 'ingenico/connect/sdk/domain/payment/cash_payment_product1523_specific_input'
|
@@ -20,9 +17,6 @@ module Ingenico::Connect::SDK
|
|
20
17
|
|
21
18
|
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1503SpecificInput] payment_product1503_specific_input
|
22
19
|
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1504SpecificInput] payment_product1504_specific_input
|
23
|
-
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1506SpecificInput] payment_product1506_specific_input
|
24
|
-
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1508SpecificInput] payment_product1508_specific_input
|
25
|
-
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1511SpecificInput] payment_product1511_specific_input
|
26
20
|
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1521SpecificInput] payment_product1521_specific_input
|
27
21
|
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1522SpecificInput] payment_product1522_specific_input
|
28
22
|
# @attr [Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1523SpecificInput] payment_product1523_specific_input
|
@@ -36,12 +30,6 @@ module Ingenico::Connect::SDK
|
|
36
30
|
|
37
31
|
attr_accessor :payment_product1504_specific_input
|
38
32
|
|
39
|
-
attr_accessor :payment_product1506_specific_input
|
40
|
-
|
41
|
-
attr_accessor :payment_product1508_specific_input
|
42
|
-
|
43
|
-
attr_accessor :payment_product1511_specific_input
|
44
|
-
|
45
33
|
attr_accessor :payment_product1521_specific_input
|
46
34
|
|
47
35
|
attr_accessor :payment_product1522_specific_input
|
@@ -57,9 +45,6 @@ module Ingenico::Connect::SDK
|
|
57
45
|
hash = super
|
58
46
|
hash['paymentProduct1503SpecificInput'] = @payment_product1503_specific_input.to_h unless @payment_product1503_specific_input.nil?
|
59
47
|
hash['paymentProduct1504SpecificInput'] = @payment_product1504_specific_input.to_h unless @payment_product1504_specific_input.nil?
|
60
|
-
hash['paymentProduct1506SpecificInput'] = @payment_product1506_specific_input.to_h unless @payment_product1506_specific_input.nil?
|
61
|
-
hash['paymentProduct1508SpecificInput'] = @payment_product1508_specific_input.to_h unless @payment_product1508_specific_input.nil?
|
62
|
-
hash['paymentProduct1511SpecificInput'] = @payment_product1511_specific_input.to_h unless @payment_product1511_specific_input.nil?
|
63
48
|
hash['paymentProduct1521SpecificInput'] = @payment_product1521_specific_input.to_h unless @payment_product1521_specific_input.nil?
|
64
49
|
hash['paymentProduct1522SpecificInput'] = @payment_product1522_specific_input.to_h unless @payment_product1522_specific_input.nil?
|
65
50
|
hash['paymentProduct1523SpecificInput'] = @payment_product1523_specific_input.to_h unless @payment_product1523_specific_input.nil?
|
@@ -78,18 +63,6 @@ module Ingenico::Connect::SDK
|
|
78
63
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1504SpecificInput']] unless hash['paymentProduct1504SpecificInput'].is_a? Hash
|
79
64
|
@payment_product1504_specific_input = Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1504SpecificInput.new_from_hash(hash['paymentProduct1504SpecificInput'])
|
80
65
|
end
|
81
|
-
if hash.has_key? 'paymentProduct1506SpecificInput'
|
82
|
-
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1506SpecificInput']] unless hash['paymentProduct1506SpecificInput'].is_a? Hash
|
83
|
-
@payment_product1506_specific_input = Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1506SpecificInput.new_from_hash(hash['paymentProduct1506SpecificInput'])
|
84
|
-
end
|
85
|
-
if hash.has_key? 'paymentProduct1508SpecificInput'
|
86
|
-
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1508SpecificInput']] unless hash['paymentProduct1508SpecificInput'].is_a? Hash
|
87
|
-
@payment_product1508_specific_input = Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1508SpecificInput.new_from_hash(hash['paymentProduct1508SpecificInput'])
|
88
|
-
end
|
89
|
-
if hash.has_key? 'paymentProduct1511SpecificInput'
|
90
|
-
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1511SpecificInput']] unless hash['paymentProduct1511SpecificInput'].is_a? Hash
|
91
|
-
@payment_product1511_specific_input = Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1511SpecificInput.new_from_hash(hash['paymentProduct1511SpecificInput'])
|
92
|
-
end
|
93
66
|
if hash.has_key? 'paymentProduct1521SpecificInput'
|
94
67
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1521SpecificInput']] unless hash['paymentProduct1521SpecificInput'].is_a? Hash
|
95
68
|
@payment_product1521_specific_input = Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1521SpecificInput.new_from_hash(hash['paymentProduct1521SpecificInput'])
|
@@ -2,30 +2,13 @@
|
|
2
2
|
# This class was auto-generated from the API references found at
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
|
-
require 'ingenico/connect/sdk/
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base'
|
6
6
|
|
7
7
|
module Ingenico::Connect::SDK
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
|
12
|
-
class CashPaymentProduct1504SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
11
|
+
class CashPaymentProduct1504SpecificInput < Ingenico::Connect::SDK::Domain::Payment::CashPaymentProductWithRedirectSpecificInputBase
|
29
12
|
end
|
30
13
|
end
|
31
14
|
end
|
@@ -2,30 +2,13 @@
|
|
2
2
|
# This class was auto-generated from the API references found at
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
|
-
require 'ingenico/connect/sdk/
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base'
|
6
6
|
|
7
7
|
module Ingenico::Connect::SDK
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
|
12
|
-
class CashPaymentProduct1521SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
11
|
+
class CashPaymentProduct1521SpecificInput < Ingenico::Connect::SDK::Domain::Payment::CashPaymentProductWithRedirectSpecificInputBase
|
29
12
|
end
|
30
13
|
end
|
31
14
|
end
|
@@ -2,30 +2,13 @@
|
|
2
2
|
# This class was auto-generated from the API references found at
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
|
-
require 'ingenico/connect/sdk/
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base'
|
6
6
|
|
7
7
|
module Ingenico::Connect::SDK
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
|
12
|
-
class CashPaymentProduct1522SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
11
|
+
class CashPaymentProduct1522SpecificInput < Ingenico::Connect::SDK::Domain::Payment::CashPaymentProductWithRedirectSpecificInputBase
|
29
12
|
end
|
30
13
|
end
|
31
14
|
end
|
@@ -2,30 +2,13 @@
|
|
2
2
|
# This class was auto-generated from the API references found at
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
|
-
require 'ingenico/connect/sdk/
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base'
|
6
6
|
|
7
7
|
module Ingenico::Connect::SDK
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
|
12
|
-
class CashPaymentProduct1523SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
11
|
+
class CashPaymentProduct1523SpecificInput < Ingenico::Connect::SDK::Domain::Payment::CashPaymentProductWithRedirectSpecificInputBase
|
29
12
|
end
|
30
13
|
end
|
31
14
|
end
|
@@ -2,30 +2,13 @@
|
|
2
2
|
# This class was auto-generated from the API references found at
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
|
-
require 'ingenico/connect/sdk/
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base'
|
6
6
|
|
7
7
|
module Ingenico::Connect::SDK
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
|
12
|
-
class CashPaymentProduct1524SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
11
|
+
class CashPaymentProduct1524SpecificInput < Ingenico::Connect::SDK::Domain::Payment::CashPaymentProductWithRedirectSpecificInputBase
|
29
12
|
end
|
30
13
|
end
|
31
14
|
end
|
@@ -2,30 +2,13 @@
|
|
2
2
|
# This class was auto-generated from the API references found at
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
|
-
require 'ingenico/connect/sdk/
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base'
|
6
6
|
|
7
7
|
module Ingenico::Connect::SDK
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
|
12
|
-
class CashPaymentProduct1526SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
11
|
+
class CashPaymentProduct1526SpecificInput < Ingenico::Connect::SDK::Domain::Payment::CashPaymentProductWithRedirectSpecificInputBase
|
29
12
|
end
|
30
13
|
end
|
31
14
|
end
|
@@ -9,7 +9,7 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Payment
|
10
10
|
|
11
11
|
# @attr [String] return_url
|
12
|
-
class
|
12
|
+
class CashPaymentProductWithRedirectSpecificInputBase < Ingenico::Connect::SDK::DataObject
|
13
13
|
|
14
14
|
attr_accessor :return_url
|
15
15
|
|
@@ -11,6 +11,7 @@ module Ingenico::Connect::SDK
|
|
11
11
|
|
12
12
|
# @attr [Ingenico::Connect::SDK::Domain::Definitions::AmountOfMoney] amount_of_money_per_installment
|
13
13
|
# @attr [String] frequency_of_installments
|
14
|
+
# @attr [Integer] installment_plan_code
|
14
15
|
# @attr [String] interest_rate
|
15
16
|
# @attr [Integer] number_of_installments
|
16
17
|
class Installments < Ingenico::Connect::SDK::DataObject
|
@@ -19,6 +20,8 @@ module Ingenico::Connect::SDK
|
|
19
20
|
|
20
21
|
attr_accessor :frequency_of_installments
|
21
22
|
|
23
|
+
attr_accessor :installment_plan_code
|
24
|
+
|
22
25
|
attr_accessor :interest_rate
|
23
26
|
|
24
27
|
attr_accessor :number_of_installments
|
@@ -28,6 +31,7 @@ module Ingenico::Connect::SDK
|
|
28
31
|
hash = super
|
29
32
|
hash['amountOfMoneyPerInstallment'] = @amount_of_money_per_installment.to_h unless @amount_of_money_per_installment.nil?
|
30
33
|
hash['frequencyOfInstallments'] = @frequency_of_installments unless @frequency_of_installments.nil?
|
34
|
+
hash['installmentPlanCode'] = @installment_plan_code unless @installment_plan_code.nil?
|
31
35
|
hash['interestRate'] = @interest_rate unless @interest_rate.nil?
|
32
36
|
hash['numberOfInstallments'] = @number_of_installments unless @number_of_installments.nil?
|
33
37
|
hash
|
@@ -42,6 +46,9 @@ module Ingenico::Connect::SDK
|
|
42
46
|
if hash.has_key? 'frequencyOfInstallments'
|
43
47
|
@frequency_of_installments = hash['frequencyOfInstallments']
|
44
48
|
end
|
49
|
+
if hash.has_key? 'installmentPlanCode'
|
50
|
+
@installment_plan_code = hash['installmentPlanCode']
|
51
|
+
end
|
45
52
|
if hash.has_key? 'interestRate'
|
46
53
|
@interest_rate = hash['interestRate']
|
47
54
|
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.30.1'
|
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.30.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ingenico ePayments
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -340,14 +340,12 @@ files:
|
|
340
340
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb
|
341
341
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb
|
342
342
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb
|
343
|
-
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1506_specific_input.rb
|
344
|
-
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1508_specific_input.rb
|
345
|
-
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1511_specific_input.rb
|
346
343
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1521_specific_input.rb
|
347
344
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1522_specific_input.rb
|
348
345
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1523_specific_input.rb
|
349
346
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1524_specific_input.rb
|
350
347
|
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product1526_specific_input.rb
|
348
|
+
- lib/ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base.rb
|
351
349
|
- lib/ingenico/connect/sdk/domain/payment/complete_payment_card_payment_method_specific_input.rb
|
352
350
|
- lib/ingenico/connect/sdk/domain/payment/complete_payment_request.rb
|
353
351
|
- lib/ingenico/connect/sdk/domain/payment/complete_payment_response.rb
|
@@ -1,32 +0,0 @@
|
|
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
|
-
|
7
|
-
module Ingenico::Connect::SDK
|
8
|
-
module Domain
|
9
|
-
module Payment
|
10
|
-
|
11
|
-
# @attr [String] return_url
|
12
|
-
class CashPaymentProduct1508SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
@@ -1,32 +0,0 @@
|
|
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
|
-
|
7
|
-
module Ingenico::Connect::SDK
|
8
|
-
module Domain
|
9
|
-
module Payment
|
10
|
-
|
11
|
-
# @attr [String] return_url
|
12
|
-
class CashPaymentProduct1511SpecificInput < Ingenico::Connect::SDK::DataObject
|
13
|
-
|
14
|
-
attr_accessor :return_url
|
15
|
-
|
16
|
-
# @return (Hash)
|
17
|
-
def to_h
|
18
|
-
hash = super
|
19
|
-
hash['returnUrl'] = @return_url unless @return_url.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
if hash.has_key? 'returnUrl'
|
26
|
-
@return_url = hash['returnUrl']
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|