Class: Io::Flow::V0::Models::OrderPriceDetailComponentKey

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ OrderPriceDetailComponentKey

Returns a new instance of OrderPriceDetailComponentKey.



7450
7451
7452
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7450

def initialize(value)
  @value = HttpClient::Preconditions.assert_class('value', value, String)
end

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



7448
7449
7450
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7448

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



7563
7564
7565
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7563

def to_hash
  value
end