Class: Io::Flow::V0::Models::AppliedPromotionType

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

Returns a new instance of AppliedPromotionType.



5636
5637
5638
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5636

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



5634
5635
5636
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5634

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



5664
5665
5666
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5664

def to_hash
  value
end