Options
All
  • Public
  • Public/Protected
  • All
Menu

This class defines an input for a price list.

Hierarchy

Index

Constructors

constructor

  • The constructor function that initializes the params to create the body of the PUT request.

    Parameters

    • params: PriceListEntryObject

      defines the price list entry. For example: params = { productId: "01t1H000004adiqQAA", pricingElementId: "a2n1H000001DGAuQAO", priceListId: "a2l1H00000F71qLQAR", displayText: "iPhone X", isActive: true | false, isBasePrice: true | false }

    Returns GetPriceListEntryInput

Properties

apexRestUrl

apexRestUrl: string

Apex Rest URL that handles this request.

apexRestUrlAWS

apexRestUrlAWS: string

apiNamespace

apiNamespace: string = ...

Salesforce organization.

params

The parameters required to create a price list entry. The params object should look like below: params = { productId: "01t1H000004adiqQAA", pricingElementId: "a2n1H000001DGAuQAO", priceListId: "a2l1H00000F71qLQAR", displayText: "iPhone X", isActive: true | false, isBasePrice: true | false }

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.

getPriceListInputString

  • getPriceListInputString(): object
  • Returns object

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