Constructor function for AssetToBasketInput class
User accountId for checkout api calls - optional
Action object json.
anonymousSiteUrl as the prefix of the API url for Off-Platform deployments.
API namespace.
A required POST Body param that the action to be performed: AssetToBasket - while passing list of root asset ids to be converted to basket, ; requires input param 'accountId'.
Expiration Date time of the cached item. Default is current time plus 5 minutes.
Flag to indicate where the data to be cached. Supported types are "INDEXEDDB, SESSIONSTORAGE and LOCALSTORAGE"
Flag to indicate if the sdk call should be cached.
boolean value to decide if secure server needs to be called.
canCreateBasket as part of the query string of the API. By default its false, when canCreateBasket=true is passed, it includes the canCreateFDO step in case of cacheMiss.
catalogCode to be used in part of the path of the API.
execute Integration Procedure as chainable.
context param as part of the query string of the API to define which offers qualify in returning result set. Since this api is for known user only, hence context is a required parameter. accountId is mandatory context parameter
List of custom fields to be returned.
List of fields to be returned.
forceInvalidateCache as part of the query string of the API to refresh the cache for the basket response.
Input Map values for the dataraptor procedure.
integration procedure name - optional
isLoggedIn as part of the query string of the API. By default this isLoggedIn value is set to true.
An optional POST Body parameter for adding items to cart.
Options Map values for the integration procedure.
Boolean flag to discard cache and call the api again. Default is false.
Remote class that handles this request.
Remote method that handles this request.
value indicating whether the user agent should send cookies from the other domain in the case of cross-origin requests
POST Body parameter for to create an basket from an asset. date or date time in UTC format
POST Body parameter for to create an basket from an asset. list of root asset ids to be converted to basket, forex:"02i4P000009ion5QAA,02i4P000009ion6QAA"
optional input param used as secure Server rest URL end point when Proxy SDK is used
Flag to indicate if the sdk call should be cached.
An optional POST Body object to store offer into cart for the further api requests.
validateAction is part of the query string of the API. optional parameter (By default its true, when validateAction=false is passed, the validation rules are not run on the orderitems)
validatePrice is part of the query string of the API. optional parameter (By default its true, when price=false is passed, the pricing is not run on the orderitems)
Function that constructs the API path for ApexRest Handles scenerio when namespace is null
Function that constructs the Anonymous API path for Rest
Function to return authorization token
optional param.
content type of the resource.
Function that constructs the query string for API
Function that constructs the input map object containing all query parameters for API
Function to return VF Remoting method name.
The credentials read-only property of the Request interface indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests.
Function that constructs the Request body json for ApexRest
Function that constructs the API path for secure server
Generated using TypeDoc
Class that defines input to create an basket from an asset operations.