Options
All
  • Public
  • Public/Protected
  • All
Menu

Class that defines input for getting product details.

Hierarchy

Index

Constructors

constructor

Properties

apexRestUrl

apexRestUrl: string

Apex Rest URL that handles this request.

apexRestUrlAWS

apexRestUrlAWS: string

apiNamespace

apiNamespace: string = ...

Salesforce organization.

Optional fields

fields: string[]

List of fields to be returned.

Optional productId

productId: string

Product Id to be used in the associated API to get corresponding product and its children. If this is set, the API will return a single record.

remoteClass

remoteClass: string

Remote class that handles this request.

remoteMethod

remoteMethod: string

Remote method that handles this request.

restUrl

restUrl: string

Rest URL that handles this request.

Methods

getAPIPath

  • getAPIPath(): string
  • Function that constructs the API path Handles scenerio when namespace is null

    Returns string

getApexRestEndPoint

  • getApexRestEndPoint(): string
  • A method that returns the end point with apex rest url with namepsace if defined.

    Returns string

    • endpoint with apex rest url with apiNamespace if defined.

getEndPointWithNamespace

  • getEndPointWithNamespace(): string
  • A method that returns the end point with rest url and or namepsace.

    Returns string

    • endpoint with rest url and or apiNamespace.

getParamsArray

  • getParamsArray(): string[]
  • Returns string[]

inputMap

  • inputMap(): any
  • Function that constructs the query string for API

    Returns any

Generated using TypeDoc