six_saferpay 1.2.1 → 1.16.2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.test.env +1 -1
  4. data/.travis.yml +4 -2
  5. data/Gemfile.lock +70 -85
  6. data/README.md +120 -3
  7. data/lib/six_saferpay/api.rb +1 -1
  8. data/lib/six_saferpay/api/six_batch/requests/close.rb +37 -0
  9. data/lib/six_saferpay/api/six_batch/responses/close_response.rb +20 -0
  10. data/lib/six_saferpay/api/six_omni_channel/requests/acquire_transaction.rb +46 -0
  11. data/lib/six_saferpay/api/six_omni_channel/requests/insert_alias.rb +40 -0
  12. data/lib/six_saferpay/api/six_omni_channel/responses/acquire_transaction_response.rb +30 -0
  13. data/lib/six_saferpay/api/six_omni_channel/responses/insert_alias_response.rb +34 -0
  14. data/lib/six_saferpay/api/six_payment_page/requests/initialize.rb +4 -0
  15. data/lib/six_saferpay/api/six_payment_page/responses/assert_response.rb +11 -2
  16. data/lib/six_saferpay/api/six_payment_page/responses/{initalize_response.rb → initialize_response.rb} +0 -0
  17. data/lib/six_saferpay/api/six_secure_card_data/requests/assert_insert.rb +37 -0
  18. data/lib/six_saferpay/api/six_secure_card_data/requests/delete.rb +37 -0
  19. data/lib/six_saferpay/api/six_secure_card_data/requests/insert.rb +66 -0
  20. data/lib/six_saferpay/api/six_secure_card_data/requests/insert_direct.rb +46 -0
  21. data/lib/six_saferpay/api/six_secure_card_data/requests/update.rb +42 -0
  22. data/lib/six_saferpay/api/six_secure_card_data/responses/assert_insert_response.rb +33 -0
  23. data/lib/six_saferpay/api/six_secure_card_data/responses/delete_response.rb +20 -0
  24. data/lib/six_saferpay/api/six_secure_card_data/responses/insert_direct_response.rb +33 -0
  25. data/lib/six_saferpay/api/six_secure_card_data/responses/insert_response.rb +33 -0
  26. data/lib/six_saferpay/api/six_secure_card_data/responses/update_response.rb +29 -0
  27. data/lib/six_saferpay/api/six_secure_pay_gate_offer/requests/create_offer.rb +61 -0
  28. data/lib/six_saferpay/api/six_secure_pay_gate_offer/responses/create_offer_response.rb +26 -0
  29. data/lib/six_saferpay/api/six_transaction/requests/alternative_payment.rb +59 -0
  30. data/lib/six_saferpay/api/six_transaction/requests/authorize.rb +1 -1
  31. data/lib/six_saferpay/api/six_transaction/requests/authorize_direct.rb +4 -0
  32. data/lib/six_saferpay/api/six_transaction/requests/authorize_referenced.rb +4 -0
  33. data/lib/six_saferpay/api/six_transaction/requests/capture.rb +11 -2
  34. data/lib/six_saferpay/api/six_transaction/requests/initialize.rb +4 -0
  35. data/lib/six_saferpay/api/six_transaction/requests/inquire.rb +36 -0
  36. data/lib/six_saferpay/api/six_transaction/requests/multipart_finalize.rb +38 -0
  37. data/lib/six_saferpay/api/six_transaction/requests/query_alternative_payment.rb +35 -0
  38. data/lib/six_saferpay/api/six_transaction/requests/refund.rb +7 -7
  39. data/lib/six_saferpay/api/six_transaction/requests/refund_direct.rb +46 -0
  40. data/lib/six_saferpay/api/six_transaction/responses/adjust_amount_response.rb +1 -4
  41. data/lib/six_saferpay/api/six_transaction/responses/alternative_payment_response.rb +35 -0
  42. data/lib/six_saferpay/api/six_transaction/responses/authorize_direct_response.rb +11 -2
  43. data/lib/six_saferpay/api/six_transaction/responses/authorize_response.rb +11 -3
  44. data/lib/six_saferpay/api/six_transaction/responses/cancel_response.rb +1 -1
  45. data/lib/six_saferpay/api/six_transaction/responses/inquire_response.rb +44 -0
  46. data/lib/six_saferpay/api/six_transaction/responses/multipart_finalize_response.rb +20 -0
  47. data/lib/six_saferpay/api/six_transaction/responses/query_alternative_payment_response.rb +39 -0
  48. data/lib/six_saferpay/api/six_transaction/responses/refund_direct_response.rb +34 -0
  49. data/lib/six_saferpay/client.rb +8 -2
  50. data/lib/six_saferpay/clients/secure_pay_gate_api/client.rb +23 -0
  51. data/lib/six_saferpay/models/address.rb +4 -4
  52. data/lib/six_saferpay/models/alias.rb +22 -0
  53. data/lib/six_saferpay/models/alias_card.rb +20 -0
  54. data/lib/six_saferpay/models/authentication.rb +36 -0
  55. data/lib/six_saferpay/models/authentication_result.rb +20 -0
  56. data/lib/six_saferpay/models/bancontact.rb +20 -0
  57. data/lib/six_saferpay/models/bankcontact.rb +21 -0
  58. data/lib/six_saferpay/models/check.rb +22 -0
  59. data/lib/six_saferpay/models/check_result.rb +27 -0
  60. data/lib/six_saferpay/models/chosen_plan.rb +62 -0
  61. data/lib/six_saferpay/models/custom_plan.rb +4 -0
  62. data/lib/six_saferpay/models/error.rb +0 -28
  63. data/lib/six_saferpay/models/first_installment_amount.rb +4 -0
  64. data/lib/six_saferpay/models/ideal.rb +18 -0
  65. data/lib/six_saferpay/models/installment_fee.rb +4 -0
  66. data/lib/six_saferpay/models/installment_plans.rb +73 -0
  67. data/lib/six_saferpay/models/mastercard_issuer_installments.rb +49 -0
  68. data/lib/six_saferpay/models/notification.rb +4 -4
  69. data/lib/six_saferpay/models/payment_method_options.rb +18 -0
  70. data/lib/six_saferpay/models/payment_methods_options.rb +4 -2
  71. data/lib/six_saferpay/models/pending_notification.rb +4 -4
  72. data/lib/six_saferpay/models/processing_data.rb +18 -0
  73. data/lib/six_saferpay/models/registration_result.rb +11 -2
  74. data/lib/six_saferpay/models/request_payment_means.rb +6 -2
  75. data/lib/six_saferpay/models/response_card.rb +0 -4
  76. data/lib/six_saferpay/models/saferpay_fields.rb +18 -0
  77. data/lib/six_saferpay/models/subsequent_installment_amount.rb +4 -0
  78. data/lib/six_saferpay/models/total_amont_due.rb +4 -0
  79. data/lib/six_saferpay/models/update_alias.rb +20 -0
  80. data/lib/six_saferpay/models/update_payment_means.rb +18 -0
  81. data/lib/six_saferpay/version.rb +1 -1
  82. data/six_saferpay.gemspec +12 -14
  83. metadata +81 -28
