Module: RakutenApi::Base::Item
- Included in:
- ItemRanking::Model, ItemSearch::Model
- Defined in:
- lib/rakuten_api/base/item.rb
Constant Summary collapse
- ITEM_CASTING =
{ 'smallImageUrls' => Proc.new{|o| o.map{|v| v["imageUrl"]}}, 'mediumImageUrls' => Proc.new{|o| o.map{|v| v["imageUrl"]}}, 'imageFlag' => Proc.new{|o| o == 1}, 'availability' => Proc.new{|o| o == 1}, 'taxFlag' => Proc.new{|o| o == 1}, 'postageFlag' => Proc.new{|o| o == 1}, 'creditCardFlag' => Proc.new{|o| o == 1}, 'shopOfTheYearFlag' => Proc.new{|o| o == 1}, 'shipOverseasFlag' => Proc.new{|o| o == 1}, 'asurakuFlag' => Proc.new{|o| o == 1}, 'giftFlag' => Proc.new{|o| o == 1}, }.freeze
Instance Attribute Summary collapse
-
#affiliate_rate ⇒ Object
Returns the value of attribute affiliate_rate.
-
#affiliate_url ⇒ Object
Returns the value of attribute affiliate_url.
-
#asuraku_area ⇒ Object
Returns the value of attribute asuraku_area.
-
#asuraku_closing_time ⇒ Object
Returns the value of attribute asuraku_closing_time.
-
#asuraku_flag ⇒ Object
Returns the value of attribute asuraku_flag.
-
#availability ⇒ Object
Returns the value of attribute availability.
-
#catchcopy ⇒ Object
Returns the value of attribute catchcopy.
-
#credit_card_flag ⇒ Object
Returns the value of attribute credit_card_flag.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#genre_id ⇒ Object
Returns the value of attribute genre_id.
-
#gift_flag ⇒ Object
Returns the value of attribute gift_flag.
-
#image_flag ⇒ Object
Returns the value of attribute image_flag.
-
#item_caption ⇒ Object
Returns the value of attribute item_caption.
-
#item_code ⇒ Object
Returns the value of attribute item_code.
-
#item_name ⇒ Object
Returns the value of attribute item_name.
-
#item_price ⇒ Object
Returns the value of attribute item_price.
-
#item_url ⇒ Object
Returns the value of attribute item_url.
-
#medium_image_urls ⇒ Object
Returns the value of attribute medium_image_urls.
-
#point_rate ⇒ Object
Returns the value of attribute point_rate.
-
#point_rate_end_time ⇒ Object
Returns the value of attribute point_rate_end_time.
-
#point_rate_start_time ⇒ Object
Returns the value of attribute point_rate_start_time.
-
#postage_flag ⇒ Object
Returns the value of attribute postage_flag.
-
#review_average ⇒ Object
Returns the value of attribute review_average.
-
#review_count ⇒ Object
Returns the value of attribute review_count.
-
#ship_overseas_area ⇒ Object
Returns the value of attribute ship_overseas_area.
-
#ship_overseas_flag ⇒ Object
Returns the value of attribute ship_overseas_flag.
-
#shop_code ⇒ Object
Returns the value of attribute shop_code.
-
#shop_name ⇒ Object
Returns the value of attribute shop_name.
-
#shop_of_the_year_flag ⇒ Object
Returns the value of attribute shop_of_the_year_flag.
-
#shop_url ⇒ Object
Returns the value of attribute shop_url.
-
#small_image_urls ⇒ Object
Returns the value of attribute small_image_urls.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#tax_flag ⇒ Object
Returns the value of attribute tax_flag.
Instance Attribute Details
#affiliate_rate ⇒ Object
Returns the value of attribute affiliate_rate.
42 43 44 |
# File 'lib/rakuten_api/base/item.rb', line 42 def affiliate_rate @affiliate_rate end |
#affiliate_url ⇒ Object
Returns the value of attribute affiliate_url.
25 26 27 |
# File 'lib/rakuten_api/base/item.rb', line 25 def affiliate_url @affiliate_url end |
#asuraku_area ⇒ Object
Returns the value of attribute asuraku_area.
41 42 43 |
# File 'lib/rakuten_api/base/item.rb', line 41 def asuraku_area @asuraku_area end |
#asuraku_closing_time ⇒ Object
Returns the value of attribute asuraku_closing_time.
40 41 42 |
# File 'lib/rakuten_api/base/item.rb', line 40 def asuraku_closing_time @asuraku_closing_time end |
#asuraku_flag ⇒ Object
Returns the value of attribute asuraku_flag.
36 37 38 |
# File 'lib/rakuten_api/base/item.rb', line 36 def asuraku_flag @asuraku_flag end |
#availability ⇒ Object
Returns the value of attribute availability.
29 30 31 |
# File 'lib/rakuten_api/base/item.rb', line 29 def availability @availability end |
#catchcopy ⇒ Object
Returns the value of attribute catchcopy.
20 21 22 |
# File 'lib/rakuten_api/base/item.rb', line 20 def catchcopy @catchcopy end |
#credit_card_flag ⇒ Object
Returns the value of attribute credit_card_flag.
33 34 35 |
# File 'lib/rakuten_api/base/item.rb', line 33 def credit_card_flag @credit_card_flag end |
#end_time ⇒ Object
Returns the value of attribute end_time.
44 45 46 |
# File 'lib/rakuten_api/base/item.rb', line 44 def end_time @end_time end |
#genre_id ⇒ Object
Returns the value of attribute genre_id.
53 54 55 |
# File 'lib/rakuten_api/base/item.rb', line 53 def genre_id @genre_id end |
#gift_flag ⇒ Object
Returns the value of attribute gift_flag.
37 38 39 |
# File 'lib/rakuten_api/base/item.rb', line 37 def gift_flag @gift_flag end |
#image_flag ⇒ Object
Returns the value of attribute image_flag.
30 31 32 |
# File 'lib/rakuten_api/base/item.rb', line 30 def image_flag @image_flag end |
#item_caption ⇒ Object
Returns the value of attribute item_caption.
23 24 25 |
# File 'lib/rakuten_api/base/item.rb', line 23 def @item_caption end |
#item_code ⇒ Object
Returns the value of attribute item_code.
21 22 23 |
# File 'lib/rakuten_api/base/item.rb', line 21 def item_code @item_code end |
#item_name ⇒ Object
Returns the value of attribute item_name.
19 20 21 |
# File 'lib/rakuten_api/base/item.rb', line 19 def item_name @item_name end |
#item_price ⇒ Object
Returns the value of attribute item_price.
22 23 24 |
# File 'lib/rakuten_api/base/item.rb', line 22 def item_price @item_price end |
#item_url ⇒ Object
Returns the value of attribute item_url.
24 25 26 |
# File 'lib/rakuten_api/base/item.rb', line 24 def item_url @item_url end |
#medium_image_urls ⇒ Object
Returns the value of attribute medium_image_urls.
27 28 29 |
# File 'lib/rakuten_api/base/item.rb', line 27 def medium_image_urls @medium_image_urls end |
#point_rate ⇒ Object
Returns the value of attribute point_rate.
47 48 49 |
# File 'lib/rakuten_api/base/item.rb', line 47 def point_rate @point_rate end |
#point_rate_end_time ⇒ Object
Returns the value of attribute point_rate_end_time.
49 50 51 |
# File 'lib/rakuten_api/base/item.rb', line 49 def point_rate_end_time @point_rate_end_time end |
#point_rate_start_time ⇒ Object
Returns the value of attribute point_rate_start_time.
48 49 50 |
# File 'lib/rakuten_api/base/item.rb', line 48 def point_rate_start_time @point_rate_start_time end |
#postage_flag ⇒ Object
Returns the value of attribute postage_flag.
32 33 34 |
# File 'lib/rakuten_api/base/item.rb', line 32 def postage_flag @postage_flag end |
#review_average ⇒ Object
Returns the value of attribute review_average.
46 47 48 |
# File 'lib/rakuten_api/base/item.rb', line 46 def review_average @review_average end |
#review_count ⇒ Object
Returns the value of attribute review_count.
45 46 47 |
# File 'lib/rakuten_api/base/item.rb', line 45 def review_count @review_count end |
#ship_overseas_area ⇒ Object
Returns the value of attribute ship_overseas_area.
39 40 41 |
# File 'lib/rakuten_api/base/item.rb', line 39 def ship_overseas_area @ship_overseas_area end |
#ship_overseas_flag ⇒ Object
Returns the value of attribute ship_overseas_flag.
35 36 37 |
# File 'lib/rakuten_api/base/item.rb', line 35 def ship_overseas_flag @ship_overseas_flag end |
#shop_code ⇒ Object
Returns the value of attribute shop_code.
51 52 53 |
# File 'lib/rakuten_api/base/item.rb', line 51 def shop_code @shop_code end |
#shop_name ⇒ Object
Returns the value of attribute shop_name.
50 51 52 |
# File 'lib/rakuten_api/base/item.rb', line 50 def shop_name @shop_name end |
#shop_of_the_year_flag ⇒ Object
Returns the value of attribute shop_of_the_year_flag.
34 35 36 |
# File 'lib/rakuten_api/base/item.rb', line 34 def shop_of_the_year_flag @shop_of_the_year_flag end |
#shop_url ⇒ Object
Returns the value of attribute shop_url.
52 53 54 |
# File 'lib/rakuten_api/base/item.rb', line 52 def shop_url @shop_url end |
#small_image_urls ⇒ Object
Returns the value of attribute small_image_urls.
26 27 28 |
# File 'lib/rakuten_api/base/item.rb', line 26 def small_image_urls @small_image_urls end |
#start_time ⇒ Object
Returns the value of attribute start_time.
43 44 45 |
# File 'lib/rakuten_api/base/item.rb', line 43 def start_time @start_time end |
#tax_flag ⇒ Object
Returns the value of attribute tax_flag.
31 32 33 |
# File 'lib/rakuten_api/base/item.rb', line 31 def tax_flag @tax_flag end |