Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PastPurchaseUrlParser

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected beautifier

beautifier: UrlBeautifier

config

config: Configuration = this.beautifier.config

suffixPattern

suffixPattern: RegExp = RegExp(`${this.config.suffix}$`)

Methods

generateRefinementMapping

  • generateRefinementMapping(): any

parse

parsePathWithReferenceKeys

Static extractRangeRefinements

  • extractRangeRefinements(field: string, low: number, high: number): object

Static extractSort

  • extractSort(sortString: string): object

Static extractUnmapped

  • extractUnmapped(refinementString: string): Refinement[]

Static extractValueRefinements

  • extractValueRefinements(field: string, value: string): object

Static parsePathWithoutReferenceKeys

  • parsePathWithoutReferenceKeys(path: string[]): Partial<SearchUrlState>

Static toKeys

  • toKeys(mapping: any[]): any

Static toObject

  • toObject(mapping: any[]): any

Generated using TypeDoc