@@ -0,0 +1,49 @@
1
+ module SixSaferpay
2
+ class MastercardIssuerInstallments
3
+
4
+ attr_accessor(
5
+ :installment_plans,
6
+ :custom_plan,
7
+ :chosen_plan,
8
+ :receipt_free_text
9
+ )
10
+
11
+ def initialize(
12
+ installment_plans: nil,
13
+ custom_plan: nil,
14
+ chosen_plan: nil,
15
+ receipt_free_text: nil
16
+ )
17
+ if installment_plans
18
+ @installment_plans = SixSaferpay::InstallmentPlans
19
+ .new(installment_plans.to_h)
20
+ end
21
+ if custom_plan
22
+ @custom_plan = SixSaferpay::CustomPlan
23
+ .new(custom_plan)
24
+ end
25
+ if chosen_plan
26
+ @chosen_plan = SixSaferpay::ChosenPlan
27
+ .new(chosen_plan.to_h)
28
+ end
29
+ @receipt_free_text = receipt_free_text
30
+ end
31
+
32
+ def to_hash
33
+ hash = Hash.new
34
+ if @installment_plans
35
+ hash.merge!(installment_plans: @installment_plans.to_h)
36
+ end
37
+ if @custom_plan
38
+ hash.merge!(custom_plan: @custom_plan.to_h)
39
+ end
40
+ if @chosen_plan
41
+ hash.merge!(chosen_plan: @chosen_plan.to_h)
42
+ end
43
+ hash.merge!(receipt_free_text: @receipt_free_text)
44
+ hash
45
+ end
46
+ alias_method :to_h, :to_hash
47
+
48
+ end
49
+ end
@@ -1,20 +1,20 @@
1
1
  module SixSaferpay
