Composable Commerce PHP SDKPHP SDK
  • Namespace
  • Class
  • Tree

Namespaces

  • Commercetools
    • Commons
      • Helper
    • Core
      • Builder
        • Request
        • Update
      • Cache
      • Client
        • Adapter
        • OAuth
      • Error
      • Helper
        • Annotate
        • State
          • Renderer
        • Subscriber
          • Log
      • Model
        • ApiClient
        • Cart
        • CartDiscount
        • Category
        • Channel
        • Common
        • Customer
        • CustomerGroup
        • CustomField
        • CustomObject
        • DiscountCode
        • Extension
        • Inventory
        • Message
        • Order
        • OrderEdit
        • Payment
        • Product
          • Search
        • ProductDiscount
        • ProductSelection
        • ProductType
        • Project
        • Review
        • ShippingMethod
        • ShoppingList
        • State
        • Store
        • Subscription
        • TaxCategory
        • Type
        • Zone
      • Request
        • ApiClients
        • CartDiscounts
          • Command
        • Carts
          • Command
        • Categories
          • Command
        • Channels
          • Command
        • CustomerGroups
          • Command
        • Customers
          • Command
        • CustomField
          • Command
        • CustomObjects
        • DiscountCodes
          • Command
        • Extensions
          • Command
        • GraphQL
        • InStores
        • Inventory
          • Command
        • Me
          • Command
        • Messages
        • OrderEdits
          • Command
          • StagedOrder
            • Command
        • Orders
          • Command
        • Payments
          • Command
        • ProductDiscounts
          • Command
        • Products
          • Command
        • ProductSelections
          • Command
        • ProductTypes
          • Command
        • Project
          • Command
        • Query
        • Reviews
          • Command
        • ShippingMethods
          • Command
        • ShoppingLists
          • Command
        • States
          • Command
        • Stores
          • Command
        • Subscriptions
          • Command
        • TaxCategories
          • Command
        • Types
          • Command
        • Zones
          • Command
      • Response

Classes

  • FacetRange
  • FacetRangeCollection
  • FacetResult
  • FacetResultCollection
  • FacetTerm
  • FacetTermCollection
  • LocalizedSearchKeywords
  • LocalizedSuggestionCollection
  • Product
  • ProductCatalogData
  • ProductCollection
  • ProductData
  • ProductDraft
  • ProductProjection
  • ProductProjectionCollection
  • ProductReference
  • ProductVariant
  • ProductVariantAvailability
  • ProductVariantAvailabilityCollection
  • ProductVariantCollection
  • ProductVariantDraft
  • ProductVariantDraftCollection
  • SearchKeyword
  • SearchKeywords
  • Suggestion
  • SuggestionCollection
  • SuggestionResult
  • SuggestTokenizer

Class FacetRange

Commercetools\Core\Model\Common\AbstractJsonDeserializeObject implements Commercetools\Core\Model\Common\JsonDeserializeInterface, Commercetools\Core\Model\Common\ObjectTreeInterface uses Commercetools\Core\Model\Common\ObjectTreeTrait
Extended by Commercetools\Core\Model\Common\JsonObject implements JsonSerializable uses Commercetools\Core\Model\Common\ContextTrait
Extended by Commercetools\Core\Model\Product\FacetRange
Namespace: Commercetools\Core\Model\Product
Located at Core/Model/Product/FacetRange.php

Methods summary

public integer
# getTotalCount( )

Deprecated

use getCount instead - will be removed with version 3.0

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setTotalCount( integer $totalCount = null )

Deprecated

use setCount instead - will be removed with version 3.0

Parameters

$totalCount

Returns

Commercetools\Core\Model\Product\FacetRange

Methods inherited from Commercetools\Core\Model\Common\JsonObject

__construct(), __get(), hasField(), isOptional()

Methods inherited from Commercetools\Core\Model\Common\AbstractJsonDeserializeObject

__sleep(), fromArray(), jsonSerialize(), of(), toArray()

Methods inherited from Commercetools\Core\Model\Common\ContextAwareInterface

getContext(), getContextCallback(), setContext(), setContextIfNull()

Methods inherited from Commercetools\Core\Model\Common\ObjectTreeInterface

parentSet(), rootGet(), rootSet()

Methods used from Commercetools\Core\Model\Common\ContextTrait

getContext(), getContextCallback(), setContext(), setContextIfNull()

Methods used from Commercetools\Core\Model\Common\ObjectTreeTrait

parentSet(), rootGet(), rootSet()

Magic methods summary

public integer
# getFrom( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setFrom( integer $from = null )

Parameters

$from

Returns

Commercetools\Core\Model\Product\FacetRange
public string
# getFromStr( )

Returns

string
public Commercetools\Core\Model\Product\FacetRange
# setFromStr( string $fromStr = null )

Parameters

$fromStr

Returns

Commercetools\Core\Model\Product\FacetRange
public integer
# getTo( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setTo( integer $to = null )

Parameters

$to

Returns

Commercetools\Core\Model\Product\FacetRange
public string
# getToStr( )

Returns

string
public Commercetools\Core\Model\Product\FacetRange
# setToStr( string $toStr = null )

Parameters

$toStr

Returns

Commercetools\Core\Model\Product\FacetRange
public integer
# getCount( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setCount( integer $count = null )

Parameters

$count

Returns

Commercetools\Core\Model\Product\FacetRange
public integer
# getTotal( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setTotal( integer $total = null )

Parameters

$total

Returns

Commercetools\Core\Model\Product\FacetRange
public integer
# getMin( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setMin( integer $min = null )

Parameters

$min

Returns

Commercetools\Core\Model\Product\FacetRange
public integer
# getMax( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setMax( integer $max = null )

Parameters

$max

Returns

Commercetools\Core\Model\Product\FacetRange
public integer
# getMean( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setMean( integer $mean = null )

Parameters

$mean

Returns

Commercetools\Core\Model\Product\FacetRange
public integer
# getProductCount( )

Returns

integer
public Commercetools\Core\Model\Product\FacetRange
# setProductCount( integer $productCount = null )

Parameters

$productCount

Returns

Commercetools\Core\Model\Product\FacetRange

Constants summary

Constants inherited from Commercetools\Core\Model\Common\JsonObject

DECORATOR, ELEMENT_TYPE, INITIALIZED, OPTIONAL, TYPE

Constants inherited from Commercetools\Core\Model\Common\AbstractJsonDeserializeObject

JSON_DESERIALIZE_INTERFACE, TYPEABLE_INTERFACE

PHP SDK API documentation generated by ApiGen