Class: Search::ProductCatalogTextPresenter

Inherits:
ProductCatalogPresenter
  • Object
show all
Defined in:
app/presenters/search/product_catalog_text_presenter.rb

Instance Method Summary collapse

Instance Method Details

#catalogObject



7
8
9
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 7

def catalog
  r.catalog_name
end

#effective_priceObject



31
32
33
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 31

def effective_price
  r.effective_price
end

#effective_price_with_vatObject



43
44
45
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 43

def effective_price_with_vat
  r.effective_price_with_vat
end

#item_skuObject



3
4
5
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 3

def item_sku
  r.item_sku
end

#parent_catalog_itemObject



11
12
13
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 11

def parent_catalog_item
  r.parent_catalog_name
end

#priceObject



19
20
21
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 19

def price
  r.price
end

#price_difference_factorObject



15
16
17
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 15

def price_difference_factor
  r.price_difference_factor
end

#price_with_vatObject



35
36
37
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 35

def price_with_vat
  r.price_with_vat
end

#retail_priceObject



23
24
25
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 23

def retail_price
  r.retail_price
end

#sale_priceObject



27
28
29
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 27

def sale_price
  r.sale_price
end

#sale_price_with_vatObject



39
40
41
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 39

def sale_price_with_vat
  r.sale_price_with_vat
end