connect-sdk-ruby 4.2.0 → 4.3.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 +4 -4
- data/connect-sdk-ruby.gemspec +1 -1
- data/lib/worldline/connect/sdk/communication/metadata_provider.rb +1 -1
- data/lib/worldline/connect/sdk/v1/domain/abstract_mobile_payment_method_specific_input.rb +100 -0
- data/lib/worldline/connect/sdk/v1/domain/automatic_reload_billing_details.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/base_billing_details.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1506_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1508_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration_mastercard.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration_visa.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/click_to_pay_scheme_configuration_base.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/deferred_billing_details.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input.rb +15 -29
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input_hosted_checkout.rb +2 -30
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_output.rb +21 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product.rb +16 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product302_specific_input.rb +91 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_group.rb +16 -0
- data/lib/worldline/connect/sdk/v1/domain/recurring_billing_details.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/recurring_payments_data.rb +23 -0
- data/lib/worldline/connect/sdk/v1/domain/trial_information.rb +7 -0
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6eb70538d7cb572c35fca75c5d19fa3b7aa898aadf8303fed5f0b648e36ade87
|
|
4
|
+
data.tar.gz: 709340e0e61f1a9421768407179b707321a2f883acadb97df052183798190aba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ab8e6993d9472abc575763089c3a037911b0b71858ef75f3799f96e8d6f3e2e9e004622945eb9827844ee86d259f614b9ebef985db95d1fe8479b1a55866560
|
|
7
|
+
data.tar.gz: dfcba9e5ea4755debd7b92d54d28198b25719f58b68f043a93c2ac461b1c6cb73e6af2bee9a0e69c810a03ab9373ea9a930950e7a504b374718df79b4ea62f7f
|
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 = '4.
|
|
3
|
+
spec.version = '4.3.0'
|
|
4
4
|
spec.authors = ['Worldline Global Collect']
|
|
5
5
|
spec.email = ['github.connect@worldline.com']
|
|
6
6
|
spec.summary = %q{SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API}
|
|
@@ -14,7 +14,7 @@ module Worldline
|
|
|
14
14
|
class MetadataProvider
|
|
15
15
|
private
|
|
16
16
|
|
|
17
|
-
SDK_VERSION = '4.
|
|
17
|
+
SDK_VERSION = '4.3.0'.freeze
|
|
18
18
|
SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'.freeze
|
|
19
19
|
PROHIBITED_HEADERS = [SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key','Date', 'Content-Type', 'Authorization'].sort!.freeze
|
|
20
20
|
CHARSET = 'utf-8'.freeze
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/abstract_payment_method_specific_input'
|
|
6
|
+
require 'worldline/connect/sdk/v1/domain/card_recurrence_details'
|
|
7
|
+
|
|
8
|
+
module Worldline
|
|
9
|
+
module Connect
|
|
10
|
+
module SDK
|
|
11
|
+
module V1
|
|
12
|
+
module Domain
|
|
13
|
+
# @attr [String] authorization_mode
|
|
14
|
+
# @attr [String] customer_reference
|
|
15
|
+
# @attr [String] initial_scheme_transaction_id
|
|
16
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::CardRecurrenceDetails] recurring
|
|
17
|
+
# @attr [true/false] requires_approval
|
|
18
|
+
# @attr [true/false] skip_fraud_service
|
|
19
|
+
# @attr [String] token
|
|
20
|
+
# @attr [true/false] tokenize
|
|
21
|
+
# @attr [String] unscheduled_card_on_file_requestor
|
|
22
|
+
# @attr [String] unscheduled_card_on_file_sequence_indicator
|
|
23
|
+
class AbstractMobilePaymentMethodSpecificInput < Worldline::Connect::SDK::V1::Domain::AbstractPaymentMethodSpecificInput
|
|
24
|
+
|
|
25
|
+
attr_accessor :authorization_mode
|
|
26
|
+
|
|
27
|
+
attr_accessor :customer_reference
|
|
28
|
+
|
|
29
|
+
attr_accessor :initial_scheme_transaction_id
|
|
30
|
+
|
|
31
|
+
attr_accessor :recurring
|
|
32
|
+
|
|
33
|
+
attr_accessor :requires_approval
|
|
34
|
+
|
|
35
|
+
attr_accessor :skip_fraud_service
|
|
36
|
+
|
|
37
|
+
attr_accessor :token
|
|
38
|
+
|
|
39
|
+
attr_accessor :tokenize
|
|
40
|
+
|
|
41
|
+
attr_accessor :unscheduled_card_on_file_requestor
|
|
42
|
+
|
|
43
|
+
attr_accessor :unscheduled_card_on_file_sequence_indicator
|
|
44
|
+
|
|
45
|
+
# @return (Hash)
|
|
46
|
+
def to_h
|
|
47
|
+
hash = super
|
|
48
|
+
hash['authorizationMode'] = @authorization_mode unless @authorization_mode.nil?
|
|
49
|
+
hash['customerReference'] = @customer_reference unless @customer_reference.nil?
|
|
50
|
+
hash['initialSchemeTransactionId'] = @initial_scheme_transaction_id unless @initial_scheme_transaction_id.nil?
|
|
51
|
+
hash['recurring'] = @recurring.to_h unless @recurring.nil?
|
|
52
|
+
hash['requiresApproval'] = @requires_approval unless @requires_approval.nil?
|
|
53
|
+
hash['skipFraudService'] = @skip_fraud_service unless @skip_fraud_service.nil?
|
|
54
|
+
hash['token'] = @token unless @token.nil?
|
|
55
|
+
hash['tokenize'] = @tokenize unless @tokenize.nil?
|
|
56
|
+
hash['unscheduledCardOnFileRequestor'] = @unscheduled_card_on_file_requestor unless @unscheduled_card_on_file_requestor.nil?
|
|
57
|
+
hash['unscheduledCardOnFileSequenceIndicator'] = @unscheduled_card_on_file_sequence_indicator unless @unscheduled_card_on_file_sequence_indicator.nil?
|
|
58
|
+
hash
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
def from_hash(hash)
|
|
62
|
+
super
|
|
63
|
+
if hash.has_key? 'authorizationMode'
|
|
64
|
+
@authorization_mode = hash['authorizationMode']
|
|
65
|
+
end
|
|
66
|
+
if hash.has_key? 'customerReference'
|
|
67
|
+
@customer_reference = hash['customerReference']
|
|
68
|
+
end
|
|
69
|
+
if hash.has_key? 'initialSchemeTransactionId'
|
|
70
|
+
@initial_scheme_transaction_id = hash['initialSchemeTransactionId']
|
|
71
|
+
end
|
|
72
|
+
if hash.has_key? 'recurring'
|
|
73
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['recurring']] unless hash['recurring'].is_a? Hash
|
|
74
|
+
@recurring = Worldline::Connect::SDK::V1::Domain::CardRecurrenceDetails.new_from_hash(hash['recurring'])
|
|
75
|
+
end
|
|
76
|
+
if hash.has_key? 'requiresApproval'
|
|
77
|
+
@requires_approval = hash['requiresApproval']
|
|
78
|
+
end
|
|
79
|
+
if hash.has_key? 'skipFraudService'
|
|
80
|
+
@skip_fraud_service = hash['skipFraudService']
|
|
81
|
+
end
|
|
82
|
+
if hash.has_key? 'token'
|
|
83
|
+
@token = hash['token']
|
|
84
|
+
end
|
|
85
|
+
if hash.has_key? 'tokenize'
|
|
86
|
+
@tokenize = hash['tokenize']
|
|
87
|
+
end
|
|
88
|
+
if hash.has_key? 'unscheduledCardOnFileRequestor'
|
|
89
|
+
@unscheduled_card_on_file_requestor = hash['unscheduledCardOnFileRequestor']
|
|
90
|
+
end
|
|
91
|
+
if hash.has_key? 'unscheduledCardOnFileSequenceIndicator'
|
|
92
|
+
@unscheduled_card_on_file_sequence_indicator = hash['unscheduledCardOnFileSequenceIndicator']
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/base_billing_details'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
# @attr [Integer] automatic_reload_payment_threshold_amount
|
|
13
|
+
class AutomaticReloadBillingDetails < Worldline::Connect::SDK::V1::Domain::BaseBillingDetails
|
|
14
|
+
|
|
15
|
+
attr_accessor :automatic_reload_payment_threshold_amount
|
|
16
|
+
|
|
17
|
+
# @return (Hash)
|
|
18
|
+
def to_h
|
|
19
|
+
hash = super
|
|
20
|
+
hash['automaticReloadPaymentThresholdAmount'] = @automatic_reload_payment_threshold_amount unless @automatic_reload_payment_threshold_amount.nil?
|
|
21
|
+
hash
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def from_hash(hash)
|
|
25
|
+
super
|
|
26
|
+
if hash.has_key? 'automaticReloadPaymentThresholdAmount'
|
|
27
|
+
@automatic_reload_payment_threshold_amount = hash['automaticReloadPaymentThresholdAmount']
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
# @attr [String] description
|
|
13
|
+
class BaseBillingDetails < Worldline::Connect::SDK::Domain::DataObject
|
|
14
|
+
|
|
15
|
+
attr_accessor :description
|
|
16
|
+
|
|
17
|
+
# @return (Hash)
|
|
18
|
+
def to_h
|
|
19
|
+
hash = super
|
|
20
|
+
hash['description'] = @description unless @description.nil?
|
|
21
|
+
hash
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def from_hash(hash)
|
|
25
|
+
super
|
|
26
|
+
if hash.has_key? 'description'
|
|
27
|
+
@description = hash['description']
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
require 'worldline/connect/sdk/v1/domain/abstract_cash_payment_method_specific_input'
|
|
6
6
|
require 'worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input'
|
|
7
7
|
require 'worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input'
|
|
8
|
+
require 'worldline/connect/sdk/v1/domain/cash_payment_product1506_specific_input'
|
|
9
|
+
require 'worldline/connect/sdk/v1/domain/cash_payment_product1508_specific_input'
|
|
8
10
|
require 'worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input'
|
|
9
11
|
require 'worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input'
|
|
10
12
|
require 'worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input'
|
|
@@ -18,6 +20,8 @@ module Worldline
|
|
|
18
20
|
module Domain
|
|
19
21
|
# @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1503SpecificInput] payment_product1503_specific_input
|
|
20
22
|
# @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput] payment_product1504_specific_input
|
|
23
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1506SpecificInput] payment_product1506_specific_input
|
|
24
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1508SpecificInput] payment_product1508_specific_input
|
|
21
25
|
# @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput] payment_product1521_specific_input
|
|
22
26
|
# @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1522SpecificInput] payment_product1522_specific_input
|
|
23
27
|
# @attr [Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1523SpecificInput] payment_product1523_specific_input
|
|
@@ -30,6 +34,10 @@ module Worldline
|
|
|
30
34
|
|
|
31
35
|
attr_accessor :payment_product1504_specific_input
|
|
32
36
|
|
|
37
|
+
attr_accessor :payment_product1506_specific_input
|
|
38
|
+
|
|
39
|
+
attr_accessor :payment_product1508_specific_input
|
|
40
|
+
|
|
33
41
|
attr_accessor :payment_product1521_specific_input
|
|
34
42
|
|
|
35
43
|
attr_accessor :payment_product1522_specific_input
|
|
@@ -45,6 +53,8 @@ module Worldline
|
|
|
45
53
|
hash = super
|
|
46
54
|
hash['paymentProduct1503SpecificInput'] = @payment_product1503_specific_input.to_h unless @payment_product1503_specific_input.nil?
|
|
47
55
|
hash['paymentProduct1504SpecificInput'] = @payment_product1504_specific_input.to_h unless @payment_product1504_specific_input.nil?
|
|
56
|
+
hash['paymentProduct1506SpecificInput'] = @payment_product1506_specific_input.to_h unless @payment_product1506_specific_input.nil?
|
|
57
|
+
hash['paymentProduct1508SpecificInput'] = @payment_product1508_specific_input.to_h unless @payment_product1508_specific_input.nil?
|
|
48
58
|
hash['paymentProduct1521SpecificInput'] = @payment_product1521_specific_input.to_h unless @payment_product1521_specific_input.nil?
|
|
49
59
|
hash['paymentProduct1522SpecificInput'] = @payment_product1522_specific_input.to_h unless @payment_product1522_specific_input.nil?
|
|
50
60
|
hash['paymentProduct1523SpecificInput'] = @payment_product1523_specific_input.to_h unless @payment_product1523_specific_input.nil?
|
|
@@ -63,6 +73,14 @@ module Worldline
|
|
|
63
73
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1504SpecificInput']] unless hash['paymentProduct1504SpecificInput'].is_a? Hash
|
|
64
74
|
@payment_product1504_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput.new_from_hash(hash['paymentProduct1504SpecificInput'])
|
|
65
75
|
end
|
|
76
|
+
if hash.has_key? 'paymentProduct1506SpecificInput'
|
|
77
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1506SpecificInput']] unless hash['paymentProduct1506SpecificInput'].is_a? Hash
|
|
78
|
+
@payment_product1506_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1506SpecificInput.new_from_hash(hash['paymentProduct1506SpecificInput'])
|
|
79
|
+
end
|
|
80
|
+
if hash.has_key? 'paymentProduct1508SpecificInput'
|
|
81
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1508SpecificInput']] unless hash['paymentProduct1508SpecificInput'].is_a? Hash
|
|
82
|
+
@payment_product1508_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1508SpecificInput.new_from_hash(hash['paymentProduct1508SpecificInput'])
|
|
83
|
+
end
|
|
66
84
|
if hash.has_key? 'paymentProduct1521SpecificInput'
|
|
67
85
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1521SpecificInput']] unless hash['paymentProduct1521SpecificInput'].is_a? Hash
|
|
68
86
|
@payment_product1521_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput.new_from_hash(hash['paymentProduct1521SpecificInput'])
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
class CashPaymentProduct1506SpecificInput < Worldline::Connect::SDK::V1::Domain::CashPaymentProductWithRedirectSpecificInputBase
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
class CashPaymentProduct1508SpecificInput < Worldline::Connect::SDK::V1::Domain::CashPaymentProductWithRedirectSpecificInputBase
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
|
6
|
+
require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration_mastercard'
|
|
7
|
+
require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration_visa'
|
|
8
|
+
|
|
9
|
+
module Worldline
|
|
10
|
+
module Connect
|
|
11
|
+
module SDK
|
|
12
|
+
module V1
|
|
13
|
+
module Domain
|
|
14
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationMastercard] mastercard
|
|
15
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationVisa] visa
|
|
16
|
+
class ClickToPayConfiguration < Worldline::Connect::SDK::Domain::DataObject
|
|
17
|
+
|
|
18
|
+
attr_accessor :mastercard
|
|
19
|
+
|
|
20
|
+
attr_accessor :visa
|
|
21
|
+
|
|
22
|
+
# @return (Hash)
|
|
23
|
+
def to_h
|
|
24
|
+
hash = super
|
|
25
|
+
hash['mastercard'] = @mastercard.to_h unless @mastercard.nil?
|
|
26
|
+
hash['visa'] = @visa.to_h unless @visa.nil?
|
|
27
|
+
hash
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def from_hash(hash)
|
|
31
|
+
super
|
|
32
|
+
if hash.has_key? 'mastercard'
|
|
33
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['mastercard']] unless hash['mastercard'].is_a? Hash
|
|
34
|
+
@mastercard = Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationMastercard.new_from_hash(hash['mastercard'])
|
|
35
|
+
end
|
|
36
|
+
if hash.has_key? 'visa'
|
|
37
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['visa']] unless hash['visa'].is_a? Hash
|
|
38
|
+
@visa = Worldline::Connect::SDK::V1::Domain::ClickToPayConfigurationVisa.new_from_hash(hash['visa'])
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/click_to_pay_scheme_configuration_base'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
class ClickToPayConfigurationMastercard < Worldline::Connect::SDK::V1::Domain::ClickToPaySchemeConfigurationBase
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/click_to_pay_scheme_configuration_base'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
# @attr [String] encryption_key
|
|
13
|
+
# @attr [String] n_modulus
|
|
14
|
+
class ClickToPayConfigurationVisa < Worldline::Connect::SDK::V1::Domain::ClickToPaySchemeConfigurationBase
|
|
15
|
+
|
|
16
|
+
attr_accessor :encryption_key
|
|
17
|
+
|
|
18
|
+
attr_accessor :n_modulus
|
|
19
|
+
|
|
20
|
+
# @return (Hash)
|
|
21
|
+
def to_h
|
|
22
|
+
hash = super
|
|
23
|
+
hash['encryptionKey'] = @encryption_key unless @encryption_key.nil?
|
|
24
|
+
hash['nModulus'] = @n_modulus unless @n_modulus.nil?
|
|
25
|
+
hash
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def from_hash(hash)
|
|
29
|
+
super
|
|
30
|
+
if hash.has_key? 'encryptionKey'
|
|
31
|
+
@encryption_key = hash['encryptionKey']
|
|
32
|
+
end
|
|
33
|
+
if hash.has_key? 'nModulus'
|
|
34
|
+
@n_modulus = hash['nModulus']
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
# @attr [String] src_dpa_id
|
|
13
|
+
# @attr [String] src_initiator_id
|
|
14
|
+
class ClickToPaySchemeConfigurationBase < Worldline::Connect::SDK::Domain::DataObject
|
|
15
|
+
|
|
16
|
+
attr_accessor :src_dpa_id
|
|
17
|
+
|
|
18
|
+
attr_accessor :src_initiator_id
|
|
19
|
+
|
|
20
|
+
# @return (Hash)
|
|
21
|
+
def to_h
|
|
22
|
+
hash = super
|
|
23
|
+
hash['srcDpaId'] = @src_dpa_id unless @src_dpa_id.nil?
|
|
24
|
+
hash['srcInitiatorId'] = @src_initiator_id unless @src_initiator_id.nil?
|
|
25
|
+
hash
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def from_hash(hash)
|
|
29
|
+
super
|
|
30
|
+
if hash.has_key? 'srcDpaId'
|
|
31
|
+
@src_dpa_id = hash['srcDpaId']
|
|
32
|
+
end
|
|
33
|
+
if hash.has_key? 'srcInitiatorId'
|
|
34
|
+
@src_initiator_id = hash['srcInitiatorId']
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/base_billing_details'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
# @attr [Integer] deferred_payment_amount
|
|
13
|
+
# @attr [String] deferred_payment_date
|
|
14
|
+
# @attr [String] free_cancellation_date
|
|
15
|
+
# @attr [String] free_cancellation_date_time_zone
|
|
16
|
+
class DeferredBillingDetails < Worldline::Connect::SDK::V1::Domain::BaseBillingDetails
|
|
17
|
+
|
|
18
|
+
attr_accessor :deferred_payment_amount
|
|
19
|
+
|
|
20
|
+
attr_accessor :deferred_payment_date
|
|
21
|
+
|
|
22
|
+
attr_accessor :free_cancellation_date
|
|
23
|
+
|
|
24
|
+
attr_accessor :free_cancellation_date_time_zone
|
|
25
|
+
|
|
26
|
+
# @return (Hash)
|
|
27
|
+
def to_h
|
|
28
|
+
hash = super
|
|
29
|
+
hash['deferredPaymentAmount'] = @deferred_payment_amount unless @deferred_payment_amount.nil?
|
|
30
|
+
hash['deferredPaymentDate'] = @deferred_payment_date unless @deferred_payment_date.nil?
|
|
31
|
+
hash['freeCancellationDate'] = @free_cancellation_date unless @free_cancellation_date.nil?
|
|
32
|
+
hash['freeCancellationDateTimeZone'] = @free_cancellation_date_time_zone unless @free_cancellation_date_time_zone.nil?
|
|
33
|
+
hash
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def from_hash(hash)
|
|
37
|
+
super
|
|
38
|
+
if hash.has_key? 'deferredPaymentAmount'
|
|
39
|
+
@deferred_payment_amount = hash['deferredPaymentAmount']
|
|
40
|
+
end
|
|
41
|
+
if hash.has_key? 'deferredPaymentDate'
|
|
42
|
+
@deferred_payment_date = hash['deferredPaymentDate']
|
|
43
|
+
end
|
|
44
|
+
if hash.has_key? 'freeCancellationDate'
|
|
45
|
+
@free_cancellation_date = hash['freeCancellationDate']
|
|
46
|
+
end
|
|
47
|
+
if hash.has_key? 'freeCancellationDateTimeZone'
|
|
48
|
+
@free_cancellation_date_time_zone = hash['freeCancellationDateTimeZone']
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# This class was auto-generated from the API references found at
|
|
3
3
|
# https://apireference.connect.worldline-solutions.com/
|
|
4
4
|
#
|
|
5
|
-
require 'worldline/connect/sdk/v1/domain/
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/abstract_mobile_payment_method_specific_input'
|
|
6
6
|
require 'worldline/connect/sdk/v1/domain/decrypted_payment_data'
|
|
7
7
|
require 'worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input'
|
|
8
8
|
|
|
@@ -11,50 +11,36 @@ module Worldline
|
|
|
11
11
|
module SDK
|
|
12
12
|
module V1
|
|
13
13
|
module Domain
|
|
14
|
-
# @attr [String] authorization_mode
|
|
15
|
-
# @attr [String] customer_reference
|
|
16
14
|
# @attr [Worldline::Connect::SDK::V1::Domain::DecryptedPaymentData] decrypted_payment_data
|
|
17
15
|
# @attr [String] encrypted_payment_data
|
|
16
|
+
# @attr [true/false] is_recurring
|
|
17
|
+
# @attr [String] merchant_initiated_reason_indicator
|
|
18
18
|
# @attr [Worldline::Connect::SDK::V1::Domain::MobilePaymentProduct320SpecificInput] payment_product320_specific_input
|
|
19
|
-
|
|
20
|
-
# @attr [true/false] skip_fraud_service
|
|
21
|
-
class MobilePaymentMethodSpecificInput < Worldline::Connect::SDK::V1::Domain::AbstractPaymentMethodSpecificInput
|
|
22
|
-
|
|
23
|
-
attr_accessor :authorization_mode
|
|
24
|
-
|
|
25
|
-
attr_accessor :customer_reference
|
|
19
|
+
class MobilePaymentMethodSpecificInput < Worldline::Connect::SDK::V1::Domain::AbstractMobilePaymentMethodSpecificInput
|
|
26
20
|
|
|
27
21
|
attr_accessor :decrypted_payment_data
|
|
28
22
|
|
|
29
23
|
attr_accessor :encrypted_payment_data
|
|
30
24
|
|
|
31
|
-
attr_accessor :
|
|
25
|
+
attr_accessor :is_recurring
|
|
32
26
|
|
|
33
|
-
attr_accessor :
|
|
27
|
+
attr_accessor :merchant_initiated_reason_indicator
|
|
34
28
|
|
|
35
|
-
attr_accessor :
|
|
29
|
+
attr_accessor :payment_product320_specific_input
|
|
36
30
|
|
|
37
31
|
# @return (Hash)
|
|
38
32
|
def to_h
|
|
39
33
|
hash = super
|
|
40
|
-
hash['authorizationMode'] = @authorization_mode unless @authorization_mode.nil?
|
|
41
|
-
hash['customerReference'] = @customer_reference unless @customer_reference.nil?
|
|
42
34
|
hash['decryptedPaymentData'] = @decrypted_payment_data.to_h unless @decrypted_payment_data.nil?
|
|
43
35
|
hash['encryptedPaymentData'] = @encrypted_payment_data unless @encrypted_payment_data.nil?
|
|
36
|
+
hash['isRecurring'] = @is_recurring unless @is_recurring.nil?
|
|
37
|
+
hash['merchantInitiatedReasonIndicator'] = @merchant_initiated_reason_indicator unless @merchant_initiated_reason_indicator.nil?
|
|
44
38
|
hash['paymentProduct320SpecificInput'] = @payment_product320_specific_input.to_h unless @payment_product320_specific_input.nil?
|
|
45
|
-
hash['requiresApproval'] = @requires_approval unless @requires_approval.nil?
|
|
46
|
-
hash['skipFraudService'] = @skip_fraud_service unless @skip_fraud_service.nil?
|
|
47
39
|
hash
|
|
48
40
|
end
|
|
49
41
|
|
|
50
42
|
def from_hash(hash)
|
|
51
43
|
super
|
|
52
|
-
if hash.has_key? 'authorizationMode'
|
|
53
|
-
@authorization_mode = hash['authorizationMode']
|
|
54
|
-
end
|
|
55
|
-
if hash.has_key? 'customerReference'
|
|
56
|
-
@customer_reference = hash['customerReference']
|
|
57
|
-
end
|
|
58
44
|
if hash.has_key? 'decryptedPaymentData'
|
|
59
45
|
raise TypeError, "value '%s' is not a Hash" % [hash['decryptedPaymentData']] unless hash['decryptedPaymentData'].is_a? Hash
|
|
60
46
|
@decrypted_payment_data = Worldline::Connect::SDK::V1::Domain::DecryptedPaymentData.new_from_hash(hash['decryptedPaymentData'])
|
|
@@ -62,16 +48,16 @@ module Worldline
|
|
|
62
48
|
if hash.has_key? 'encryptedPaymentData'
|
|
63
49
|
@encrypted_payment_data = hash['encryptedPaymentData']
|
|
64
50
|
end
|
|
51
|
+
if hash.has_key? 'isRecurring'
|
|
52
|
+
@is_recurring = hash['isRecurring']
|
|
53
|
+
end
|
|
54
|
+
if hash.has_key? 'merchantInitiatedReasonIndicator'
|
|
55
|
+
@merchant_initiated_reason_indicator = hash['merchantInitiatedReasonIndicator']
|
|
56
|
+
end
|
|
65
57
|
if hash.has_key? 'paymentProduct320SpecificInput'
|
|
66
58
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct320SpecificInput']] unless hash['paymentProduct320SpecificInput'].is_a? Hash
|
|
67
59
|
@payment_product320_specific_input = Worldline::Connect::SDK::V1::Domain::MobilePaymentProduct320SpecificInput.new_from_hash(hash['paymentProduct320SpecificInput'])
|
|
68
60
|
end
|
|
69
|
-
if hash.has_key? 'requiresApproval'
|
|
70
|
-
@requires_approval = hash['requiresApproval']
|
|
71
|
-
end
|
|
72
|
-
if hash.has_key? 'skipFraudService'
|
|
73
|
-
@skip_fraud_service = hash['skipFraudService']
|
|
74
|
-
end
|
|
75
61
|
end
|
|
76
62
|
end
|
|
77
63
|
end
|
data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input_hosted_checkout.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# This class was auto-generated from the API references found at
|
|
3
3
|
# https://apireference.connect.worldline-solutions.com/
|
|
4
4
|
#
|
|
5
|
-
require 'worldline/connect/sdk/v1/domain/
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/abstract_mobile_payment_method_specific_input'
|
|
6
6
|
require 'worldline/connect/sdk/v1/domain/mobile_payment_product302_specific_input_hosted_checkout'
|
|
7
7
|
require 'worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input_hosted_checkout'
|
|
8
8
|
|
|
@@ -11,46 +11,24 @@ module Worldline
|
|
|
11
11
|
module SDK
|
|
12
12
|
module V1
|
|
13
13
|
module Domain
|
|
14
|
-
# @attr [String] authorization_mode
|
|
15
|
-
# @attr [String] customer_reference
|
|
16
14
|
# @attr [Worldline::Connect::SDK::V1::Domain::MobilePaymentProduct302SpecificInputHostedCheckout] payment_product302_specific_input
|
|
17
15
|
# @attr [Worldline::Connect::SDK::V1::Domain::MobilePaymentProduct320SpecificInputHostedCheckout] payment_product320_specific_input
|
|
18
|
-
|
|
19
|
-
# @attr [true/false] skip_fraud_service
|
|
20
|
-
class MobilePaymentMethodSpecificInputHostedCheckout < Worldline::Connect::SDK::V1::Domain::AbstractPaymentMethodSpecificInput
|
|
21
|
-
|
|
22
|
-
attr_accessor :authorization_mode
|
|
23
|
-
|
|
24
|
-
attr_accessor :customer_reference
|
|
16
|
+
class MobilePaymentMethodSpecificInputHostedCheckout < Worldline::Connect::SDK::V1::Domain::AbstractMobilePaymentMethodSpecificInput
|
|
25
17
|
|
|
26
18
|
attr_accessor :payment_product302_specific_input
|
|
27
19
|
|
|
28
20
|
attr_accessor :payment_product320_specific_input
|
|
29
21
|
|
|
30
|
-
attr_accessor :requires_approval
|
|
31
|
-
|
|
32
|
-
attr_accessor :skip_fraud_service
|
|
33
|
-
|
|
34
22
|
# @return (Hash)
|
|
35
23
|
def to_h
|
|
36
24
|
hash = super
|
|
37
|
-
hash['authorizationMode'] = @authorization_mode unless @authorization_mode.nil?
|
|
38
|
-
hash['customerReference'] = @customer_reference unless @customer_reference.nil?
|
|
39
25
|
hash['paymentProduct302SpecificInput'] = @payment_product302_specific_input.to_h unless @payment_product302_specific_input.nil?
|
|
40
26
|
hash['paymentProduct320SpecificInput'] = @payment_product320_specific_input.to_h unless @payment_product320_specific_input.nil?
|
|
41
|
-
hash['requiresApproval'] = @requires_approval unless @requires_approval.nil?
|
|
42
|
-
hash['skipFraudService'] = @skip_fraud_service unless @skip_fraud_service.nil?
|
|
43
27
|
hash
|
|
44
28
|
end
|
|
45
29
|
|
|
46
30
|
def from_hash(hash)
|
|
47
31
|
super
|
|
48
|
-
if hash.has_key? 'authorizationMode'
|
|
49
|
-
@authorization_mode = hash['authorizationMode']
|
|
50
|
-
end
|
|
51
|
-
if hash.has_key? 'customerReference'
|
|
52
|
-
@customer_reference = hash['customerReference']
|
|
53
|
-
end
|
|
54
32
|
if hash.has_key? 'paymentProduct302SpecificInput'
|
|
55
33
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct302SpecificInput']] unless hash['paymentProduct302SpecificInput'].is_a? Hash
|
|
56
34
|
@payment_product302_specific_input = Worldline::Connect::SDK::V1::Domain::MobilePaymentProduct302SpecificInputHostedCheckout.new_from_hash(hash['paymentProduct302SpecificInput'])
|
|
@@ -59,12 +37,6 @@ module Worldline
|
|
|
59
37
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct320SpecificInput']] unless hash['paymentProduct320SpecificInput'].is_a? Hash
|
|
60
38
|
@payment_product320_specific_input = Worldline::Connect::SDK::V1::Domain::MobilePaymentProduct320SpecificInputHostedCheckout.new_from_hash(hash['paymentProduct320SpecificInput'])
|
|
61
39
|
end
|
|
62
|
-
if hash.has_key? 'requiresApproval'
|
|
63
|
-
@requires_approval = hash['requiresApproval']
|
|
64
|
-
end
|
|
65
|
-
if hash.has_key? 'skipFraudService'
|
|
66
|
-
@skip_fraud_service = hash['skipFraudService']
|
|
67
|
-
end
|
|
68
40
|
end
|
|
69
41
|
end
|
|
70
42
|
end
|
|
@@ -14,29 +14,41 @@ module Worldline
|
|
|
14
14
|
module Domain
|
|
15
15
|
# @attr [String] authorisation_code
|
|
16
16
|
# @attr [Worldline::Connect::SDK::V1::Domain::CardFraudResults] fraud_results
|
|
17
|
+
# @attr [String] initial_scheme_transaction_id
|
|
17
18
|
# @attr [String] network
|
|
18
19
|
# @attr [Worldline::Connect::SDK::V1::Domain::MobilePaymentData] payment_data
|
|
20
|
+
# @attr [String] scheme_transaction_id
|
|
19
21
|
# @attr [Worldline::Connect::SDK::V1::Domain::ThreeDSecureResults] three_d_secure_results
|
|
22
|
+
# @attr [String] token
|
|
20
23
|
class MobilePaymentMethodSpecificOutput < Worldline::Connect::SDK::V1::Domain::AbstractPaymentMethodSpecificOutput
|
|
21
24
|
|
|
22
25
|
attr_accessor :authorisation_code
|
|
23
26
|
|
|
24
27
|
attr_accessor :fraud_results
|
|
25
28
|
|
|
29
|
+
attr_accessor :initial_scheme_transaction_id
|
|
30
|
+
|
|
26
31
|
attr_accessor :network
|
|
27
32
|
|
|
28
33
|
attr_accessor :payment_data
|
|
29
34
|
|
|
35
|
+
attr_accessor :scheme_transaction_id
|
|
36
|
+
|
|
30
37
|
attr_accessor :three_d_secure_results
|
|
31
38
|
|
|
39
|
+
attr_accessor :token
|
|
40
|
+
|
|
32
41
|
# @return (Hash)
|
|
33
42
|
def to_h
|
|
34
43
|
hash = super
|
|
35
44
|
hash['authorisationCode'] = @authorisation_code unless @authorisation_code.nil?
|
|
36
45
|
hash['fraudResults'] = @fraud_results.to_h unless @fraud_results.nil?
|
|
46
|
+
hash['initialSchemeTransactionId'] = @initial_scheme_transaction_id unless @initial_scheme_transaction_id.nil?
|
|
37
47
|
hash['network'] = @network unless @network.nil?
|
|
38
48
|
hash['paymentData'] = @payment_data.to_h unless @payment_data.nil?
|
|
49
|
+
hash['schemeTransactionId'] = @scheme_transaction_id unless @scheme_transaction_id.nil?
|
|
39
50
|
hash['threeDSecureResults'] = @three_d_secure_results.to_h unless @three_d_secure_results.nil?
|
|
51
|
+
hash['token'] = @token unless @token.nil?
|
|
40
52
|
hash
|
|
41
53
|
end
|
|
42
54
|
|
|
@@ -49,6 +61,9 @@ module Worldline
|
|
|
49
61
|
raise TypeError, "value '%s' is not a Hash" % [hash['fraudResults']] unless hash['fraudResults'].is_a? Hash
|
|
50
62
|
@fraud_results = Worldline::Connect::SDK::V1::Domain::CardFraudResults.new_from_hash(hash['fraudResults'])
|
|
51
63
|
end
|
|
64
|
+
if hash.has_key? 'initialSchemeTransactionId'
|
|
65
|
+
@initial_scheme_transaction_id = hash['initialSchemeTransactionId']
|
|
66
|
+
end
|
|
52
67
|
if hash.has_key? 'network'
|
|
53
68
|
@network = hash['network']
|
|
54
69
|
end
|
|
@@ -56,10 +71,16 @@ module Worldline
|
|
|
56
71
|
raise TypeError, "value '%s' is not a Hash" % [hash['paymentData']] unless hash['paymentData'].is_a? Hash
|
|
57
72
|
@payment_data = Worldline::Connect::SDK::V1::Domain::MobilePaymentData.new_from_hash(hash['paymentData'])
|
|
58
73
|
end
|
|
74
|
+
if hash.has_key? 'schemeTransactionId'
|
|
75
|
+
@scheme_transaction_id = hash['schemeTransactionId']
|
|
76
|
+
end
|
|
59
77
|
if hash.has_key? 'threeDSecureResults'
|
|
60
78
|
raise TypeError, "value '%s' is not a Hash" % [hash['threeDSecureResults']] unless hash['threeDSecureResults'].is_a? Hash
|
|
61
79
|
@three_d_secure_results = Worldline::Connect::SDK::V1::Domain::ThreeDSecureResults.new_from_hash(hash['threeDSecureResults'])
|
|
62
80
|
end
|
|
81
|
+
if hash.has_key? 'token'
|
|
82
|
+
@token = hash['token']
|
|
83
|
+
end
|
|
63
84
|
end
|
|
64
85
|
end
|
|
65
86
|
end
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
require 'worldline/connect/sdk/domain/data_object'
|
|
6
6
|
require 'worldline/connect/sdk/v1/domain/account_on_file'
|
|
7
7
|
require 'worldline/connect/sdk/v1/domain/authentication_indicator'
|
|
8
|
+
require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration'
|
|
8
9
|
require 'worldline/connect/sdk/v1/domain/payment_product302_specific_data'
|
|
9
10
|
require 'worldline/connect/sdk/v1/domain/payment_product320_specific_data'
|
|
10
11
|
require 'worldline/connect/sdk/v1/domain/payment_product863_specific_data'
|
|
@@ -18,12 +19,14 @@ module Worldline
|
|
|
18
19
|
module Domain
|
|
19
20
|
# @attr [Array<Worldline::Connect::SDK::V1::Domain::AccountOnFile>] accounts_on_file
|
|
20
21
|
# @attr [String] acquirer_country
|
|
22
|
+
# @attr [true/false] allows_click_to_pay
|
|
21
23
|
# @attr [true/false] allows_installments
|
|
22
24
|
# @attr [true/false] allows_recurring
|
|
23
25
|
# @attr [true/false] allows_tokenization
|
|
24
26
|
# @attr [Worldline::Connect::SDK::V1::Domain::AuthenticationIndicator] authentication_indicator
|
|
25
27
|
# @attr [true/false] auto_tokenized
|
|
26
28
|
# @attr [true/false] can_be_iframed
|
|
29
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration] click_to_pay_configuration
|
|
27
30
|
# @attr [true/false] device_fingerprint_enabled
|
|
28
31
|
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentProductDisplayHints] display_hints
|
|
29
32
|
# @attr [Array<Worldline::Connect::SDK::V1::Domain::PaymentProductField>] fields
|
|
@@ -47,6 +50,8 @@ module Worldline
|
|
|
47
50
|
|
|
48
51
|
attr_accessor :acquirer_country
|
|
49
52
|
|
|
53
|
+
attr_accessor :allows_click_to_pay
|
|
54
|
+
|
|
50
55
|
attr_accessor :allows_installments
|
|
51
56
|
|
|
52
57
|
attr_accessor :allows_recurring
|
|
@@ -59,6 +64,8 @@ module Worldline
|
|
|
59
64
|
|
|
60
65
|
attr_accessor :can_be_iframed
|
|
61
66
|
|
|
67
|
+
attr_accessor :click_to_pay_configuration
|
|
68
|
+
|
|
62
69
|
attr_accessor :device_fingerprint_enabled
|
|
63
70
|
|
|
64
71
|
attr_accessor :display_hints
|
|
@@ -98,12 +105,14 @@ module Worldline
|
|
|
98
105
|
hash = super
|
|
99
106
|
hash['accountsOnFile'] = @accounts_on_file.collect{|val| val.to_h} unless @accounts_on_file.nil?
|
|
100
107
|
hash['acquirerCountry'] = @acquirer_country unless @acquirer_country.nil?
|
|
108
|
+
hash['allowsClickToPay'] = @allows_click_to_pay unless @allows_click_to_pay.nil?
|
|
101
109
|
hash['allowsInstallments'] = @allows_installments unless @allows_installments.nil?
|
|
102
110
|
hash['allowsRecurring'] = @allows_recurring unless @allows_recurring.nil?
|
|
103
111
|
hash['allowsTokenization'] = @allows_tokenization unless @allows_tokenization.nil?
|
|
104
112
|
hash['authenticationIndicator'] = @authentication_indicator.to_h unless @authentication_indicator.nil?
|
|
105
113
|
hash['autoTokenized'] = @auto_tokenized unless @auto_tokenized.nil?
|
|
106
114
|
hash['canBeIframed'] = @can_be_iframed unless @can_be_iframed.nil?
|
|
115
|
+
hash['clickToPayConfiguration'] = @click_to_pay_configuration.to_h unless @click_to_pay_configuration.nil?
|
|
107
116
|
hash['deviceFingerprintEnabled'] = @device_fingerprint_enabled unless @device_fingerprint_enabled.nil?
|
|
108
117
|
hash['displayHints'] = @display_hints.to_h unless @display_hints.nil?
|
|
109
118
|
hash['fields'] = @fields.collect{|val| val.to_h} unless @fields.nil?
|
|
@@ -136,6 +145,9 @@ module Worldline
|
|
|
136
145
|
if hash.has_key? 'acquirerCountry'
|
|
137
146
|
@acquirer_country = hash['acquirerCountry']
|
|
138
147
|
end
|
|
148
|
+
if hash.has_key? 'allowsClickToPay'
|
|
149
|
+
@allows_click_to_pay = hash['allowsClickToPay']
|
|
150
|
+
end
|
|
139
151
|
if hash.has_key? 'allowsInstallments'
|
|
140
152
|
@allows_installments = hash['allowsInstallments']
|
|
141
153
|
end
|
|
@@ -155,6 +167,10 @@ module Worldline
|
|
|
155
167
|
if hash.has_key? 'canBeIframed'
|
|
156
168
|
@can_be_iframed = hash['canBeIframed']
|
|
157
169
|
end
|
|
170
|
+
if hash.has_key? 'clickToPayConfiguration'
|
|
171
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['clickToPayConfiguration']] unless hash['clickToPayConfiguration'].is_a? Hash
|
|
172
|
+
@click_to_pay_configuration = Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration.new_from_hash(hash['clickToPayConfiguration'])
|
|
173
|
+
end
|
|
158
174
|
if hash.has_key? 'deviceFingerprintEnabled'
|
|
159
175
|
@device_fingerprint_enabled = hash['deviceFingerprintEnabled']
|
|
160
176
|
end
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
|
6
|
+
require 'worldline/connect/sdk/v1/domain/automatic_reload_billing_details'
|
|
7
|
+
require 'worldline/connect/sdk/v1/domain/deferred_billing_details'
|
|
8
|
+
require 'worldline/connect/sdk/v1/domain/recurring_billing_details'
|
|
9
|
+
|
|
10
|
+
module Worldline
|
|
11
|
+
module Connect
|
|
12
|
+
module SDK
|
|
13
|
+
module V1
|
|
14
|
+
module Domain
|
|
15
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::AutomaticReloadBillingDetails] automatic_reload_billing
|
|
16
|
+
# @attr [String] billing_agreement
|
|
17
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::DeferredBillingDetails] deferred_billing
|
|
18
|
+
# @attr [String] management_url
|
|
19
|
+
# @attr [String] payment_description
|
|
20
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::RecurringBillingDetails] regular_billing
|
|
21
|
+
# @attr [String] token_notification_url
|
|
22
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::RecurringBillingDetails] trial_billing
|
|
23
|
+
class PaymentProduct302SpecificInput < Worldline::Connect::SDK::Domain::DataObject
|
|
24
|
+
|
|
25
|
+
attr_accessor :automatic_reload_billing
|
|
26
|
+
|
|
27
|
+
attr_accessor :billing_agreement
|
|
28
|
+
|
|
29
|
+
attr_accessor :deferred_billing
|
|
30
|
+
|
|
31
|
+
attr_accessor :management_url
|
|
32
|
+
|
|
33
|
+
attr_accessor :payment_description
|
|
34
|
+
|
|
35
|
+
attr_accessor :regular_billing
|
|
36
|
+
|
|
37
|
+
attr_accessor :token_notification_url
|
|
38
|
+
|
|
39
|
+
attr_accessor :trial_billing
|
|
40
|
+
|
|
41
|
+
# @return (Hash)
|
|
42
|
+
def to_h
|
|
43
|
+
hash = super
|
|
44
|
+
hash['automaticReloadBilling'] = @automatic_reload_billing.to_h unless @automatic_reload_billing.nil?
|
|
45
|
+
hash['billingAgreement'] = @billing_agreement unless @billing_agreement.nil?
|
|
46
|
+
hash['deferredBilling'] = @deferred_billing.to_h unless @deferred_billing.nil?
|
|
47
|
+
hash['managementUrl'] = @management_url unless @management_url.nil?
|
|
48
|
+
hash['paymentDescription'] = @payment_description unless @payment_description.nil?
|
|
49
|
+
hash['regularBilling'] = @regular_billing.to_h unless @regular_billing.nil?
|
|
50
|
+
hash['tokenNotificationUrl'] = @token_notification_url unless @token_notification_url.nil?
|
|
51
|
+
hash['trialBilling'] = @trial_billing.to_h unless @trial_billing.nil?
|
|
52
|
+
hash
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def from_hash(hash)
|
|
56
|
+
super
|
|
57
|
+
if hash.has_key? 'automaticReloadBilling'
|
|
58
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['automaticReloadBilling']] unless hash['automaticReloadBilling'].is_a? Hash
|
|
59
|
+
@automatic_reload_billing = Worldline::Connect::SDK::V1::Domain::AutomaticReloadBillingDetails.new_from_hash(hash['automaticReloadBilling'])
|
|
60
|
+
end
|
|
61
|
+
if hash.has_key? 'billingAgreement'
|
|
62
|
+
@billing_agreement = hash['billingAgreement']
|
|
63
|
+
end
|
|
64
|
+
if hash.has_key? 'deferredBilling'
|
|
65
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['deferredBilling']] unless hash['deferredBilling'].is_a? Hash
|
|
66
|
+
@deferred_billing = Worldline::Connect::SDK::V1::Domain::DeferredBillingDetails.new_from_hash(hash['deferredBilling'])
|
|
67
|
+
end
|
|
68
|
+
if hash.has_key? 'managementUrl'
|
|
69
|
+
@management_url = hash['managementUrl']
|
|
70
|
+
end
|
|
71
|
+
if hash.has_key? 'paymentDescription'
|
|
72
|
+
@payment_description = hash['paymentDescription']
|
|
73
|
+
end
|
|
74
|
+
if hash.has_key? 'regularBilling'
|
|
75
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['regularBilling']] unless hash['regularBilling'].is_a? Hash
|
|
76
|
+
@regular_billing = Worldline::Connect::SDK::V1::Domain::RecurringBillingDetails.new_from_hash(hash['regularBilling'])
|
|
77
|
+
end
|
|
78
|
+
if hash.has_key? 'tokenNotificationUrl'
|
|
79
|
+
@token_notification_url = hash['tokenNotificationUrl']
|
|
80
|
+
end
|
|
81
|
+
if hash.has_key? 'trialBilling'
|
|
82
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['trialBilling']] unless hash['trialBilling'].is_a? Hash
|
|
83
|
+
@trial_billing = Worldline::Connect::SDK::V1::Domain::RecurringBillingDetails.new_from_hash(hash['trialBilling'])
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
require 'worldline/connect/sdk/domain/data_object'
|
|
6
6
|
require 'worldline/connect/sdk/v1/domain/account_on_file'
|
|
7
|
+
require 'worldline/connect/sdk/v1/domain/click_to_pay_configuration'
|
|
7
8
|
require 'worldline/connect/sdk/v1/domain/payment_product_display_hints'
|
|
8
9
|
require 'worldline/connect/sdk/v1/domain/payment_product_field'
|
|
9
10
|
|
|
@@ -13,7 +14,9 @@ module Worldline
|
|
|
13
14
|
module V1
|
|
14
15
|
module Domain
|
|
15
16
|
# @attr [Array<Worldline::Connect::SDK::V1::Domain::AccountOnFile>] accounts_on_file
|
|
17
|
+
# @attr [true/false] allows_click_to_pay
|
|
16
18
|
# @attr [true/false] allows_installments
|
|
19
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration] click_to_pay_configuration
|
|
17
20
|
# @attr [true/false] device_fingerprint_enabled
|
|
18
21
|
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentProductDisplayHints] display_hints
|
|
19
22
|
# @attr [Array<Worldline::Connect::SDK::V1::Domain::PaymentProductField>] fields
|
|
@@ -22,8 +25,12 @@ module Worldline
|
|
|
22
25
|
|
|
23
26
|
attr_accessor :accounts_on_file
|
|
24
27
|
|
|
28
|
+
attr_accessor :allows_click_to_pay
|
|
29
|
+
|
|
25
30
|
attr_accessor :allows_installments
|
|
26
31
|
|
|
32
|
+
attr_accessor :click_to_pay_configuration
|
|
33
|
+
|
|
27
34
|
attr_accessor :device_fingerprint_enabled
|
|
28
35
|
|
|
29
36
|
attr_accessor :display_hints
|
|
@@ -36,7 +43,9 @@ module Worldline
|
|
|
36
43
|
def to_h
|
|
37
44
|
hash = super
|
|
38
45
|
hash['accountsOnFile'] = @accounts_on_file.collect{|val| val.to_h} unless @accounts_on_file.nil?
|
|
46
|
+
hash['allowsClickToPay'] = @allows_click_to_pay unless @allows_click_to_pay.nil?
|
|
39
47
|
hash['allowsInstallments'] = @allows_installments unless @allows_installments.nil?
|
|
48
|
+
hash['clickToPayConfiguration'] = @click_to_pay_configuration.to_h unless @click_to_pay_configuration.nil?
|
|
40
49
|
hash['deviceFingerprintEnabled'] = @device_fingerprint_enabled unless @device_fingerprint_enabled.nil?
|
|
41
50
|
hash['displayHints'] = @display_hints.to_h unless @display_hints.nil?
|
|
42
51
|
hash['fields'] = @fields.collect{|val| val.to_h} unless @fields.nil?
|
|
@@ -53,9 +62,16 @@ module Worldline
|
|
|
53
62
|
@accounts_on_file << Worldline::Connect::SDK::V1::Domain::AccountOnFile.new_from_hash(e)
|
|
54
63
|
end
|
|
55
64
|
end
|
|
65
|
+
if hash.has_key? 'allowsClickToPay'
|
|
66
|
+
@allows_click_to_pay = hash['allowsClickToPay']
|
|
67
|
+
end
|
|
56
68
|
if hash.has_key? 'allowsInstallments'
|
|
57
69
|
@allows_installments = hash['allowsInstallments']
|
|
58
70
|
end
|
|
71
|
+
if hash.has_key? 'clickToPayConfiguration'
|
|
72
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['clickToPayConfiguration']] unless hash['clickToPayConfiguration'].is_a? Hash
|
|
73
|
+
@click_to_pay_configuration = Worldline::Connect::SDK::V1::Domain::ClickToPayConfiguration.new_from_hash(hash['clickToPayConfiguration'])
|
|
74
|
+
end
|
|
59
75
|
if hash.has_key? 'deviceFingerprintEnabled'
|
|
60
76
|
@device_fingerprint_enabled = hash['deviceFingerprintEnabled']
|
|
61
77
|
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This class was auto-generated from the API references found at
|
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
|
4
|
+
#
|
|
5
|
+
require 'worldline/connect/sdk/v1/domain/base_billing_details'
|
|
6
|
+
|
|
7
|
+
module Worldline
|
|
8
|
+
module Connect
|
|
9
|
+
module SDK
|
|
10
|
+
module V1
|
|
11
|
+
module Domain
|
|
12
|
+
class RecurringBillingDetails < Worldline::Connect::SDK::V1::Domain::BaseBillingDetails
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
require 'worldline/connect/sdk/domain/data_object'
|
|
6
6
|
require 'worldline/connect/sdk/v1/domain/frequency'
|
|
7
|
+
require 'worldline/connect/sdk/v1/domain/payment_product302_specific_input'
|
|
7
8
|
require 'worldline/connect/sdk/v1/domain/trial_information'
|
|
8
9
|
|
|
9
10
|
module Worldline
|
|
@@ -11,28 +12,50 @@ module Worldline
|
|
|
11
12
|
module SDK
|
|
12
13
|
module V1
|
|
13
14
|
module Domain
|
|
15
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentProduct302SpecificInput] payment_product302_specific_input
|
|
16
|
+
# @attr [String] recurring_end_date
|
|
14
17
|
# @attr [Worldline::Connect::SDK::V1::Domain::Frequency] recurring_interval
|
|
18
|
+
# @attr [String] recurring_start_date
|
|
15
19
|
# @attr [Worldline::Connect::SDK::V1::Domain::TrialInformation] trial_information
|
|
16
20
|
class RecurringPaymentsData < Worldline::Connect::SDK::Domain::DataObject
|
|
17
21
|
|
|
22
|
+
attr_accessor :payment_product302_specific_input
|
|
23
|
+
|
|
24
|
+
attr_accessor :recurring_end_date
|
|
25
|
+
|
|
18
26
|
attr_accessor :recurring_interval
|
|
19
27
|
|
|
28
|
+
attr_accessor :recurring_start_date
|
|
29
|
+
|
|
20
30
|
attr_accessor :trial_information
|
|
21
31
|
|
|
22
32
|
# @return (Hash)
|
|
23
33
|
def to_h
|
|
24
34
|
hash = super
|
|
35
|
+
hash['paymentProduct302SpecificInput'] = @payment_product302_specific_input.to_h unless @payment_product302_specific_input.nil?
|
|
36
|
+
hash['recurringEndDate'] = @recurring_end_date unless @recurring_end_date.nil?
|
|
25
37
|
hash['recurringInterval'] = @recurring_interval.to_h unless @recurring_interval.nil?
|
|
38
|
+
hash['recurringStartDate'] = @recurring_start_date unless @recurring_start_date.nil?
|
|
26
39
|
hash['trialInformation'] = @trial_information.to_h unless @trial_information.nil?
|
|
27
40
|
hash
|
|
28
41
|
end
|
|
29
42
|
|
|
30
43
|
def from_hash(hash)
|
|
31
44
|
super
|
|
45
|
+
if hash.has_key? 'paymentProduct302SpecificInput'
|
|
46
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct302SpecificInput']] unless hash['paymentProduct302SpecificInput'].is_a? Hash
|
|
47
|
+
@payment_product302_specific_input = Worldline::Connect::SDK::V1::Domain::PaymentProduct302SpecificInput.new_from_hash(hash['paymentProduct302SpecificInput'])
|
|
48
|
+
end
|
|
49
|
+
if hash.has_key? 'recurringEndDate'
|
|
50
|
+
@recurring_end_date = hash['recurringEndDate']
|
|
51
|
+
end
|
|
32
52
|
if hash.has_key? 'recurringInterval'
|
|
33
53
|
raise TypeError, "value '%s' is not a Hash" % [hash['recurringInterval']] unless hash['recurringInterval'].is_a? Hash
|
|
34
54
|
@recurring_interval = Worldline::Connect::SDK::V1::Domain::Frequency.new_from_hash(hash['recurringInterval'])
|
|
35
55
|
end
|
|
56
|
+
if hash.has_key? 'recurringStartDate'
|
|
57
|
+
@recurring_start_date = hash['recurringStartDate']
|
|
58
|
+
end
|
|
36
59
|
if hash.has_key? 'trialInformation'
|
|
37
60
|
raise TypeError, "value '%s' is not a Hash" % [hash['trialInformation']] unless hash['trialInformation'].is_a? Hash
|
|
38
61
|
@trial_information = Worldline::Connect::SDK::V1::Domain::TrialInformation.new_from_hash(hash['trialInformation'])
|
|
@@ -15,6 +15,7 @@ module Worldline
|
|
|
15
15
|
# @attr [Worldline::Connect::SDK::V1::Domain::AmountOfMoney] amount_of_money_after_trial
|
|
16
16
|
# @attr [String] end_date
|
|
17
17
|
# @attr [true/false] is_recurring
|
|
18
|
+
# @attr [String] start_date
|
|
18
19
|
# @attr [Worldline::Connect::SDK::V1::Domain::TrialPeriod] trial_period
|
|
19
20
|
# @attr [Worldline::Connect::SDK::V1::Domain::Frequency] trial_period_recurring
|
|
20
21
|
class TrialInformation < Worldline::Connect::SDK::Domain::DataObject
|
|
@@ -25,6 +26,8 @@ module Worldline
|
|
|
25
26
|
|
|
26
27
|
attr_accessor :is_recurring
|
|
27
28
|
|
|
29
|
+
attr_accessor :start_date
|
|
30
|
+
|
|
28
31
|
attr_accessor :trial_period
|
|
29
32
|
|
|
30
33
|
attr_accessor :trial_period_recurring
|
|
@@ -35,6 +38,7 @@ module Worldline
|
|
|
35
38
|
hash['amountOfMoneyAfterTrial'] = @amount_of_money_after_trial.to_h unless @amount_of_money_after_trial.nil?
|
|
36
39
|
hash['endDate'] = @end_date unless @end_date.nil?
|
|
37
40
|
hash['isRecurring'] = @is_recurring unless @is_recurring.nil?
|
|
41
|
+
hash['startDate'] = @start_date unless @start_date.nil?
|
|
38
42
|
hash['trialPeriod'] = @trial_period.to_h unless @trial_period.nil?
|
|
39
43
|
hash['trialPeriodRecurring'] = @trial_period_recurring.to_h unless @trial_period_recurring.nil?
|
|
40
44
|
hash
|
|
@@ -52,6 +56,9 @@ module Worldline
|
|
|
52
56
|
if hash.has_key? 'isRecurring'
|
|
53
57
|
@is_recurring = hash['isRecurring']
|
|
54
58
|
end
|
|
59
|
+
if hash.has_key? 'startDate'
|
|
60
|
+
@start_date = hash['startDate']
|
|
61
|
+
end
|
|
55
62
|
if hash.has_key? 'trialPeriod'
|
|
56
63
|
raise TypeError, "value '%s' is not a Hash" % [hash['trialPeriod']] unless hash['trialPeriod'].is_a? Hash
|
|
57
64
|
@trial_period = Worldline::Connect::SDK::V1::Domain::TrialPeriod.new_from_hash(hash['trialPeriod'])
|
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: 4.
|
|
4
|
+
version: 4.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Worldline Global Collect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httpclient
|
|
@@ -274,6 +274,7 @@ files:
|
|
|
274
274
|
- lib/worldline/connect/sdk/v1/domain/abstract_cash_payment_method_specific_input.rb
|
|
275
275
|
- lib/worldline/connect/sdk/v1/domain/abstract_e_invoice_payment_method_specific_input.rb
|
|
276
276
|
- lib/worldline/connect/sdk/v1/domain/abstract_indicator.rb
|
|
277
|
+
- lib/worldline/connect/sdk/v1/domain/abstract_mobile_payment_method_specific_input.rb
|
|
277
278
|
- lib/worldline/connect/sdk/v1/domain/abstract_order_status.rb
|
|
278
279
|
- lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_input.rb
|
|
279
280
|
- lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_output.rb
|
|
@@ -312,6 +313,7 @@ files:
|
|
|
312
313
|
- lib/worldline/connect/sdk/v1/domain/approve_refund_request.rb
|
|
313
314
|
- lib/worldline/connect/sdk/v1/domain/approve_token_request.rb
|
|
314
315
|
- lib/worldline/connect/sdk/v1/domain/authentication_indicator.rb
|
|
316
|
+
- lib/worldline/connect/sdk/v1/domain/automatic_reload_billing_details.rb
|
|
315
317
|
- lib/worldline/connect/sdk/v1/domain/bank_account.rb
|
|
316
318
|
- lib/worldline/connect/sdk/v1/domain/bank_account_bban.rb
|
|
317
319
|
- lib/worldline/connect/sdk/v1/domain/bank_account_bban_refund.rb
|
|
@@ -325,6 +327,7 @@ files:
|
|
|
325
327
|
- lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input_base.rb
|
|
326
328
|
- lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_output.rb
|
|
327
329
|
- lib/worldline/connect/sdk/v1/domain/bank_transfer_payout_method_specific_input.rb
|
|
330
|
+
- lib/worldline/connect/sdk/v1/domain/base_billing_details.rb
|
|
328
331
|
- lib/worldline/connect/sdk/v1/domain/boleto_bancario_requiredness_validator.rb
|
|
329
332
|
- lib/worldline/connect/sdk/v1/domain/browser_data.rb
|
|
330
333
|
- lib/worldline/connect/sdk/v1/domain/cancel_approval_payment_response.rb
|
|
@@ -354,12 +357,18 @@ files:
|
|
|
354
357
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_output.rb
|
|
355
358
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input.rb
|
|
356
359
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input.rb
|
|
360
|
+
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1506_specific_input.rb
|
|
361
|
+
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1508_specific_input.rb
|
|
357
362
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input.rb
|
|
358
363
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input.rb
|
|
359
364
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input.rb
|
|
360
365
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1524_specific_input.rb
|
|
361
366
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product1526_specific_input.rb
|
|
362
367
|
- lib/worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base.rb
|
|
368
|
+
- lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration.rb
|
|
369
|
+
- lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration_mastercard.rb
|
|
370
|
+
- lib/worldline/connect/sdk/v1/domain/click_to_pay_configuration_visa.rb
|
|
371
|
+
- lib/worldline/connect/sdk/v1/domain/click_to_pay_scheme_configuration_base.rb
|
|
363
372
|
- lib/worldline/connect/sdk/v1/domain/company_information.rb
|
|
364
373
|
- lib/worldline/connect/sdk/v1/domain/complete_payment_card_payment_method_specific_input.rb
|
|
365
374
|
- lib/worldline/connect/sdk/v1/domain/complete_payment_request.rb
|
|
@@ -403,6 +412,7 @@ files:
|
|
|
403
412
|
- lib/worldline/connect/sdk/v1/domain/cybersource_decision_manager.rb
|
|
404
413
|
- lib/worldline/connect/sdk/v1/domain/debtor.rb
|
|
405
414
|
- lib/worldline/connect/sdk/v1/domain/decrypted_payment_data.rb
|
|
415
|
+
- lib/worldline/connect/sdk/v1/domain/deferred_billing_details.rb
|
|
406
416
|
- lib/worldline/connect/sdk/v1/domain/device_fingerprint_details.rb
|
|
407
417
|
- lib/worldline/connect/sdk/v1/domain/device_fingerprint_request.rb
|
|
408
418
|
- lib/worldline/connect/sdk/v1/domain/device_fingerprint_response.rb
|
|
@@ -524,6 +534,7 @@ files:
|
|
|
524
534
|
- lib/worldline/connect/sdk/v1/domain/payment_output.rb
|
|
525
535
|
- lib/worldline/connect/sdk/v1/domain/payment_product.rb
|
|
526
536
|
- lib/worldline/connect/sdk/v1/domain/payment_product302_specific_data.rb
|
|
537
|
+
- lib/worldline/connect/sdk/v1/domain/payment_product302_specific_input.rb
|
|
527
538
|
- lib/worldline/connect/sdk/v1/domain/payment_product3201_specific_output.rb
|
|
528
539
|
- lib/worldline/connect/sdk/v1/domain/payment_product320_specific_data.rb
|
|
529
540
|
- lib/worldline/connect/sdk/v1/domain/payment_product771_specific_output.rb
|
|
@@ -571,6 +582,7 @@ files:
|
|
|
571
582
|
- lib/worldline/connect/sdk/v1/domain/personal_name_token.rb
|
|
572
583
|
- lib/worldline/connect/sdk/v1/domain/protection_eligibility.rb
|
|
573
584
|
- lib/worldline/connect/sdk/v1/domain/range_validator.rb
|
|
585
|
+
- lib/worldline/connect/sdk/v1/domain/recurring_billing_details.rb
|
|
574
586
|
- lib/worldline/connect/sdk/v1/domain/recurring_payments_data.rb
|
|
575
587
|
- lib/worldline/connect/sdk/v1/domain/redirect_data.rb
|
|
576
588
|
- lib/worldline/connect/sdk/v1/domain/redirect_data_base.rb
|