Class: Io::Flow::V0::Models::OnboardingTradeSector
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::OnboardingTradeSector
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
- .accessories ⇒ Object
- .ALL ⇒ Object
- .animals_and_pet_supplies ⇒ Object
- .apparel ⇒ Object
- .apparel_and_accessories ⇒ Object
-
.apply(value) ⇒ Object
Returns the instance of OnboardingTradeSector for this value, creating a new instance for an unknown value.
- .arts_and_entertainment ⇒ Object
- .baby_and_toddler ⇒ Object
- .business_and_industrial ⇒ Object
- .cameras_and_optics ⇒ Object
- .electronics ⇒ Object
- .food_beverages_and_tobacco ⇒ Object
-
.from_string(value) ⇒ Object
Returns the instance of OnboardingTradeSector for this value, or nil if not found.
- .furniture ⇒ Object
- .gift_cards ⇒ Object
- .hardware ⇒ Object
- .health_and_beauty ⇒ Object
- .home_and_garden ⇒ Object
- .jewelry ⇒ Object
- .luggage_and_bags ⇒ Object
- .mature ⇒ Object
- .media ⇒ Object
- .office_supplies ⇒ Object
- .other ⇒ Object
- .paper_and_art ⇒ Object
- .religious_and_ceremonial ⇒ Object
- .software ⇒ Object
- .sporting_goods ⇒ Object
- .sports_and_fitness ⇒ Object
- .toys_and_games ⇒ Object
- .toys_hobbies_gifts ⇒ Object
- .vehicles_and_parts ⇒ Object
Instance Method Summary collapse
-
#initialize(value) ⇒ OnboardingTradeSector
constructor
A new instance of OnboardingTradeSector.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ OnboardingTradeSector
Returns a new instance of OnboardingTradeSector.
22700 22701 22702 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22700 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
22698 22699 22700 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22698 def value @value end |
Class Method Details
.accessories ⇒ Object
22724 22725 22726 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22724 def OnboardingTradeSector.accessories @@_accessories ||= OnboardingTradeSector.new('accessories') end |
.ALL ⇒ Object
.animals_and_pet_supplies ⇒ Object
22728 22729 22730 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22728 def OnboardingTradeSector.animals_and_pet_supplies @@_animals_and_pet_supplies ||= OnboardingTradeSector.new('animals_and_pet_supplies') end |
.apparel ⇒ Object
22732 22733 22734 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22732 def OnboardingTradeSector.apparel @@_apparel ||= OnboardingTradeSector.new('apparel') end |
.apparel_and_accessories ⇒ Object
22736 22737 22738 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22736 def OnboardingTradeSector.apparel_and_accessories @@_apparel_and_accessories ||= OnboardingTradeSector.new('apparel_and_accessories') end |
.apply(value) ⇒ Object
Returns the instance of OnboardingTradeSector for this value, creating a new instance for an unknown value
22705 22706 22707 22708 22709 22710 22711 22712 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22705 def OnboardingTradeSector.apply(value) if value.instance_of?(OnboardingTradeSector) value else HttpClient::Preconditions.assert_class_or_nil('value', value, String) value.nil? ? nil : (from_string(value) || OnboardingTradeSector.new(value)) end end |
.arts_and_entertainment ⇒ Object
22740 22741 22742 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22740 def OnboardingTradeSector.arts_and_entertainment @@_arts_and_entertainment ||= OnboardingTradeSector.new('arts_and_entertainment') end |
.baby_and_toddler ⇒ Object
22744 22745 22746 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22744 def OnboardingTradeSector.baby_and_toddler @@_baby_and_toddler ||= OnboardingTradeSector.new('baby_and_toddler') end |
.business_and_industrial ⇒ Object
22748 22749 22750 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22748 def OnboardingTradeSector.business_and_industrial @@_business_and_industrial ||= OnboardingTradeSector.new('business_and_industrial') end |
.cameras_and_optics ⇒ Object
22752 22753 22754 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22752 def OnboardingTradeSector.cameras_and_optics @@_cameras_and_optics ||= OnboardingTradeSector.new('cameras_and_optics') end |
.electronics ⇒ Object
22756 22757 22758 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22756 def OnboardingTradeSector.electronics @@_electronics ||= OnboardingTradeSector.new('electronics') end |
.food_beverages_and_tobacco ⇒ Object
22760 22761 22762 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22760 def OnboardingTradeSector.food_beverages_and_tobacco @@_food_beverages_and_tobacco ||= OnboardingTradeSector.new('food_beverages_and_tobacco') end |
.from_string(value) ⇒ Object
Returns the instance of OnboardingTradeSector for this value, or nil if not found
22715 22716 22717 22718 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22715 def OnboardingTradeSector.from_string(value) HttpClient::Preconditions.assert_class('value', value, String) OnboardingTradeSector.ALL.find { |v| v.value == value } end |
.furniture ⇒ Object
22764 22765 22766 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22764 def OnboardingTradeSector.furniture @@_furniture ||= OnboardingTradeSector.new('furniture') end |
.gift_cards ⇒ Object
22768 22769 22770 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22768 def OnboardingTradeSector.gift_cards @@_gift_cards ||= OnboardingTradeSector.new('gift_cards') end |
.hardware ⇒ Object
22772 22773 22774 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22772 def OnboardingTradeSector.hardware @@_hardware ||= OnboardingTradeSector.new('hardware') end |
.health_and_beauty ⇒ Object
22776 22777 22778 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22776 def OnboardingTradeSector.health_and_beauty @@_health_and_beauty ||= OnboardingTradeSector.new('health_and_beauty') end |
.home_and_garden ⇒ Object
22780 22781 22782 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22780 def OnboardingTradeSector.home_and_garden @@_home_and_garden ||= OnboardingTradeSector.new('home_and_garden') end |
.jewelry ⇒ Object
22784 22785 22786 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22784 def OnboardingTradeSector.jewelry @@_jewelry ||= OnboardingTradeSector.new('jewelry') end |
.luggage_and_bags ⇒ Object
22788 22789 22790 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22788 def OnboardingTradeSector.luggage_and_bags @@_luggage_and_bags ||= OnboardingTradeSector.new('luggage_and_bags') end |
.mature ⇒ Object
22792 22793 22794 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22792 def OnboardingTradeSector.mature @@_mature ||= OnboardingTradeSector.new('mature') end |
.media ⇒ Object
22796 22797 22798 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22796 def OnboardingTradeSector.media @@_media ||= OnboardingTradeSector.new('media') end |
.office_supplies ⇒ Object
22800 22801 22802 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22800 def OnboardingTradeSector.office_supplies @@_office_supplies ||= OnboardingTradeSector.new('office_supplies') end |
.other ⇒ Object
22836 22837 22838 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22836 def OnboardingTradeSector.other @@_other ||= OnboardingTradeSector.new('other') end |
.paper_and_art ⇒ Object
22804 22805 22806 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22804 def OnboardingTradeSector.paper_and_art @@_paper_and_art ||= OnboardingTradeSector.new('paper_and_art') end |
.religious_and_ceremonial ⇒ Object
22808 22809 22810 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22808 def OnboardingTradeSector.religious_and_ceremonial @@_religious_and_ceremonial ||= OnboardingTradeSector.new('religious_and_ceremonial') end |
.software ⇒ Object
22812 22813 22814 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22812 def OnboardingTradeSector.software @@_software ||= OnboardingTradeSector.new('software') end |
.sporting_goods ⇒ Object
22816 22817 22818 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22816 def OnboardingTradeSector.sporting_goods @@_sporting_goods ||= OnboardingTradeSector.new('sporting_goods') end |
.sports_and_fitness ⇒ Object
22820 22821 22822 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22820 def OnboardingTradeSector.sports_and_fitness @@_sports_and_fitness ||= OnboardingTradeSector.new('sports_and_fitness') end |
.toys_and_games ⇒ Object
22824 22825 22826 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22824 def OnboardingTradeSector.toys_and_games @@_toys_and_games ||= OnboardingTradeSector.new('toys_and_games') end |
.toys_hobbies_gifts ⇒ Object
22828 22829 22830 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22828 def OnboardingTradeSector.toys_hobbies_gifts @@_toys_hobbies_gifts ||= OnboardingTradeSector.new('toys_hobbies_gifts') end |
.vehicles_and_parts ⇒ Object
22832 22833 22834 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22832 def OnboardingTradeSector.vehicles_and_parts @@_vehicles_and_parts ||= OnboardingTradeSector.new('vehicles_and_parts') end |
Instance Method Details
#to_hash ⇒ Object
22840 22841 22842 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 22840 def to_hash value end |