Class: Search::ProductCatalogTextPresenter

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

Overview

Presenter: product catalog text presenter.

Delegated Instance Attributes collapse

Instance Method Summary collapse

Instance Method Details

#catalogObject



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

def catalog
  r.catalog_name
end

#effective_priceObject

Alias for R#effective_price

Returns:

  • (Object)

    R#effective_price

See Also:



22
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 22

delegate :effective_price, to: :r

#effective_price_with_vatObject

Alias for R#effective_price_with_vat

Returns:

  • (Object)

    R#effective_price_with_vat

See Also:



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

delegate :effective_price_with_vat, to: :r

#item_skuObject

Alias for R#item_sku

Returns:

  • (Object)

    R#item_sku

See Also:



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

delegate :item_sku, to: :r

#parent_catalog_itemObject



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

def parent_catalog_item
  r.parent_catalog_name
end

#priceObject

Alias for R#price

Returns:

  • (Object)

    R#price

See Also:



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

delegate :price, to: :r

#price_difference_factorObject

Alias for R#price_difference_factor

Returns:

  • (Object)

    R#price_difference_factor

See Also:



14
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 14

delegate :price_difference_factor, to: :r

#price_with_vatObject

Alias for R#price_with_vat

Returns:

  • (Object)

    R#price_with_vat

See Also:



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

delegate :price_with_vat, to: :r

#retail_priceObject

Alias for R#retail_price

Returns:

  • (Object)

    R#retail_price

See Also:



18
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 18

delegate :retail_price, to: :r

#sale_priceObject

Alias for R#sale_price

Returns:

  • (Object)

    R#sale_price

See Also:



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

delegate :sale_price, to: :r

#sale_price_with_vatObject

Alias for R#sale_price_with_vat

Returns:

  • (Object)

    R#sale_price_with_vat

See Also:



26
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 26

delegate :sale_price_with_vat, to: :r