Class: Worldline::Connect::SDK::V1::Domain::ValidationBankAccountCheck
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::ValidationBankAccountCheck
- Defined in:
- lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb
Instance Attribute Summary collapse
-
#code ⇒ String
The current value of code.
-
#description ⇒ String
The current value of description.
-
#result ⇒ String
The current value of result.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#code ⇒ String
Returns the current value of code.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb', line 15 def code @code end |
#description ⇒ String
Returns the current value of description.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb', line 15 def description @description end |
#result ⇒ String
Returns the current value of result.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb', line 15 def result @result 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/validation_bank_account_check.rb', line 32 def from_hash(hash) super if hash.has_key? 'code' @code = hash['code'] end if hash.has_key? 'description' @description = hash['description'] end if hash.has_key? 'result' @result = hash['result'] end end |
#to_h ⇒ Hash
24 25 26 27 28 29 30 |
# File 'lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb', line 24 def to_h hash = super hash['code'] = @code unless @code.nil? hash['description'] = @description unless @description.nil? hash['result'] = @result unless @result.nil? hash end |