Class: Ingenico::Connect::SDK::Domain::Definitions::FraudFieldsShippingDetails Deprecated
- Inherits:
-
Ingenico::Connect::SDK::DataObject
- Object
- Ingenico::Connect::SDK::DataObject
- Ingenico::Connect::SDK::Domain::Definitions::FraudFieldsShippingDetails
- Defined in:
- lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb
Overview
Deprecated.
No replacement
Instance Attribute Summary collapse
-
#method_details ⇒ Object
deprecated
Deprecated.
No replacement
-
#method_speed ⇒ Object
deprecated
Deprecated.
No replacement
-
#method_type ⇒ Object
deprecated
Deprecated.
No replacement
Instance Method Summary collapse
Methods inherited from Ingenico::Connect::SDK::DataObject
Instance Attribute Details
#method_details ⇒ Object
Deprecated.
No replacement
15 16 17 |
# File 'lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb', line 15 def method_details @method_details end |
#method_speed ⇒ Object
Deprecated.
No replacement
15 16 17 |
# File 'lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb', line 15 def method_speed @method_speed end |
#method_type ⇒ Object
Deprecated.
No replacement
15 16 17 |
# File 'lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb', line 15 def method_type @method_type end |
Instance Method Details
#from_hash(hash) ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb', line 38 def from_hash(hash) super if hash.has_key? 'methodDetails' @method_details = hash['methodDetails'] end if hash.has_key? 'methodSpeed' @method_speed = hash['methodSpeed'] end if hash.has_key? 'methodType' @method_type = hash['methodType'] end end |
#to_h ⇒ Hash
30 31 32 33 34 35 36 |
# File 'lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb', line 30 def to_h hash = super hash['methodDetails'] = @method_details unless @method_details.nil? hash['methodSpeed'] = @method_speed unless @method_speed.nil? hash['methodType'] = @method_type unless @method_type.nil? hash end |