Class: Io::Flow::V0::Models::PriceDetailComponentKey

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) ⇒ PriceDetailComponentKey

Returns a new instance of PriceDetailComponentKey.



7685
7686
7687
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7685

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



7683
7684
7685
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7683

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



7794
7795
7796
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7794

def to_hash
  value
end