six_saferpay 2.2.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +4 -2
- data/Gemfile.lock +77 -82
- data/README.md +3 -2
- data/Thorfile +1 -0
- data/lib/generators/models.rb +100 -0
- data/lib/generators/templates/fabric.erb +13 -0
- data/lib/generators/templates/model.erb +64 -0
- data/lib/generators/templates/spec.erb +24 -0
- data/lib/six_saferpay.rb +5 -0
- data/lib/six_saferpay/api.rb +1 -1
- data/lib/six_saferpay/api/six_payment_page/requests/initialize.rb +14 -2
- data/lib/six_saferpay/api/six_payment_page/responses/assert_response.rb +11 -2
- data/lib/six_saferpay/api/six_secure_card_data/requests/insert.rb +6 -2
- data/lib/six_saferpay/api/six_secure_card_data/responses/insert_response.rb +9 -4
- data/lib/six_saferpay/api/six_secure_pay_gate_offer/requests/create_offer.rb +6 -2
- data/lib/six_saferpay/api/six_transaction/requests/authorize_direct.rb +4 -0
- data/lib/six_saferpay/api/six_transaction/requests/authorize_referenced.rb +4 -0
- data/lib/six_saferpay/api/six_transaction/requests/capture.rb +11 -2
- data/lib/six_saferpay/api/six_transaction/requests/initialize.rb +14 -2
- data/lib/six_saferpay/api/six_transaction/responses/authorize_direct_response.rb +11 -2
- data/lib/six_saferpay/api/six_transaction/responses/authorize_response.rb +11 -3
- data/lib/six_saferpay/models/authentication.rb +36 -0
- data/lib/six_saferpay/models/authentication_result.rb +20 -0
- data/lib/six_saferpay/models/card_form.rb +11 -2
- data/lib/six_saferpay/models/check_result.rb +6 -2
- data/lib/six_saferpay/models/chosen_plan.rb +62 -0
- data/lib/six_saferpay/models/custom_plan.rb +4 -0
- data/lib/six_saferpay/models/first_installment_amount.rb +4 -0
- data/lib/six_saferpay/models/ideal.rb +18 -0
- data/lib/six_saferpay/models/installment_fee.rb +4 -0
- data/lib/six_saferpay/models/installment_plans.rb +73 -0
- data/lib/six_saferpay/models/items.rb +84 -0
- data/lib/six_saferpay/models/mastercard_issuer_installments.rb +49 -0
- data/lib/six_saferpay/models/order.rb +27 -0
- data/lib/six_saferpay/models/payer.rb +8 -2
- data/lib/six_saferpay/models/payer_profile.rb +105 -0
- data/lib/six_saferpay/models/payment_methods_options.rb +4 -2
- data/lib/six_saferpay/models/phone.rb +36 -0
- data/lib/six_saferpay/models/registration_result.rb +11 -2
- data/lib/six_saferpay/models/risk_factors.rb +39 -0
- data/lib/six_saferpay/models/subsequent_installment_amount.rb +4 -0
- data/lib/six_saferpay/models/total_amont_due.rb +4 -0
- data/lib/six_saferpay/version.rb +1 -1
- data/six_saferpay.gemspec +9 -8
- metadata +58 -24
@@ -0,0 +1,27 @@
|
|
1
|
+
module SixSaferpay
|
2
|
+
class Order
|
3
|
+
|
4
|
+
attr_accessor(
|
5
|
+
:items,
|
6
|
+
)
|
7
|
+
|
8
|
+
def initialize(
|
9
|
+
items: nil
|
10
|
+
)
|
11
|
+
|
12
|
+
if items
|
13
|
+
@items = SixSaferpay::Items.new(items.to_h)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def to_hash
|
18
|
+
hash = Hash.new
|
19
|
+
if @items
|
20
|
+
hash.merge!(items: @items.to_h)
|
21
|
+
end
|
22
|
+
hash
|
23
|
+
end
|
24
|
+
alias_method :to_h, :to_hash
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
@@ -1,7 +1,9 @@
|
|
1
1
|
module SixSaferpay
|
2
2
|
class Payer
|
3
3
|
|
4
|
-
attr_accessor(
|
4
|
+
attr_accessor(
|
5
|
+
:id,
|
6
|
+
:ip_address,
|
5
7
|
:ip_location,
|
6
8
|
:language_code,
|
7
9
|
:delivery_address,
|
@@ -9,12 +11,15 @@ module SixSaferpay
|
|
9
11
|
)
|
10
12
|
|
11
13
|
|
12
|
-
def initialize(
|
14
|
+
def initialize(
|
15
|
+
id: nil,
|
16
|
+
ip_address: nil,
|
13
17
|
ip_location: nil,
|
14
18
|
language_code: nil,
|
15
19
|
delivery_address: nil,
|
16
20
|
billing_address: nil
|
17
21
|
)
|
22
|
+
@id = id
|
18
23
|
@ip_address = ip_address
|
19
24
|
@ip_location = ip_location
|
20
25
|
@language_code = language_code
|
@@ -24,6 +29,7 @@ module SixSaferpay
|
|
24
29
|
|
25
30
|
def to_hash
|
26
31
|
hash = Hash.new
|
32
|
+
hash.merge!(id: @id) if @id
|
27
33
|
hash.merge!(ip_address: @ip_address) if @ip_address
|
28
34
|
hash.merge!(ip_location: @ip_location) if @ip_location
|
29
35
|
hash.merge!(language_code: @language_code) if @language_code
|
@@ -0,0 +1,105 @@
|
|
1
|
+
module SixSaferpay
|
2
|
+
class PayerProfile
|
3
|
+
|
4
|
+
attr_accessor(
|
5
|
+
:has_account,
|
6
|
+
:has_password,
|
7
|
+
:password_forgotten,
|
8
|
+
:first_name,
|
9
|
+
:last_name,
|
10
|
+
:company,
|
11
|
+
:date_of_birth,
|
12
|
+
:last_login_date,
|
13
|
+
:gender,
|
14
|
+
:creation_date,
|
15
|
+
:password_last_change_date,
|
16
|
+
:email,
|
17
|
+
:secondary_email,
|
18
|
+
:phone,
|
19
|
+
)
|
20
|
+
|
21
|
+
def initialize(
|
22
|
+
has_account: nil,
|
23
|
+
has_password: nil,
|
24
|
+
password_forgotten: nil,
|
25
|
+
first_name: nil,
|
26
|
+
last_name: nil,
|
27
|
+
company: nil,
|
28
|
+
date_of_birth: nil,
|
29
|
+
last_login_date: nil,
|
30
|
+
gender: nil,
|
31
|
+
creation_date: nil,
|
32
|
+
password_last_change_date: nil,
|
33
|
+
email: nil,
|
34
|
+
secondary_email: nil,
|
35
|
+
phone: nil
|
36
|
+
)
|
37
|
+
@has_account = has_account
|
38
|
+
@has_password = has_password
|
39
|
+
@password_forgotten = password_forgotten
|
40
|
+
@first_name = first_name
|
41
|
+
@last_name = last_name
|
42
|
+
@company = company
|
43
|
+
@date_of_birth = date_of_birth
|
44
|
+
@last_login_date = last_login_date
|
45
|
+
@gender = gender
|
46
|
+
@creation_date = creation_date
|
47
|
+
@password_last_change_date = password_last_change_date
|
48
|
+
@email = email
|
49
|
+
@secondary_email = secondary_email
|
50
|
+
|
51
|
+
if phone
|
52
|
+
@phone = SixSaferpay::Phone.new(phone.to_h)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
def to_hash
|
57
|
+
hash = Hash.new
|
58
|
+
if !@has_account.nil?
|
59
|
+
hash.merge!(has_account: @has_account)
|
60
|
+
end
|
61
|
+
if !@has_password.nil?
|
62
|
+
hash.merge!(has_password: @has_password)
|
63
|
+
end
|
64
|
+
if !@password_forgotten.nil?
|
65
|
+
hash.merge!(password_forgotten: @password_forgotten)
|
66
|
+
end
|
67
|
+
if @first_name
|
68
|
+
hash.merge!(first_name: @first_name)
|
69
|
+
end
|
70
|
+
if @last_name
|
71
|
+
hash.merge!(last_name: @last_name)
|
72
|
+
end
|
73
|
+
if @company
|
74
|
+
hash.merge!(company: @company)
|
75
|
+
end
|
76
|
+
if @date_of_birth
|
77
|
+
hash.merge!(date_of_birth: @date_of_birth)
|
78
|
+
end
|
79
|
+
if @last_login_date
|
80
|
+
hash.merge!(last_login_date: @last_login_date)
|
81
|
+
end
|
82
|
+
if @gender
|
83
|
+
hash.merge!(gender: @gender)
|
84
|
+
end
|
85
|
+
if @creation_date
|
86
|
+
hash.merge!(creation_date: @creation_date)
|
87
|
+
end
|
88
|
+
if @password_last_change_date
|
89
|
+
hash.merge!(password_last_change_date: @password_last_change_date)
|
90
|
+
end
|
91
|
+
if @email
|
92
|
+
hash.merge!(email: @email)
|
93
|
+
end
|
94
|
+
if @secondary_email
|
95
|
+
hash.merge!(secondary_email: @secondary_email)
|
96
|
+
end
|
97
|
+
if @phone
|
98
|
+
hash.merge!(phone: @phone.to_h)
|
99
|
+
end
|
100
|
+
hash
|
101
|
+
end
|
102
|
+
alias_method :to_h, :to_hash
|
103
|
+
|
104
|
+
end
|
105
|
+
end
|
@@ -1,15 +1,17 @@
|
|
1
1
|
module SixSaferpay
|
2
2
|
class PaymentMethodsOptions
|
3
3
|
|
4
|
-
attr_accessor(:alipay)
|
4
|
+
attr_accessor(:alipay, :ideal)
|
5
5
|
|
6
|
-
def initialize(alipay: nil)
|
6
|
+
def initialize(alipay: nil, ideal: nil)
|
7
7
|
@alipay = SixSaferpay::Alipay.new(alipay.to_h) if alipay
|
8
|
+
@ideal = SixSaferpay::Ideal.new(ideal.to_h) if ideal
|
8
9
|
end
|
9
10
|
|
10
11
|
def to_hash
|
11
12
|
hash = Hash.new
|
12
13
|
hash.merge!(alipay: @alipay.to_h) if @alipay
|
14
|
+
hash.merge!(ideal: @ideal.to_h) if @ideal
|
13
15
|
hash
|
14
16
|
end
|
15
17
|
alias_method :to_h, :to_hash
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module SixSaferpay
|
2
|
+
class Phone
|
3
|
+
|
4
|
+
attr_accessor(
|
5
|
+
:main,
|
6
|
+
:mobile,
|
7
|
+
:work,
|
8
|
+
)
|
9
|
+
|
10
|
+
def initialize(
|
11
|
+
main: nil,
|
12
|
+
mobile: nil,
|
13
|
+
work: nil
|
14
|
+
)
|
15
|
+
@main = main
|
16
|
+
@mobile = mobile
|
17
|
+
@work = work
|
18
|
+
end
|
19
|
+
|
20
|
+
def to_hash
|
21
|
+
hash = Hash.new
|
22
|
+
if @main
|
23
|
+
hash.merge!(main: @main)
|
24
|
+
end
|
25
|
+
if @mobile
|
26
|
+
hash.merge!(mobile: @mobile)
|
27
|
+
end
|
28
|
+
if @work
|
29
|
+
hash.merge!(work: @work)
|
30
|
+
end
|
31
|
+
hash
|
32
|
+
end
|
33
|
+
alias_method :to_h, :to_hash
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
@@ -3,17 +3,23 @@ module SixSaferpay
|
|
3
3
|
|
4
4
|
attr_accessor(:success,
|
5
5
|
:fd_alias,
|
6
|
-
:error
|
6
|
+
:error,
|
7
|
+
:authentication_result
|
7
8
|
)
|
8
9
|
|
9
10
|
|
10
11
|
def initialize(success:,
|
11
12
|
fd_alias: nil,
|
12
|
-
error: nil
|
13
|
+
error: nil,
|
14
|
+
authentication_result: nil)
|
13
15
|
|
14
16
|
@success = success
|
15
17
|
@fd_alias = SixSaferpay::RegistrationAlias.new(fd_alias.to_h) if fd_alias
|
16
18
|
@error = SixSaferpay::RegistrationError.new(error.to_h) if error
|
19
|
+
if authentication_result
|
20
|
+
@authentication_result = SixSaferpay::AuthenticationResult
|
21
|
+
.new(authentication_result.to_h)
|
22
|
+
end
|
17
23
|
end
|
18
24
|
|
19
25
|
def to_hash
|
@@ -21,6 +27,9 @@ module SixSaferpay
|
|
21
27
|
hash.merge!(success: @success) if !@success.nil?
|
22
28
|
hash.merge!(fd_alias: @fd_alias.to_h) if @fd_alias
|
23
29
|
hash.merge!(error: @error.to_h) if @error
|
30
|
+
if authentication_result
|
31
|
+
hash.merge!(authentication_result: @authentication_result.to_h)
|
32
|
+
end
|
24
33
|
hash
|
25
34
|
end
|
26
35
|
alias_method :to_h, :to_hash
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module SixSaferpay
|
2
|
+
class RiskFactors
|
3
|
+
|
4
|
+
attr_accessor(
|
5
|
+
:delivery_type,
|
6
|
+
:payer_profile,
|
7
|
+
:is_b2b,
|
8
|
+
)
|
9
|
+
|
10
|
+
def initialize(
|
11
|
+
delivery_type: nil,
|
12
|
+
payer_profile: nil,
|
13
|
+
is_b2b: nil
|
14
|
+
)
|
15
|
+
@delivery_type = delivery_type
|
16
|
+
|
17
|
+
if payer_profile
|
18
|
+
@payer_profile = SixSaferpay::PayerProfile.new(payer_profile.to_h)
|
19
|
+
end
|
20
|
+
@is_b2b = is_b2b
|
21
|
+
end
|
22
|
+
|
23
|
+
def to_hash
|
24
|
+
hash = Hash.new
|
25
|
+
if @delivery_type
|
26
|
+
hash.merge!(delivery_type: @delivery_type)
|
27
|
+
end
|
28
|
+
if @payer_profile
|
29
|
+
hash.merge!(payer_profile: @payer_profile.to_h)
|
30
|
+
end
|
31
|
+
if !@is_b2b.nil?
|
32
|
+
hash.merge!(is_b2b: @is_b2b)
|
33
|
+
end
|
34
|
+
hash
|
35
|
+
end
|
36
|
+
alias_method :to_h, :to_hash
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
data/lib/six_saferpay/version.rb
CHANGED
data/six_saferpay.gemspec
CHANGED
@@ -23,16 +23,17 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
|
26
|
-
spec.add_runtime_dependency 'activesupport', '~>
|
26
|
+
spec.add_runtime_dependency 'activesupport', '~> 6.1', '>= 6.1.3'
|
27
27
|
|
28
|
-
spec.add_development_dependency 'bundler', '~> 2.
|
29
|
-
spec.add_development_dependency 'rake', '~>
|
28
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
29
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
30
30
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
31
|
spec.add_development_dependency 'vcr', '~> 4.0', '>= 4.0.0'
|
32
|
-
spec.add_development_dependency 'webmock', '~> 3.
|
32
|
+
spec.add_development_dependency 'webmock', '~> 3.10', '>= 3.10'
|
33
33
|
spec.add_development_dependency 'dotenv', '~> 2.7', '>= 2.7'
|
34
|
-
spec.add_development_dependency 'pry', '~> 0.
|
35
|
-
spec.add_development_dependency 'tty-prompt', '~> 0.
|
36
|
-
spec.add_development_dependency 'simplecov', '~> 0.
|
37
|
-
spec.add_development_dependency 'spinning_wheel', '~> 0.
|
34
|
+
spec.add_development_dependency 'pry', '~> 0.14'
|
35
|
+
spec.add_development_dependency 'tty-prompt', '~> 0.22'
|
36
|
+
spec.add_development_dependency 'simplecov', '~> 0.19'
|
37
|
+
spec.add_development_dependency 'spinning_wheel', '~> 0.2.2'
|
38
|
+
spec.add_development_dependency 'thor', '~> 1.1.0'
|
38
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: six_saferpay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fadendaten GmbH
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -17,48 +17,48 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '6.1'
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 6.1.3
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - "~>"
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
30
|
+
version: '6.1'
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.1.3
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: bundler
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
40
|
+
version: '2.1'
|
41
41
|
type: :development
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.1'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rake
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rspec
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,20 +99,20 @@ dependencies:
|
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '3.
|
102
|
+
version: '3.10'
|
103
103
|
- - ">="
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 3.
|
105
|
+
version: '3.10'
|
106
106
|
type: :development
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: '3.
|
112
|
+
version: '3.10'
|
113
113
|
- - ">="
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: 3.
|
115
|
+
version: '3.10'
|
116
116
|
- !ruby/object:Gem::Dependency
|
117
117
|
name: dotenv
|
118
118
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,56 +139,70 @@ dependencies:
|
|
139
139
|
requirements:
|
140
140
|
- - "~>"
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: 0.
|
142
|
+
version: '0.14'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
145
|
version_requirements: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
147
|
- - "~>"
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0.
|
149
|
+
version: '0.14'
|
150
150
|
- !ruby/object:Gem::Dependency
|
151
151
|
name: tty-prompt
|
152
152
|
requirement: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
154
|
- - "~>"
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: '0.
|
156
|
+
version: '0.22'
|
157
157
|
type: :development
|
158
158
|
prerelease: false
|
159
159
|
version_requirements: !ruby/object:Gem::Requirement
|
160
160
|
requirements:
|
161
161
|
- - "~>"
|
162
162
|
- !ruby/object:Gem::Version
|
163
|
-
version: '0.
|
163
|
+
version: '0.22'
|
164
164
|
- !ruby/object:Gem::Dependency
|
165
165
|
name: simplecov
|
166
166
|
requirement: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
168
|
- - "~>"
|
169
169
|
- !ruby/object:Gem::Version
|
170
|
-
version: '0.
|
170
|
+
version: '0.19'
|
171
171
|
type: :development
|
172
172
|
prerelease: false
|
173
173
|
version_requirements: !ruby/object:Gem::Requirement
|
174
174
|
requirements:
|
175
175
|
- - "~>"
|
176
176
|
- !ruby/object:Gem::Version
|
177
|
-
version: '0.
|
177
|
+
version: '0.19'
|
178
178
|
- !ruby/object:Gem::Dependency
|
179
179
|
name: spinning_wheel
|
180
180
|
requirement: !ruby/object:Gem::Requirement
|
181
181
|
requirements:
|
182
182
|
- - "~>"
|
183
183
|
- !ruby/object:Gem::Version
|
184
|
-
version:
|
184
|
+
version: 0.2.2
|
185
185
|
type: :development
|
186
186
|
prerelease: false
|
187
187
|
version_requirements: !ruby/object:Gem::Requirement
|
188
188
|
requirements:
|
189
189
|
- - "~>"
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
191
|
+
version: 0.2.2
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: thor
|
194
|
+
requirement: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - "~>"
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 1.1.0
|
199
|
+
type: :development
|
200
|
+
prerelease: false
|
201
|
+
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - "~>"
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 1.1.0
|
192
206
|
description: This Gem helps you consume the SIX Saferpay API. Accoring the documentation
|
193
207
|
of API of SIX Saferpay you can define your request models and get a response object
|
194
208
|
back.
|
@@ -208,8 +222,13 @@ files:
|
|
208
222
|
- LICENSE.txt
|
209
223
|
- README.md
|
210
224
|
- Rakefile
|
225
|
+
- Thorfile
|
211
226
|
- bin/console
|
212
227
|
- bin/setup
|
228
|
+
- lib/generators/models.rb
|
229
|
+
- lib/generators/templates/fabric.erb
|
230
|
+
- lib/generators/templates/model.erb
|
231
|
+
- lib/generators/templates/spec.erb
|
213
232
|
- lib/six_saferpay.rb
|
214
233
|
- lib/six_saferpay/api.rb
|
215
234
|
- lib/six_saferpay/api/six_batch/requests/close.rb
|
@@ -277,6 +296,8 @@ files:
|
|
277
296
|
- lib/six_saferpay/models/alias_card.rb
|
278
297
|
- lib/six_saferpay/models/alipay.rb
|
279
298
|
- lib/six_saferpay/models/amount.rb
|
299
|
+
- lib/six_saferpay/models/authentication.rb
|
300
|
+
- lib/six_saferpay/models/authentication_result.rb
|
280
301
|
- lib/six_saferpay/models/bancontact.rb
|
281
302
|
- lib/six_saferpay/models/bank_account.rb
|
282
303
|
- lib/six_saferpay/models/bankcontact.rb
|
@@ -288,7 +309,9 @@ files:
|
|
288
309
|
- lib/six_saferpay/models/card_form.rb
|
289
310
|
- lib/six_saferpay/models/check.rb
|
290
311
|
- lib/six_saferpay/models/check_result.rb
|
312
|
+
- lib/six_saferpay/models/chosen_plan.rb
|
291
313
|
- lib/six_saferpay/models/client_info.rb
|
314
|
+
- lib/six_saferpay/models/custom_plan.rb
|
292
315
|
- lib/six_saferpay/models/dcc.rb
|
293
316
|
- lib/six_saferpay/models/delivery_address.rb
|
294
317
|
- lib/six_saferpay/models/delivery_address_form.rb
|
@@ -296,21 +319,30 @@ files:
|
|
296
319
|
- lib/six_saferpay/models/error.rb
|
297
320
|
- lib/six_saferpay/models/fee.rb
|
298
321
|
- lib/six_saferpay/models/fee_refund.rb
|
322
|
+
- lib/six_saferpay/models/first_installment_amount.rb
|
299
323
|
- lib/six_saferpay/models/fraud_free.rb
|
324
|
+
- lib/six_saferpay/models/ideal.rb
|
300
325
|
- lib/six_saferpay/models/installment.rb
|
326
|
+
- lib/six_saferpay/models/installment_fee.rb
|
327
|
+
- lib/six_saferpay/models/installment_plans.rb
|
301
328
|
- lib/six_saferpay/models/invoice.rb
|
329
|
+
- lib/six_saferpay/models/items.rb
|
302
330
|
- lib/six_saferpay/models/liability.rb
|
303
331
|
- lib/six_saferpay/models/marketplace.rb
|
332
|
+
- lib/six_saferpay/models/mastercard_issuer_installments.rb
|
304
333
|
- lib/six_saferpay/models/notification.rb
|
305
334
|
- lib/six_saferpay/models/options.rb
|
335
|
+
- lib/six_saferpay/models/order.rb
|
306
336
|
- lib/six_saferpay/models/payee.rb
|
307
337
|
- lib/six_saferpay/models/payer.rb
|
308
338
|
- lib/six_saferpay/models/payer_amount.rb
|
339
|
+
- lib/six_saferpay/models/payer_profile.rb
|
309
340
|
- lib/six_saferpay/models/payment.rb
|
310
341
|
- lib/six_saferpay/models/payment_means_alias.rb
|
311
342
|
- lib/six_saferpay/models/payment_method_options.rb
|
312
343
|
- lib/six_saferpay/models/payment_methods_options.rb
|
313
344
|
- lib/six_saferpay/models/pending_notification.rb
|
345
|
+
- lib/six_saferpay/models/phone.rb
|
314
346
|
- lib/six_saferpay/models/processing_data.rb
|
315
347
|
- lib/six_saferpay/models/recurring.rb
|
316
348
|
- lib/six_saferpay/models/redirect.rb
|
@@ -326,10 +358,13 @@ files:
|
|
326
358
|
- lib/six_saferpay/models/response_header.rb
|
327
359
|
- lib/six_saferpay/models/response_payment_means.rb
|
328
360
|
- lib/six_saferpay/models/return_urls.rb
|
361
|
+
- lib/six_saferpay/models/risk_factors.rb
|
329
362
|
- lib/six_saferpay/models/saferpay_fields.rb
|
330
363
|
- lib/six_saferpay/models/six_transaction.rb
|
331
364
|
- lib/six_saferpay/models/styling.rb
|
365
|
+
- lib/six_saferpay/models/subsequent_installment_amount.rb
|
332
366
|
- lib/six_saferpay/models/three_ds.rb
|
367
|
+
- lib/six_saferpay/models/total_amont_due.rb
|
333
368
|
- lib/six_saferpay/models/transaction.rb
|
334
369
|
- lib/six_saferpay/models/transaction_reference.rb
|
335
370
|
- lib/six_saferpay/models/twint.rb
|
@@ -357,8 +392,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
357
392
|
- !ruby/object:Gem::Version
|
358
393
|
version: '0'
|
359
394
|
requirements: []
|
360
|
-
|
361
|
-
rubygems_version: 2.7.6
|
395
|
+
rubygems_version: 3.1.4
|
362
396
|
signing_key:
|
363
397
|
specification_version: 4
|
364
398
|
summary: Gem for the SIX Saferpay API
|