Options
All
  • Public
  • Public/Protected
  • All
Menu

Class that defines input to create a actual cart associated with a catalogCode and accountId.

extends

DigitalCommerceInput

Hierarchy

Index

Constructors

constructor

  • Constructor function for GetCatalogOffersInput class

    Returns CheckoutCartInput

Properties

Optional JSONResult

JSONResult: any

JSONResult in json format as part of the POST body of the API for creating cart.

accountId

accountId: string

accountId as part of the POST body of the API for creating cart.

actionObj

actionObj: Action

Action object json.

anonymousSiteUrl

anonymousSiteUrl: string

anonymousSiteUrl as the prefix of the API url for Off-Platform deployments.

apiNamespace

apiNamespace: string

API namespace.

catalogCode

catalogCode: string

catalogCode to be used in part of the POST body of the API for creating cart.

Optional fields

fields: string[]

List of fields to be returned.

offerConfigurations

offerConfigurations: any[]

The configured offer configurations to be added to cart.

remoteClass

remoteClass: string = "CpqAppHandler"

Remote class that handles this request.

remoteMethod

remoteMethod: string

Remote method that handles this request.

Methods

getAPIPath

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

    Returns string

getAnonymousSiteRestUrl

  • getAnonymousSiteRestUrl(): string

Protected getEncodedQueryString

  • getEncodedQueryString(): string

getInputMap

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

    Returns any

getRemoteMethod

  • getRemoteMethod(): string

getRequestPayload

  • getRequestPayload(): any
  • Function that constructs the Request body json for ApexRest Handles scenerio when JSONResult, accountId and catalogCode is null

    Returns any

Generated using TypeDoc