onlinepayments-sdk-ruby 3.2.0 → 3.3.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: 1625d5958e5373ae388278001a214ff4bf2b1f8b94839e0e8b35e1e71615442e
4
- data.tar.gz: 683427d180e452dc361475aafc16e1288c36b4d34d5999c435040de6c7dcda96
3
+ metadata.gz: eb15584f49b1b90c0cede980de44a2eae2afd5eb1fe254859581a7391d5fca6a
4
+ data.tar.gz: d3341c23e5433b0c4a6e550f5446e2d5f66962ebad0883992f648a967d0cd210
5
5
  SHA512:
6
- metadata.gz: 8331bf3b75977e24338ccb862cf379a508ef529610a19acd7b2e2941d9347d75a93d3f22e1600c2326bfaaa35281b9093fbeee0365bf14e1969c6852b506f748
7
- data.tar.gz: 47e6a845f1962b64ec4c08c1aba7560b973a294f501d729139102aef2b68d23bd183fe6d64279a8207ad2dfb15f5fee759c2e03052b8c09915ef9159f58f3740
6
+ metadata.gz: d80aeb2f72e6715cc61980a52aef26cded8cf48c02cffd7b55d3682ac9905dd49f1303005d4117e633c80b2cdff2520f4ccc27115ef3391aeaeb18cb9c61bd94
7
+ data.tar.gz: 7a80eaedc398ed1e0ba479d18bd2ac6ced5c7eb5683d077dff3291dbf10a4372e230242f30e6a8d550d1ec83940e64733620b9423420c7911018939f4e237665
@@ -6,23 +6,63 @@ require 'onlinepayments/sdk/data_object'
6
6
  module OnlinePayments::SDK
7
7
  module Domain
8
8
 
9
+ # @attr [String] acs_transaction_id
10
+ # @attr [String] applied_exemption
11
+ # @attr [String] authentication_status
12
+ # @attr [String] cavv
13
+ # @attr [String] challenge_indicator
14
+ # @attr [String] ds_transaction_id
9
15
  # @attr [String] eci
16
+ # @attr [String] flow
17
+ # @attr [String] liability
18
+ # @attr [String] scheme_eci
19
+ # @attr [String] version
10
20
  # @attr [String] xid
11
21
  class ThreeDSecureResults < OnlinePayments::SDK::DataObject
22
+ attr_accessor :acs_transaction_id
23
+ attr_accessor :applied_exemption
24
+ attr_accessor :authentication_status
25
+ attr_accessor :cavv
26
+ attr_accessor :challenge_indicator
27
+ attr_accessor :ds_transaction_id
12
28
  attr_accessor :eci
29
+ attr_accessor :flow
30
+ attr_accessor :liability
31
+ attr_accessor :scheme_eci
32
+ attr_accessor :version
13
33
  attr_accessor :xid
14
34
 
15
35
  # @return (Hash)
16
36
  def to_h
17
37
  hash = super
38
+ hash['acsTransactionId'] = @acs_transaction_id unless @acs_transaction_id.nil?
39
+ hash['appliedExemption'] = @applied_exemption unless @applied_exemption.nil?
40
+ hash['authenticationStatus'] = @authentication_status unless @authentication_status.nil?
41
+ hash['cavv'] = @cavv unless @cavv.nil?
42
+ hash['challengeIndicator'] = @challenge_indicator unless @challenge_indicator.nil?
43
+ hash['dsTransactionId'] = @ds_transaction_id unless @ds_transaction_id.nil?
18
44
  hash['eci'] = @eci unless @eci.nil?
45
+ hash['flow'] = @flow unless @flow.nil?
46
+ hash['liability'] = @liability unless @liability.nil?
47
+ hash['schemeEci'] = @scheme_eci unless @scheme_eci.nil?
48
+ hash['version'] = @version unless @version.nil?
19
49
  hash['xid'] = @xid unless @xid.nil?
20
50
  hash
21
51
  end
22
52
 
23
53
  def from_hash(hash)
24
54
  super
55
+ @acs_transaction_id = hash['acsTransactionId'] if hash.key? 'acsTransactionId'
56
+ @applied_exemption = hash['appliedExemption'] if hash.key? 'appliedExemption'
57
+ @authentication_status = hash['authenticationStatus'] if hash.key? 'authenticationStatus'
58
+ @cavv = hash['cavv'] if hash.key? 'cavv'
59
+ @challenge_indicator = hash['challengeIndicator'] if hash.key? 'challengeIndicator'
60
+ @ds_transaction_id = hash['dsTransactionId'] if hash.key? 'dsTransactionId'
25
61
  @eci = hash['eci'] if hash.key? 'eci'
62
+ @flow = hash['flow'] if hash.key? 'flow'
63
+ @liability = hash['liability'] if hash.key? 'liability'
64
+ @scheme_eci = hash['schemeEci'] if hash.key? 'schemeEci'
65
+ @version = hash['version'] if hash.key? 'version'
26
66
  @xid = hash['xid'] if hash.key? 'xid'
27
67
  end
28
68
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'onlinepayments-sdk-ruby'
3
- spec.version = '3.2.0'
3
+ spec.version = '3.3.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: 3.2.0
4
+ version: 3.3.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: 2022-04-05 00:00:00.000000000 Z
11
+ date: 2022-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient