Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GetCartSummaryInput

Implements

Index

Properties

actionObj

actionObj: Action

action object.

anonymousSiteUrl

anonymousSiteUrl: string = ""

apiNamespace

apiNamespace: string = SalesForceNamespace.namespace

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

Optional cartId

cartId: string = ""

The cart Id to be used for getting a list of line items. It may be the regular cart id or the anonymous cart id.

Optional fields

fields: string[]

List of fields to be returned. Supported Product2 and Pricebook fields.

price

price: boolean = true

Flag to indicate if pricing rules should be run.

remoteClass

remoteClass: string = "CpqAppHandler"

Remote class to handle get products.

remoteMethod

remoteMethod: string = "getCarts"

Remote method in the boave Remote Class to handle get products.

translation

translation: boolean

Flag to indicate to get translated labels.

validate

validate: boolean = true

Flag to indicate if validation rules should be run.

Static Private CustomProcessQueryNames

CustomProcessQueryNames: Set<string> = new Set(["price","validate","remoteClass","remoteMethod","loginUserRestPath","anonymousRestUrl","defaultApiNamespace","apiNamespace","defaultAnonymousSiteUrl","anonymousSiteUrl","cartId","actionObj"])

Query Names that needs to be skipped and may require custom processing. If custom processing is needed, these query names will be flattened out into URL Get parameters.

Methods

anonymousRestUrl

  • anonymousRestUrl(urlparams: any): string
  • Rest URL for Anonymous user to get cart summary.

    Parameters

    • urlparams: any

    Returns string

getAnonymousRestUrl

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

    Parameters

    • Optional params: object

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

    Returns string

getInputMap

  • getInputMap(): any
  • Function that constructs the input map object containing all query parameters for API

    Returns any

getLoginUserRestPath

  • getLoginUserRestPath(params?: object): string
  • Apply the given params value of matching in rest path.

    Parameters

    • Optional params: object

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

    Returns string

inputMap

  • inputMap(): object
  • Returns object

loginUserRestPath

  • loginUserRestPath(urlparams: any): string
  • Rest URL for login user to get cart summary.

    Parameters

    • urlparams: any

    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