2
2
  class Notification
3
3
 
4
- attr_accessor(:merchant_email,
4
+ attr_accessor(:merchant_emails,
5
5
  :payer_email,
6
6
  :notify_url
7
7
  )
8
8
 
9
- def initialize(merchant_email: nil, payer_email: nil, notify_url: nil)
10
- @merchant_email = merchant_email
9
+ def initialize(merchant_emails: nil, payer_email: nil, notify_url: nil)
10
+ @merchant_emails = merchant_emails
11
11
  @payer_email = payer_email
12
12
  @notify_url = notify_url
13
13
  end
14
14
 
15
15
  def to_hash
16
16
  hash = Hash.new
17
- hash.merge!(merchant_email: @merchant_email) if @merchant_email
17
+ hash.merge!(merchant_emails: @merchant_emails) if @merchant_emails
18
18
  hash.merge!(payer_email: @payer_email) if @payer_email
19
19
  hash.merge!(notify_url: @notify_url) if @notify_url
20
20
  hash
@@ -0,0 +1,18 @@
1
+ module SixSaferpay
2
+ class PaymentMethodOptions
3
+
4
+ attr_accessor(:bankcontact)
5
+
6
+ def initialize(bankcontact: nil)
7
+ @bankcontact = SixSaferpay::Bankcontact.new(bankcontact.to_h) if bankcontact
8
+ end
9
+
10
+ def to_hash
11
+ hash = Hash.new
12
+ hash.merge!(bankcontact: @bankcontact.to_h) if @bankcontact
13
+ hash
14
+ end
15
+ alias_method :to_h, :to_hash
16
+
17
+ end
18
+ 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
@@ -1,16 +1,16 @@
1
1
  module SixSaferpay
2
2
  class PendingNotification
3
3
 
4
- attr_accessor(:merchant_email, :notify_url)
4
+ attr_accessor(:merchant_emails, :notify_url)
5
5
 
6
- def initialize(merchant_email: nil, notify_url: nil)
7
- @merchant_email = merchant_email
6
+ def initialize(merchant_emails: nil, notify_url: nil)
7
+ @merchant_emails = merchant_emails
8
8
  @notify_url = notify_url
9
9
  end
10
10
 
11
11
  def to_hash
12
12
  hash = Hash.new
13
- hash.merge!(merchant_email: @merchant_email) if @merchant_email
13
+ hash.merge!(merchant_emails: @merchant_emails) if @merchant_emails
14
14
  hash.merge!(notify_url: @notify_url) if @notify_url
15
15
  hash
16
16
  end
@@ -0,0 +1,18 @@
1
+ module SixSaferpay
2
+ class ProcessingData
3
+
4
+ attr_accessor(:bancontact)
5
+
6
+ def initialize(bancontact: nil)
7
+ @bancontact = SixSaferpay::Bancontact.new(bancontact.to_h) if bancontact
8
+ end
9
+
10
+ def to_hash
11
+ hash = Hash.new
12
+ hash.merge!(bancontact: @bancontact.to_h) if @bancontact
13
+ hash
14
+ end
15
+ alias_method :to_h, :to_hash
16
+
17
+ end
18
+ 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
@@ -3,16 +3,19 @@ module SixSaferpay
3
3
 
4
4
  attr_accessor(:card,
5
5
  :bank_account,
6
- :fd_alias
6
+ :fd_alias,
7
+ :saferpay_fields
7
8
  )
8
9
 
9
10
  def initialize(card: nil,
10
11
  bank_account: nil,
11
- fd_alias: nil
12
+ fd_alias: nil,
13
+ saferpay_fields: nil
12
14
  )
13
15
  @card = SixSaferpay::RequestCard.new(card.to_h) if card
14
16
  @bank_account = SixSaferpay::BankAccount.new(bank_account.to_h) if bank_account
15
17
  @fd_alias = SixSaferpay::PaymentMeansAlias.new(fd_alias.to_h) if fd_alias
18
+ @saferpay_fields = SixSaferpay::SaferpayFields.new(saferpay_fields.to_h) if saferpay_fields
16
19
  end
17
20
 
18
21
  def to_hash
@@ -20,6 +23,7 @@ module SixSaferpay
20
23
  hash.merge!(card: @card.to_h) if @card
21
24
  hash.merge!(bank_account: @bank_account.to_h) if @bank_account
22
25
  hash.merge!(fd_alias: @fd_alias.to_h) if @fd_alias
26
+ hash.merge!(saferpay_fields: @saferpay_fields.to_h) if @saferpay_fields
23
27
  hash
24
28
  end
25
29
  alias_method :to_h, :to_hash
@@ -8,7 +8,6 @@ module SixSaferpay
8
8
  :holder_segment,
9
9
  :country_code,
10
10
  :hash_value
11
- # :verification_code
12
11
  )
