onlinepayments-sdk-ruby 4.15.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0bb67c94bd5f8e000fb9688e71e346837dde955160058f9b6db9950797ebc5a
|
4
|
+
data.tar.gz: 4aadeaeba5d777d2c857bf082fe142349b61c6fe7f4d29b169b20d6dadd7b5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30f4dfeb625a981c46c9955d9087a44c6e3938695e07b912b1b40fe6b4989d2cc39c0daf822238f1968f37f4be6915f00b39ed19f1aac3e52876ca119fb83d45
|
7
|
+
data.tar.gz: 7b2ca1a1b946893ec1044e19104a112158a087500adab1049295d00cf86ac2da9130a44f9ceeb47f3ae405e19fa7866fdbe3b9b12a2b4a3daf0761d50dc849a3
|
@@ -22,6 +22,7 @@ module OnlinePayments::SDK
|
|
22
22
|
# @attr [OnlinePayments::SDK::Domain::ExternalTokenLinked] external_token_linked
|
23
23
|
# @attr [OnlinePayments::SDK::Domain::CardFraudResults] fraud_results
|
24
24
|
# @attr [String] initial_scheme_transaction_id
|
25
|
+
# @attr [String] payment_account_reference
|
25
26
|
# @attr [String] payment_option
|
26
27
|
# @attr [OnlinePayments::SDK::Domain::PaymentProduct3208SpecificOutput] payment_product3208_specific_output
|
27
28
|
# @attr [OnlinePayments::SDK::Domain::PaymentProduct3209SpecificOutput] payment_product3209_specific_output
|
@@ -38,6 +39,7 @@ module OnlinePayments::SDK
|
|
38
39
|
attr_accessor :external_token_linked
|
39
40
|
attr_accessor :fraud_results
|
40
41
|
attr_accessor :initial_scheme_transaction_id
|
42
|
+
attr_accessor :payment_account_reference
|
41
43
|
attr_accessor :payment_option
|
42
44
|
attr_accessor :payment_product3208_specific_output
|
43
45
|
attr_accessor :payment_product3209_specific_output
|
@@ -57,6 +59,7 @@ module OnlinePayments::SDK
|
|
57
59
|
hash['externalTokenLinked'] = @external_token_linked.to_h if @external_token_linked
|
58
60
|
hash['fraudResults'] = @fraud_results.to_h if @fraud_results
|
59
61
|
hash['initialSchemeTransactionId'] = @initial_scheme_transaction_id unless @initial_scheme_transaction_id.nil?
|
62
|
+
hash['paymentAccountReference'] = @payment_account_reference unless @payment_account_reference.nil?
|
60
63
|
hash['paymentOption'] = @payment_option unless @payment_option.nil?
|
61
64
|
hash['paymentProduct3208SpecificOutput'] = @payment_product3208_specific_output.to_h if @payment_product3208_specific_output
|
62
65
|
hash['paymentProduct3209SpecificOutput'] = @payment_product3209_specific_output.to_h if @payment_product3209_specific_output
|
@@ -92,6 +95,7 @@ module OnlinePayments::SDK
|
|
92
95
|
@fraud_results = OnlinePayments::SDK::Domain::CardFraudResults.new_from_hash(hash['fraudResults'])
|
93
96
|
end
|
94
97
|
@initial_scheme_transaction_id = hash['initialSchemeTransactionId'] if hash.key? 'initialSchemeTransactionId'
|
98
|
+
@payment_account_reference = hash['paymentAccountReference'] if hash.key? 'paymentAccountReference'
|
95
99
|
@payment_option = hash['paymentOption'] if hash.key? 'paymentOption'
|
96
100
|
if hash.key? 'paymentProduct3208SpecificOutput'
|
97
101
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct3208SpecificOutput']] unless hash['paymentProduct3208SpecificOutput'].is_a? Hash
|
@@ -8,13 +8,16 @@ module OnlinePayments::SDK
|
|
8
8
|
module Domain
|
9
9
|
|
10
10
|
# @attr [OnlinePayments::SDK::Domain::CustomerBankAccount] customer_bank_account
|
11
|
+
# @attr [true/false] instant_payment_only
|
11
12
|
class RedirectPaymentProduct5408SpecificInput < OnlinePayments::SDK::DataObject
|
12
13
|
attr_accessor :customer_bank_account
|
14
|
+
attr_accessor :instant_payment_only
|
13
15
|
|
14
16
|
# @return (Hash)
|
15
17
|
def to_h
|
16
18
|
hash = super
|
17
19
|
hash['customerBankAccount'] = @customer_bank_account.to_h if @customer_bank_account
|
20
|
+
hash['instantPaymentOnly'] = @instant_payment_only unless @instant_payment_only.nil?
|
18
21
|
hash
|
19
22
|
end
|
20
23
|
|
@@ -24,6 +27,7 @@ module OnlinePayments::SDK
|
|
24
27
|
raise TypeError, "value '%s' is not a Hash" % [hash['customerBankAccount']] unless hash['customerBankAccount'].is_a? Hash
|
25
28
|
@customer_bank_account = OnlinePayments::SDK::Domain::CustomerBankAccount.new_from_hash(hash['customerBankAccount'])
|
26
29
|
end
|
30
|
+
@instant_payment_only = hash['instantPaymentOnly'] if hash.key? 'instantPaymentOnly'
|
27
31
|
end
|
28
32
|
end
|
29
33
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'onlinepayments-sdk-ruby'
|
3
|
-
spec.version = '4.
|
3
|
+
spec.version = '4.16.0'
|
4
4
|
spec.authors = ['Worldline Direct support team']
|
5
5
|
spec.email = ['82139942+worldline-direct-support-team@users.noreply.github.com']
|
6
6
|
spec.summary = %q{SDK to communicate with the Online Payments platform using the Online Payments Server API}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onlinepayments-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Worldline Direct support team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|