Skip to content

/AWS1/CL_MPISEARCHFACETSOUTPUT

SearchFacetsOutput

CONSTRUCTOR

IMPORTING

Required arguments:

iv_totalresults TYPE /AWS1/MPINONNEGATIVECOUNT /AWS1/MPINONNEGATIVECOUNT

The total number of listings matching the search criteria.

it_listingfacets TYPE /AWS1/CL_MPILISTINGFACET=>TT_TYPETOFACETMAP TT_TYPETOFACETMAP

A map of facet types to their corresponding facet values. Each facet value includes a display name, internal value, and count of matching listings.

Optional arguments:

iv_nexttoken TYPE /AWS1/MPINEXTTOKEN /AWS1/MPINEXTTOKEN

If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.


Queryable Attributes

totalResults

The total number of listings matching the search criteria.

Accessible with the following methods

Method Description
GET_TOTALRESULTS() Getter for TOTALRESULTS, with configurable default
ASK_TOTALRESULTS() Getter for TOTALRESULTS w/ exceptions if field has no value
HAS_TOTALRESULTS() Determine if TOTALRESULTS has a value

listingFacets

A map of facet types to their corresponding facet values. Each facet value includes a display name, internal value, and count of matching listings.

Accessible with the following methods

Method Description
GET_LISTINGFACETS() Getter for LISTINGFACETS, with configurable default
ASK_LISTINGFACETS() Getter for LISTINGFACETS w/ exceptions if field has no value
HAS_LISTINGFACETS() Determine if LISTINGFACETS has a value

nextToken

If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.

Accessible with the following methods

Method Description
GET_NEXTTOKEN() Getter for NEXTTOKEN, with configurable default
ASK_NEXTTOKEN() Getter for NEXTTOKEN w/ exceptions if field has no value
HAS_NEXTTOKEN() Determine if NEXTTOKEN has a value