13
12
 
14
13
  def initialize(masked_number:,
@@ -18,7 +17,6 @@ module SixSaferpay
18
17
  holder_segment: nil,
19
18
  country_code: nil,
20
19
  hash_value: nil
21
- # verification_code: nil
22
20
  )
23
21
  @masked_number = masked_number
24
22
  @exp_year = exp_year
@@ -27,7 +25,6 @@ module SixSaferpay
27
25
  @holder_segment = holder_segment
28
26
  @country_code = country_code
29
27
  @hash_value = hash_value
30
- # @verification_code = verification_code
31
28
  end
32
29
 
33
30
  def to_hash
@@ -39,7 +36,6 @@ module SixSaferpay
39
36
  hash.merge!(holder_segment: @holder_segment) if @holder_segment
40
37
  hash.merge!(country_code: @country_code) if @country_code
41
38
  hash.merge!(hash_value: @hash_value) if @hash_value
42
- # hash.merge!(verification_code: @verification_code) if @verification_code
43
39
  hash
44
40
  end
45
41
  alias_method :to_h, :to_hash
@@ -0,0 +1,18 @@
1
+ module SixSaferpay
2
+ class SaferpayFields
3
+
4
+ attr_accessor :token
5
+
6
+ def initialize(token: )
7
+ @token = token
8
+ end
9
+
10
+ def to_hash
11
+ hash = Hash.new
12
+ hash.merge!(token: @token) if @token
13
+ hash
14
+ end
15
+ alias_method :to_h, :to_hash
16
+
17
+ end
18
+ end
@@ -0,0 +1,4 @@
1
+ module SixSaferpay
2
+ class SubsequentInstallmentAmount < Amount
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module SixSaferpay
2
+ class TotalAmountDue < Amount
3
+ end
4
+ end
@@ -0,0 +1,20 @@
1
+ module SixSaferpay
2
+ class UpdateAlias
3
+
4
+ attr_accessor(:id, :lifetime)
5
+
6
+ def initialize(id:, lifetime: nil)
7
+ @id = id
8
+ @lifetime = lifetime
9
+ end
10
+
11
+ def to_hash
12
+ hash = Hash.new
13
+ hash.merge!(id: @id) if @id
14
+ hash.merge!(lifetime: @lifetime) if @lifetime
15
+ hash
16
+ end
17
+ alias_method :to_h, :to_hash
18
+
19
+ end
20
+ end
@@ -0,0 +1,18 @@
1
+ module SixSaferpay
2
+ class UpdatePaymentMeans
3
+
4
+ attr_accessor(:card)
5
+
6
+ def initialize(card: nil)
7
+ @card = SixSaferpay::AliasCard.new(card.to_h) if card
8
+ end
9
+
10
+ def to_hash
11
+ hash = Hash.new
12
+ hash.merge!(card: @card.to_h) if @card
13
+ hash
14
+ end
15
+ alias_method :to_h, :to_hash
16
+
17
+ end
18
+ end
@@ -1,3 +1,3 @@
1
1
  module SixSaferpay
2
- VERSION = "1.2.1"
2
+ VERSION = "1.16.2.4.0"
3
3
  end
data/six_saferpay.gemspec CHANGED
@@ -6,12 +6,12 @@ require "six_saferpay/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "six_saferpay"
8
8
  spec.version = SixSaferpay::VERSION
9
- spec.authors = ["Felix Langenegger"]
9
+ spec.authors = ["Fadendaten GmbH", "Felix Langenegger"]
10
10
  spec.email = ["felix.langenegger@fadendaten.ch"]
11
11
 
12
- spec.summary = %q{Write a short summary, because RubyGems requires one.}
13
- spec.description = %q{Write a longer description or delete this line.}
14
- spec.homepage = "https://github.com/fadendaten/six_saferpa://github.com/fadendaten/six_saferpay"
12
+ spec.summary = %q{Gem for the SIX Saferpay API}
13
+ spec.description = %q{This Gem helps you consume the SIX Saferpay API. Accoring the documentation of API of SIX Saferpay you can define your request models and get a response object back.}
14
+ spec.homepage = "https://github.com/fadendaten/six_saferpay"
15
15
  spec.license = "MIT"
