onlinepayments-sdk-ruby 4.19.0 → 4.20.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15d6b61de9998195cf253071dec58a863a0fdad32caa7b75b391f4be5dd863d4
|
4
|
+
data.tar.gz: 8ca30684752b8b89d01dc28dc221c1d9838e269bc26a4dda7fc4b0b6a54944ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4faa5d8ff0add74194671458f814a85580c8ee891bd3b87e5e72e259b10ed3d74c798e906f17ab4c325b489fbda2e2efbd2a0ad6aff3693e5bde989a2c1cc573
|
7
|
+
data.tar.gz: 1815277b0b20fab230aa4591c395e042bac28526726c568d35dc1222ead7f8eb5d9dcfca2d612c0209a69a2b7f310a7fca44507e0982322d2f272f3cfd1ec513
|
@@ -0,0 +1,30 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated.
|
3
|
+
#
|
4
|
+
require 'onlinepayments/sdk/data_object'
|
5
|
+
|
6
|
+
module OnlinePayments::SDK
|
7
|
+
module Domain
|
8
|
+
|
9
|
+
# @attr [String] qr_code
|
10
|
+
# @attr [String] url_intent
|
11
|
+
class PaymentProduct3012 < OnlinePayments::SDK::DataObject
|
12
|
+
attr_accessor :qr_code
|
13
|
+
attr_accessor :url_intent
|
14
|
+
|
15
|
+
# @return (Hash)
|
16
|
+
def to_h
|
17
|
+
hash = super
|
18
|
+
hash['qrCode'] = @qr_code unless @qr_code.nil?
|
19
|
+
hash['urlIntent'] = @url_intent unless @url_intent.nil?
|
20
|
+
hash
|
21
|
+
end
|
22
|
+
|
23
|
+
def from_hash(hash)
|
24
|
+
super
|
25
|
+
@qr_code = hash['qrCode'] if hash.key? 'qrCode'
|
26
|
+
@url_intent = hash['urlIntent'] if hash.key? 'urlIntent'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -2,21 +2,25 @@
|
|
2
2
|
# This class was auto-generated.
|
3
3
|
#
|
4
4
|
require 'onlinepayments/sdk/data_object'
|
5
|
+
require 'onlinepayments/sdk/domain/payment_product3012'
|
5
6
|
require 'onlinepayments/sdk/domain/payment_product5404'
|
6
7
|
require 'onlinepayments/sdk/domain/payment_product5407'
|
7
8
|
|
8
9
|
module OnlinePayments::SDK
|
9
10
|
module Domain
|
10
11
|
|
12
|
+
# @attr [OnlinePayments::SDK::Domain::PaymentProduct3012] payment_product3012
|
11
13
|
# @attr [OnlinePayments::SDK::Domain::PaymentProduct5404] payment_product5404
|
12
14
|
# @attr [OnlinePayments::SDK::Domain::PaymentProduct5407] payment_product5407
|
13
15
|
class ShowFormData < OnlinePayments::SDK::DataObject
|
16
|
+
attr_accessor :payment_product3012
|
14
17
|
attr_accessor :payment_product5404
|
15
18
|
attr_accessor :payment_product5407
|
16
19
|
|
17
20
|
# @return (Hash)
|
18
21
|
def to_h
|
19
22
|
hash = super
|
23
|
+
hash['paymentProduct3012'] = @payment_product3012.to_h if @payment_product3012
|
20
24
|
hash['paymentProduct5404'] = @payment_product5404.to_h if @payment_product5404
|
21
25
|
hash['paymentProduct5407'] = @payment_product5407.to_h if @payment_product5407
|
22
26
|
hash
|
@@ -24,6 +28,10 @@ module OnlinePayments::SDK
|
|
24
28
|
|
25
29
|
def from_hash(hash)
|
26
30
|
super
|
31
|
+
if hash.key? 'paymentProduct3012'
|
32
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct3012']] unless hash['paymentProduct3012'].is_a? Hash
|
33
|
+
@payment_product3012 = OnlinePayments::SDK::Domain::PaymentProduct3012.new_from_hash(hash['paymentProduct3012'])
|
34
|
+
end
|
27
35
|
if hash.key? 'paymentProduct5404'
|
28
36
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct5404']] unless hash['paymentProduct5404'].is_a? Hash
|
29
37
|
@payment_product5404 = OnlinePayments::SDK::Domain::PaymentProduct5404.new_from_hash(hash['paymentProduct5404'])
|
@@ -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.20.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.20.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: 2024-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -286,6 +286,7 @@ files:
|
|
286
286
|
- lib/onlinepayments/sdk/domain/payment_product.rb
|
287
287
|
- lib/onlinepayments/sdk/domain/payment_product130_specific_input.rb
|
288
288
|
- lib/onlinepayments/sdk/domain/payment_product130_specific_three_d_secure.rb
|
289
|
+
- lib/onlinepayments/sdk/domain/payment_product3012.rb
|
289
290
|
- lib/onlinepayments/sdk/domain/payment_product302_specific_data.rb
|
290
291
|
- lib/onlinepayments/sdk/domain/payment_product3208_specific_input.rb
|
291
292
|
- lib/onlinepayments/sdk/domain/payment_product3208_specific_output.rb
|