Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • The constructor function that initializes remoteClass, remoteMethod, and the parameters used for the ApexRemote call.

    Parameters

    • params: object

      defines what pricing element to look for. For example: params = { Amount: "1", PricingVariableId: "a2r1H000002zGcuQAE", PriceListId: "a2l1H00000F71qLQAR" }

    Returns GetPricingElementInput

Properties

apexRestUrl

apexRestUrl: string

Apex Rest URL that handles this request.

apexRestUrlAWS

apexRestUrlAWS: string

apiNamespace

apiNamespace: string = SalesForceNamespace.restAPIPrefix

Salesforce organization.

params

params: object

The parameters required to get a pricing element. The params object should look like below: params = { Amount: "1", PricingVariableId: "a2r1H000002zGcuQAE", PriceListId: "a2l1H00000F71qLQAR" }

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

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.

paramsArray

  • paramsArray(): string[]
  • Constructs the paramsArray for ApexRemote call.

    Returns string[]

    array of args to be supplied to ApexRemote Call. The sequence of the element corresponds to the arguments of the Apex @RemoteAction method.

Generated using TypeDoc