16
16
 
17
17
  # Specify which files should be added to the gem when it is released.
@@ -23,18 +23,16 @@ 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', '~> 5.0', '>= 5.0.0.0'
26
+ spec.add_runtime_dependency 'activesupport', '~> 6.1', '>= 6.1.3'
27
27
 
28
-
29
- spec.add_development_dependency 'bundler', '~> 2.0'
30
- spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'bundler', '~> 2.1'
29
+ spec.add_development_dependency 'rake', '~> 13.0'
31
30
  spec.add_development_dependency 'rspec', '~> 3.0'
32
31
  spec.add_development_dependency 'vcr', '~> 4.0', '>= 4.0.0'
33
- spec.add_development_dependency 'webmock', '~> 3.5', '>= 3.5.1'
32
+ spec.add_development_dependency 'webmock', '~> 3.10', '>= 3.10'
34
33
  spec.add_development_dependency 'dotenv', '~> 2.7', '>= 2.7'
35
- spec.add_development_dependency 'pry', '~> 0.12.0'
36
- spec.add_development_dependency 'tty-prompt', '~> 0.18'
37
- spec.add_development_dependency 'simplecov', '~> 0.16'
38
- spec.add_development_dependency 'spinning_wheel', '~> 0.1'
39
-
34
+ spec.add_development_dependency 'pry', '~> 0.13'
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'
40
38
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six_saferpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.16.2.4.0
5
5
  platform: ruby
6
6
  authors:
7
+ - Fadendaten GmbH
7
8
  - Felix Langenegger
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
12
+ date: 2021-02-17 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activesupport
@@ -16,48 +17,48 @@ dependencies:
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: '5.0'
20
+ version: '6.1'
20
21
  - - ">="
21
22
  - !ruby/object:Gem::Version
22
- version: 5.0.0.0
23
+ version: 6.1.3
23
24
  type: :runtime
24
25
  prerelease: false
25
26
  version_requirements: !ruby/object:Gem::Requirement
26
27
  requirements:
27
28
  - - "~>"
28
29
  - !ruby/object:Gem::Version
29
- version: '5.0'
30
+ version: '6.1'
30
31
  - - ">="
31
32
  - !ruby/object:Gem::Version
32
- version: 5.0.0.0
33
+ version: 6.1.3
33
34
  - !ruby/object:Gem::Dependency
34
35
  name: bundler
35
36
  requirement: !ruby/object:Gem::Requirement
36
37
  requirements:
37
38
  - - "~>"
38
39
  - !ruby/object:Gem::Version
39
- version: '2.0'
40
+ version: '2.1'
40
41
  type: :development
41
42
  prerelease: false
42
43
  version_requirements: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
- version: '2.0'
47
+ version: '2.1'
47
48
  - !ruby/object:Gem::Dependency
48
49
  name: rake
49
50
  requirement: !ruby/object:Gem::Requirement
50
51
  requirements:
51
52
  - - "~>"
52
53
  - !ruby/object:Gem::Version
53
- version: '10.0'
54
+ version: '13.0'
54
55
  type: :development
55
56
  prerelease: false
56
57
  version_requirements: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - "~>"
59
60
  - !ruby/object:Gem::Version
60
- version: '10.0'
61
+ version: '13.0'
61
62
  - !ruby/object:Gem::Dependency
62
63
  name: rspec
63
64
  requirement: !ruby/object:Gem::Requirement
@@ -98,20 +99,20 @@ dependencies:
98
99
  requirements:
99
100
  - - "~>"
100
101
  - !ruby/object:Gem::Version
101
- version: '3.5'
102
+ version: '3.10'
102
103
  - - ">="
103
104
  - !ruby/object:Gem::Version
104
- version: 3.5.1
105
+ version: '3.10'
105
106
  type: :development
106
107
  prerelease: false
107
108
  version_requirements: !ruby/object:Gem::Requirement
108
109
  requirements:
109
110
  - - "~>"
110
111
  - !ruby/object:Gem::Version
111
- version: '3.5'
112
+ version: '3.10'
112
113
  - - ">="
113
114
  - !ruby/object:Gem::Version
114
- version: 3.5.1
115
+ version: '3.10'
115
116
  - !ruby/object:Gem::Dependency
