Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CreateCartInput

Index

Constructors

constructor

Properties

anonymousSiteUrl

anonymousSiteUrl: string = ""

apiNamespace

apiNamespace: string = ""

API Namespace to be used in Rest API call. e.g. h_cpq_promotion

Optional filters

filters: Map<string, string>

Filter to be used to get Anonymous cartId. Filter must be in name and value pair where name is either Region or Channel. In url, the names will be paired with their respective values separated by a colon ":". eg. filters=Region:CA,Channel:Web

Static Private CustomProcessQueryNames

CustomProcessQueryNames: Set<string> = ...

Query Names that needs custom processing. These query names will be flattened out in URL Get parameters.

Methods

anonymousRestUrl

  • anonymousRestUrl(urlparams: any): string

getAnonymousRestUrl

  • getAnonymousRestUrl(params: object): string
  • Apply the given params value of matching in rest URL.

    Parameters

    • params: object

      parameters to be applied in the Rest Url excluding the query string.

    Returns string

urlEncodedQuery

  • urlEncodedQuery(): string
  • Return the encoded query of a URI that contains the properties in this class. Undefined properties will not be included in the encoded query.

    scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment]

    Returns string

Generated using TypeDoc