Class: Io::Flow::V0::Models::OrderPriceDetailKey

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

Returns a new instance of OrderPriceDetailKey.



7573
7574
7575
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7573

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



7571
7572
7573
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7571

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



7633
7634
7635
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7633

def to_hash
  value
end