116
117
  name: dotenv
117
118
  requirement: !ruby/object:Gem::Requirement
@@ -138,57 +139,59 @@ dependencies:
138
139
  requirements:
139
140
  - - "~>"
140
141
  - !ruby/object:Gem::Version
141
- version: 0.12.0
142
+ version: '0.13'
142
143
  type: :development
143
144
  prerelease: false
144
145
  version_requirements: !ruby/object:Gem::Requirement
145
146
  requirements:
146
147
  - - "~>"
147
148
  - !ruby/object:Gem::Version
148
- version: 0.12.0
149
+ version: '0.13'
149
150
  - !ruby/object:Gem::Dependency
150
151
  name: tty-prompt
151
152
  requirement: !ruby/object:Gem::Requirement
152
153
  requirements:
153
154
  - - "~>"
154
155
  - !ruby/object:Gem::Version
155
- version: '0.18'
156
+ version: '0.22'
156
157
  type: :development
157
158
  prerelease: false
158
159
  version_requirements: !ruby/object:Gem::Requirement
159
160
  requirements:
160
161
  - - "~>"
161
162
  - !ruby/object:Gem::Version
162
- version: '0.18'
163
+ version: '0.22'
163
164
  - !ruby/object:Gem::Dependency
164
165
  name: simplecov
165
166
  requirement: !ruby/object:Gem::Requirement
166
167
  requirements:
167
168
  - - "~>"
168
169
  - !ruby/object:Gem::Version
169
- version: '0.16'
170
+ version: '0.19'
170
171
  type: :development
171
172
  prerelease: false
172
173
  version_requirements: !ruby/object:Gem::Requirement
173
174
  requirements:
174
175
  - - "~>"
175
176
  - !ruby/object:Gem::Version
176
- version: '0.16'
177
+ version: '0.19'
177
178
  - !ruby/object:Gem::Dependency
178
179
  name: spinning_wheel
179
180
  requirement: !ruby/object:Gem::Requirement
180
181
  requirements:
181
182
  - - "~>"
182
183
  - !ruby/object:Gem::Version
183
- version: '0.1'
184
+ version: 0.2.2
184
185
  type: :development
185
186
  prerelease: false
186
187
  version_requirements: !ruby/object:Gem::Requirement
187
188
  requirements:
188
189
  - - "~>"
189
190
  - !ruby/object:Gem::Version
190
- version: '0.1'
191
- description: Write a longer description or delete this line.
191
+ version: 0.2.2
192
+ description: This Gem helps you consume the SIX Saferpay API. Accoring the documentation
193
+ of API of SIX Saferpay you can define your request models and get a response object
194
+ back.
192
195
  email:
193
196
  - felix.langenegger@fadendaten.ch
194
197
  executables: []
@@ -209,11 +212,30 @@ files:
209
212
  - bin/setup
210
213
  - lib/six_saferpay.rb
211
214
  - lib/six_saferpay/api.rb
215
+ - lib/six_saferpay/api/six_batch/requests/close.rb
216
+ - lib/six_saferpay/api/six_batch/responses/close_response.rb
217
+ - lib/six_saferpay/api/six_omni_channel/requests/acquire_transaction.rb
218
+ - lib/six_saferpay/api/six_omni_channel/requests/insert_alias.rb
219
+ - lib/six_saferpay/api/six_omni_channel/responses/acquire_transaction_response.rb
220
+ - lib/six_saferpay/api/six_omni_channel/responses/insert_alias_response.rb
212
221
  - lib/six_saferpay/api/six_payment_page/requests/assert.rb
213
222
  - lib/six_saferpay/api/six_payment_page/requests/initialize.rb
214
223
  - lib/six_saferpay/api/six_payment_page/responses/assert_response.rb
215
- - lib/six_saferpay/api/six_payment_page/responses/initalize_response.rb
224
+ - lib/six_saferpay/api/six_payment_page/responses/initialize_response.rb
225
+ - lib/six_saferpay/api/six_secure_card_data/requests/assert_insert.rb
226
+ - lib/six_saferpay/api/six_secure_card_data/requests/delete.rb
227
+ - lib/six_saferpay/api/six_secure_card_data/requests/insert.rb
228
+ - lib/six_saferpay/api/six_secure_card_data/requests/insert_direct.rb
229
+ - lib/six_saferpay/api/six_secure_card_data/requests/update.rb
230
+ - lib/six_saferpay/api/six_secure_card_data/responses/assert_insert_response.rb
231
+ - lib/six_saferpay/api/six_secure_card_data/responses/delete_response.rb
232
+ - lib/six_saferpay/api/six_secure_card_data/responses/insert_direct_response.rb
233
+ - lib/six_saferpay/api/six_secure_card_data/responses/insert_response.rb
234
+ - lib/six_saferpay/api/six_secure_card_data/responses/update_response.rb
235
+ - lib/six_saferpay/api/six_secure_pay_gate_offer/requests/create_offer.rb
236
+ - lib/six_saferpay/api/six_secure_pay_gate_offer/responses/create_offer_response.rb
216
237
  - lib/six_saferpay/api/six_transaction/requests/adjust_amount.rb
