class Io::Flow::V0::Models::OrderPromotionUndefinedType
Attributes
name[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::OrderPromotion::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 13215 def initialize(incoming={}) super(:discriminator => 'undefined_type') opts = HttpClient::Helper.symbolize_keys(incoming) @name = HttpClient::Preconditions.assert_class('name', opts.delete(:discriminator), String) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 13225 def copy(incoming={}) raise 'Operation not supported for undefined type' end
subtype_to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 13221 def subtype_to_hash raise 'Unable to serialize undefined type to json' end
to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 13229 def to_hash raise 'Operation not supported for undefined type' end