Class: Io::Flow::V0::Models::AdjustmentReasonKey

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

Returns a new instance of AdjustmentReasonKey.



5590
5591
5592
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5590

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



5588
5589
5590
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5588

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



5626
5627
5628
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5626

def to_hash
  value
end