238
+ - lib/six_saferpay/api/six_transaction/requests/alternative_payment.rb
217
239
  - lib/six_saferpay/api/six_transaction/requests/assert_capture.rb
218
240
  - lib/six_saferpay/api/six_transaction/requests/assert_refund.rb
219
241
  - lib/six_saferpay/api/six_transaction/requests/authorize.rb
@@ -222,10 +244,15 @@ files:
222
244
  - lib/six_saferpay/api/six_transaction/requests/cancel.rb
223
245
  - lib/six_saferpay/api/six_transaction/requests/capture.rb
224
246
  - lib/six_saferpay/api/six_transaction/requests/initialize.rb
247
+ - lib/six_saferpay/api/six_transaction/requests/inquire.rb
225
248
  - lib/six_saferpay/api/six_transaction/requests/multipart_capture.rb
249
+ - lib/six_saferpay/api/six_transaction/requests/multipart_finalize.rb
250
+ - lib/six_saferpay/api/six_transaction/requests/query_alternative_payment.rb
226
251
  - lib/six_saferpay/api/six_transaction/requests/query_payment_means.rb
227
252
  - lib/six_saferpay/api/six_transaction/requests/refund.rb
253
+ - lib/six_saferpay/api/six_transaction/requests/refund_direct.rb
228
254
  - lib/six_saferpay/api/six_transaction/responses/adjust_amount_response.rb
255
+ - lib/six_saferpay/api/six_transaction/responses/alternative_payment_response.rb
229
256
  - lib/six_saferpay/api/six_transaction/responses/assert_capture_response.rb
230
257
  - lib/six_saferpay/api/six_transaction/responses/assert_refund_response.rb
231
258
  - lib/six_saferpay/api/six_transaction/responses/authorize_direct_response.rb
@@ -234,23 +261,38 @@ files:
234
261
  - lib/six_saferpay/api/six_transaction/responses/cancel_response.rb
235
262
  - lib/six_saferpay/api/six_transaction/responses/capture_response.rb
236
263
  - lib/six_saferpay/api/six_transaction/responses/initialize_response.rb
264
+ - lib/six_saferpay/api/six_transaction/responses/inquire_response.rb
237
265
  - lib/six_saferpay/api/six_transaction/responses/multipart_capture_response.rb
266
+ - lib/six_saferpay/api/six_transaction/responses/multipart_finalize_response.rb
267
+ - lib/six_saferpay/api/six_transaction/responses/query_alternative_payment_response.rb
238
268
  - lib/six_saferpay/api/six_transaction/responses/query_payment_means_response.rb
269
+ - lib/six_saferpay/api/six_transaction/responses/refund_direct_response.rb
239
270
  - lib/six_saferpay/api/six_transaction/responses/refund_response.rb
240
271
  - lib/six_saferpay/client.rb
272
+ - lib/six_saferpay/clients/secure_pay_gate_api/client.rb
241
273
  - lib/six_saferpay/errors/error.rb
242
274
  - lib/six_saferpay/models/address.rb
243
275
  - lib/six_saferpay/models/address_form.rb
276
+ - lib/six_saferpay/models/alias.rb
277
+ - lib/six_saferpay/models/alias_card.rb
244
278
  - lib/six_saferpay/models/alipay.rb
245
279
  - lib/six_saferpay/models/amount.rb
280
+ - lib/six_saferpay/models/authentication.rb
281
+ - lib/six_saferpay/models/authentication_result.rb
282
+ - lib/six_saferpay/models/bancontact.rb
246
283
  - lib/six_saferpay/models/bank_account.rb
284
+ - lib/six_saferpay/models/bankcontact.rb
247
285
  - lib/six_saferpay/models/billing_address.rb
