Class: Io::Flow::V0::Models::ThreedsChallengeActionUndefinedType

Inherits:
ThreedsChallengeAction show all
Defined in:
lib/flow_commerce/flow_api_v0_client.rb

Instance Attribute Summary collapse

Attributes inherited from ThreedsChallengeAction

#discriminator

Instance Method Summary collapse

Methods inherited from ThreedsChallengeAction

from_json

Constructor Details

#initialize(incoming = {}) ⇒ ThreedsChallengeActionUndefinedType

Returns a new instance of ThreedsChallengeActionUndefinedType.



15903
15904
15905
15906
15907
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15903

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

#nameObject (readonly)

Returns the value of attribute name.



15901
15902
15903
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15901

def name
  @name
end

Instance Method Details

#copy(incoming = {}) ⇒ Object



15913
15914
15915
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15913

def copy(incoming={})
  raise 'Operation not supported for undefined type'
end

#subtype_to_hashObject



15909
15910
15911
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15909

def subtype_to_hash
  raise 'Unable to serialize undefined type to json'
end

#to_hashObject



15917
15918
15919
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15917

def to_hash
  raise 'Operation not supported for undefined type'
end