Class: Worldline::Connect::SDK::V1::Domain::RetailDecisionsCCFraudCheckOutput
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::RetailDecisionsCCFraudCheckOutput
- Defined in:
- lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb
Instance Attribute Summary collapse
-
#fraud_code ⇒ String
The current value of fraud_code.
-
#fraud_neural ⇒ String
The current value of fraud_neural.
-
#fraud_rcf ⇒ String
The current value of fraud_rcf.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#fraud_code ⇒ String
Returns the current value of fraud_code.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb', line 15 def fraud_code @fraud_code end |
#fraud_neural ⇒ String
Returns the current value of fraud_neural.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb', line 15 def fraud_neural @fraud_neural end |
#fraud_rcf ⇒ String
Returns the current value of fraud_rcf.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb', line 15 def fraud_rcf @fraud_rcf end |
Instance Method Details
#from_hash(hash) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb', line 32 def from_hash(hash) super if hash.has_key? 'fraudCode' @fraud_code = hash['fraudCode'] end if hash.has_key? 'fraudNeural' @fraud_neural = hash['fraudNeural'] end if hash.has_key? 'fraudRCF' @fraud_rcf = hash['fraudRCF'] end end |
#to_h ⇒ Hash
24 25 26 27 28 29 30 |
# File 'lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb', line 24 def to_h hash = super hash['fraudCode'] = @fraud_code unless @fraud_code.nil? hash['fraudNeural'] = @fraud_neural unless @fraud_neural.nil? hash['fraudRCF'] = @fraud_rcf unless @fraud_rcf.nil? hash end |