Class: AboutYou::SDK::Model::TermsCounts
- Inherits:
-
Object
- Object
- AboutYou::SDK::Model::TermsCounts
- Defined in:
- lib/AboutYou/Model/ProductSearchResult/terms_count.rb
Overview
This class represents a Terms Count model.
- author
-
Collins GmbH & Co KG
Instance Attribute Summary collapse
-
#product_count_total ⇒ Object
count of total products.
-
#product_count_with_other_facet ⇒ Object
count of products without facet.
-
#product_count_without_any_facet ⇒ Object
count of products with other facets.
Instance Method Summary collapse
-
#initialize(product_count_total, product_count_with_other_facet, product_count_without_any_facet) ⇒ TermsCounts
constructor
the Constructor for the terms count class.
Constructor Details
#initialize(product_count_total, product_count_with_other_facet, product_count_without_any_facet) ⇒ TermsCounts
the Constructor for the terms count class
-
Args :
-
product_count_total
-> the total productcount -
product_count_with_other_facet
-> the productcount without any facets -
product_count_without_any_facet
-> the productcount with other facets
-
-
Returns :
-
Instance of AboutYou::SDK::Model::TermsCount
-
28 29 30 31 32 33 34 35 36 |
# File 'lib/AboutYou/Model/ProductSearchResult/terms_count.rb', line 28 def initialize( product_count_total, product_count_with_other_facet, product_count_without_any_facet ) self.productCountTotal = product_count_total self.product_count_with_other_facet = product_count_with_other_facet self.product_count_without_any_facet = product_count_without_any_facet end |
Instance Attribute Details
#product_count_total ⇒ Object
count of total products
11 12 13 |
# File 'lib/AboutYou/Model/ProductSearchResult/terms_count.rb', line 11 def product_count_total @product_count_total end |
#product_count_with_other_facet ⇒ Object
count of products without facet
13 14 15 |
# File 'lib/AboutYou/Model/ProductSearchResult/terms_count.rb', line 13 def product_count_with_other_facet @product_count_with_other_facet end |
#product_count_without_any_facet ⇒ Object
count of products with other facets
15 16 17 |
# File 'lib/AboutYou/Model/ProductSearchResult/terms_count.rb', line 15 def product_count_without_any_facet @product_count_without_any_facet end |