class AboutYou::SDK::Model::TermsCounts

This class represents a Terms Count model.

author

Collins GmbH & Co KG

Attributes

product_count_total[RW]

count of total products

product_count_with_other_facet[RW]

count of products without facet

product_count_without_any_facet[RW]

count of products with other facets

Public Class Methods

new( product_count_total, product_count_with_other_facet, product_count_without_any_facet ) click to toggle source

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

# 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