248
286
  - lib/six_saferpay/models/billing_address_form.rb
249
287
  - lib/six_saferpay/models/billpay.rb
250
288
  - lib/six_saferpay/models/brand.rb
251
289
  - lib/six_saferpay/models/capture_reference.rb
252
290
  - lib/six_saferpay/models/card_form.rb
291
+ - lib/six_saferpay/models/check.rb
292
+ - lib/six_saferpay/models/check_result.rb
293
+ - lib/six_saferpay/models/chosen_plan.rb
253
294
  - lib/six_saferpay/models/client_info.rb
295
+ - lib/six_saferpay/models/custom_plan.rb
254
296
  - lib/six_saferpay/models/dcc.rb
255
297
  - lib/six_saferpay/models/delivery_address.rb
256
298
  - lib/six_saferpay/models/delivery_address_form.rb
@@ -258,11 +300,16 @@ files:
258
300
  - lib/six_saferpay/models/error.rb
259
301
  - lib/six_saferpay/models/fee.rb
260
302
  - lib/six_saferpay/models/fee_refund.rb
303
+ - lib/six_saferpay/models/first_installment_amount.rb
261
304
  - lib/six_saferpay/models/fraud_free.rb
305
+ - lib/six_saferpay/models/ideal.rb
262
306
  - lib/six_saferpay/models/installment.rb
307
+ - lib/six_saferpay/models/installment_fee.rb
308
+ - lib/six_saferpay/models/installment_plans.rb
263
309
  - lib/six_saferpay/models/invoice.rb
264
310
  - lib/six_saferpay/models/liability.rb
265
311
  - lib/six_saferpay/models/marketplace.rb
312
+ - lib/six_saferpay/models/mastercard_issuer_installments.rb
266
313
  - lib/six_saferpay/models/notification.rb
267
314
  - lib/six_saferpay/models/options.rb
268
315
  - lib/six_saferpay/models/payee.rb
@@ -270,8 +317,10 @@ files:
270
317
  - lib/six_saferpay/models/payer_amount.rb
271
318
  - lib/six_saferpay/models/payment.rb
272
319
  - lib/six_saferpay/models/payment_means_alias.rb
320
+ - lib/six_saferpay/models/payment_method_options.rb
273
321
  - lib/six_saferpay/models/payment_methods_options.rb
274
322
  - lib/six_saferpay/models/pending_notification.rb
323
+ - lib/six_saferpay/models/processing_data.rb
275
324
  - lib/six_saferpay/models/recurring.rb
276
325
  - lib/six_saferpay/models/redirect.rb
277
326
  - lib/six_saferpay/models/refund.rb
@@ -286,16 +335,21 @@ files:
286
335
  - lib/six_saferpay/models/response_header.rb
287
336
  - lib/six_saferpay/models/response_payment_means.rb
288
337
  - lib/six_saferpay/models/return_urls.rb
338
+ - lib/six_saferpay/models/saferpay_fields.rb
289
339
  - lib/six_saferpay/models/six_transaction.rb
290
340
  - lib/six_saferpay/models/styling.rb
341
+ - lib/six_saferpay/models/subsequent_installment_amount.rb
291
342
  - lib/six_saferpay/models/three_ds.rb
343
+ - lib/six_saferpay/models/total_amont_due.rb
292
344
  - lib/six_saferpay/models/transaction.rb
293
345
  - lib/six_saferpay/models/transaction_reference.rb
294
346
  - lib/six_saferpay/models/twint.rb
347
+ - lib/six_saferpay/models/update_alias.rb
348
+ - lib/six_saferpay/models/update_payment_means.rb
295
349
  - lib/six_saferpay/models/wallet.rb
296
350
  - lib/six_saferpay/version.rb
297
351
  - six_saferpay.gemspec
298
- homepage: https://github.com/fadendaten/six_saferpa://github.com/fadendaten/six_saferpay
352
+ homepage: https://github.com/fadendaten/six_saferpay
299
353
  licenses:
300
354
  - MIT
301
355
  metadata: {}
@@ -314,9 +368,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
368
  - !ruby/object:Gem::Version
315
369
  version: '0'
316
370
  requirements: []
317
- rubyforge_project:
318
- rubygems_version: 2.7.6
371
+ rubygems_version: 3.1.4
319
372
  signing_key:
320
373
  specification_version: 4
321
- summary: Write a short summary, because RubyGems requires one.
374
+ summary: Gem for the SIX Saferpay API
322
375
  test_files: []