Class: Io::Flow::V0::Models::OnlineAuthorizationDetailsUndefinedType
- Inherits:
-
OnlineAuthorizationDetails
- Object
- OnlineAuthorizationDetails
- Io::Flow::V0::Models::OnlineAuthorizationDetailsUndefinedType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from OnlineAuthorizationDetails
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ OnlineAuthorizationDetailsUndefinedType
constructor
A new instance of OnlineAuthorizationDetailsUndefinedType.
- #subtype_to_hash ⇒ Object
- #to_hash ⇒ Object
Methods inherited from OnlineAuthorizationDetails
Constructor Details
#initialize(incoming = {}) ⇒ OnlineAuthorizationDetailsUndefinedType
Returns a new instance of OnlineAuthorizationDetailsUndefinedType.
13028 13029 13030 13031 13032 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13028 def initialize(incoming={}) super(:discriminator => 'undefined_type') opts = HttpClient::Helper.symbolize_keys(incoming) @name = HttpClient::Preconditions.assert_class('name', opts.delete(:discriminator), String) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
13026 13027 13028 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13026 def name @name end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
13038 13039 13040 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13038 def copy(incoming={}) raise 'Operation not supported for undefined type' end |
#subtype_to_hash ⇒ Object
13034 13035 13036 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13034 def subtype_to_hash raise 'Unable to serialize undefined type to json' end |
#to_hash ⇒ Object
13042 13043 13044 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13042 def to_hash raise 'Operation not supported for undefined type' end |