onlinepayments-sdk-ruby 4.22.0 → 4.23.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/lib/onlinepayments/sdk/domain/address_personal.rb +4 -0
- data/lib/onlinepayments/sdk/domain/card_essentials.rb +0 -4
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input.rb +8 -16
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_input_base.rb +8 -8
- data/lib/onlinepayments/sdk/domain/card_payment_method_specific_output.rb +0 -8
- data/lib/onlinepayments/sdk/domain/create_hosted_checkout_request.rb +0 -8
- data/lib/onlinepayments/sdk/domain/create_hosted_tokenization_request.rb +0 -8
- data/lib/onlinepayments/sdk/domain/create_payment_request.rb +0 -12
- data/lib/onlinepayments/sdk/domain/mandate_address_response.rb +42 -0
- data/lib/onlinepayments/sdk/domain/mandate_customer_response.rb +58 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_information_response.rb +34 -0
- data/lib/onlinepayments/sdk/domain/mandate_personal_name_response.rb +30 -0
- data/lib/onlinepayments/sdk/domain/mandate_response.rb +7 -3
- data/lib/onlinepayments/sdk/domain/mobile_payment_method_specific_output.rb +0 -8
- data/lib/onlinepayments/sdk/domain/multiple_payment_information.rb +30 -0
- data/lib/onlinepayments/sdk/domain/payment_product3203_specific_output.rb +37 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_method_specific_input.rb +8 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_method_specific_output.rb +8 -0
- data/lib/onlinepayments/sdk/domain/redirect_payment_product3203_specific_input.rb +26 -0
- data/lib/onlinepayments/sdk/domain/show_form_data.rb +0 -8
- data/lib/onlinepayments/sdk/domain/subsequent_card_payment_method_specific_input.rb +4 -0
- data/lib/onlinepayments/sdk/domain/three_d_secure.rb +0 -24
- data/lib/onlinepayments/sdk/domain/three_d_secure_base.rb +4 -24
- data/onlinepayments-sdk-ruby.gemspec +1 -1
- metadata +9 -8
- data/lib/onlinepayments/sdk/domain/network_token_essentials.rb +0 -38
- data/lib/onlinepayments/sdk/domain/page_customization.rb +0 -26
- data/lib/onlinepayments/sdk/domain/payment_product3012_specific_input.rb +0 -38
- data/lib/onlinepayments/sdk/domain/payment_product5002_specific_input.rb +0 -34
- data/lib/onlinepayments/sdk/domain/payment_product840.rb +0 -26
- data/lib/onlinepayments/sdk/domain/three_ds_whitelist.rb +0 -30
@@ -1,38 +0,0 @@
|
|
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 [true/false] force_authentication
|
10
|
-
# @attr [true/false] is_deferred_payment
|
11
|
-
# @attr [true/false] is_wip_transaction
|
12
|
-
# @attr [String] wip_merchant_authentication_method
|
13
|
-
class PaymentProduct3012SpecificInput < OnlinePayments::SDK::DataObject
|
14
|
-
attr_accessor :force_authentication
|
15
|
-
attr_accessor :is_deferred_payment
|
16
|
-
attr_accessor :is_wip_transaction
|
17
|
-
attr_accessor :wip_merchant_authentication_method
|
18
|
-
|
19
|
-
# @return (Hash)
|
20
|
-
def to_h
|
21
|
-
hash = super
|
22
|
-
hash['forceAuthentication'] = @force_authentication unless @force_authentication.nil?
|
23
|
-
hash['isDeferredPayment'] = @is_deferred_payment unless @is_deferred_payment.nil?
|
24
|
-
hash['isWipTransaction'] = @is_wip_transaction unless @is_wip_transaction.nil?
|
25
|
-
hash['wipMerchantAuthenticationMethod'] = @wip_merchant_authentication_method unless @wip_merchant_authentication_method.nil?
|
26
|
-
hash
|
27
|
-
end
|
28
|
-
|
29
|
-
def from_hash(hash)
|
30
|
-
super
|
31
|
-
@force_authentication = hash['forceAuthentication'] if hash.key? 'forceAuthentication'
|
32
|
-
@is_deferred_payment = hash['isDeferredPayment'] if hash.key? 'isDeferredPayment'
|
33
|
-
@is_wip_transaction = hash['isWipTransaction'] if hash.key? 'isWipTransaction'
|
34
|
-
@wip_merchant_authentication_method = hash['wipMerchantAuthenticationMethod'] if hash.key? 'wipMerchantAuthenticationMethod'
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
@@ -1,34 +0,0 @@
|
|
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] checkout_response_signature
|
10
|
-
# @attr [String] credit_card_brand
|
11
|
-
# @attr [String] dpa_id
|
12
|
-
class PaymentProduct5002SpecificInput < OnlinePayments::SDK::DataObject
|
13
|
-
attr_accessor :checkout_response_signature
|
14
|
-
attr_accessor :credit_card_brand
|
15
|
-
attr_accessor :dpa_id
|
16
|
-
|
17
|
-
# @return (Hash)
|
18
|
-
def to_h
|
19
|
-
hash = super
|
20
|
-
hash['checkoutResponseSignature'] = @checkout_response_signature unless @checkout_response_signature.nil?
|
21
|
-
hash['creditCardBrand'] = @credit_card_brand unless @credit_card_brand.nil?
|
22
|
-
hash['dpaId'] = @dpa_id unless @dpa_id.nil?
|
23
|
-
hash
|
24
|
-
end
|
25
|
-
|
26
|
-
def from_hash(hash)
|
27
|
-
super
|
28
|
-
@checkout_response_signature = hash['checkoutResponseSignature'] if hash.key? 'checkoutResponseSignature'
|
29
|
-
@credit_card_brand = hash['creditCardBrand'] if hash.key? 'creditCardBrand'
|
30
|
-
@dpa_id = hash['dpaId'] if hash.key? 'dpaId'
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,26 +0,0 @@
|
|
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] order_id
|
10
|
-
class PaymentProduct840 < OnlinePayments::SDK::DataObject
|
11
|
-
attr_accessor :order_id
|
12
|
-
|
13
|
-
# @return (Hash)
|
14
|
-
def to_h
|
15
|
-
hash = super
|
16
|
-
hash['orderId'] = @order_id unless @order_id.nil?
|
17
|
-
hash
|
18
|
-
end
|
19
|
-
|
20
|
-
def from_hash(hash)
|
21
|
-
super
|
22
|
-
@order_id = hash['orderId'] if hash.key? 'orderId'
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
@@ -1,30 +0,0 @@
|
|
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] source
|
10
|
-
# @attr [String] status
|
11
|
-
class ThreeDSWhitelist < OnlinePayments::SDK::DataObject
|
12
|
-
attr_accessor :source
|
13
|
-
attr_accessor :status
|
14
|
-
|
15
|
-
# @return (Hash)
|
16
|
-
def to_h
|
17
|
-
hash = super
|
18
|
-
hash['source'] = @source unless @source.nil?
|
19
|
-
hash['status'] = @status unless @status.nil?
|
20
|
-
hash
|
21
|
-
end
|
22
|
-
|
23
|
-
def from_hash(hash)
|
24
|
-
super
|
25
|
-
@source = hash['source'] if hash.key? 'source'
|
26
|
-
@status = hash['status'] if hash.key? 'status'
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|