The constructor function that initializes the params to create the body of the PUT request.
defines the new promotion item. For example: params = { promotionId : "a2tf2000001c5BM", actionType : "Add", cardinalityCheckScope : null, contextEntityFilterId : null, contextProductId : null, description : "Quad Play Fall Promo", effectiveFromDate : "2018-01-01T08:00:00.000+0000", effectiveUntilDate : "2025-12-31T08:00:00.000+0000", isActive : true, isUndoable : false, maxQuantity : 2.0, minQuantity : 1.0, offerId : null, productId : "01tf2000007Mmu4AAC", quantity : 1.0, undoableMessage : null, updateScope : "Update Item Only" }
Apex Rest URL that handles this request.
Salesforce organization.
The parameters required to create a promotion item. The params object should look like below: params = { promotionId : "a2tf2000001c5BM", actionType : "Add", cardinalityCheckScope : null, contextEntityFilterId : null, contextProductId : null, description : "Quad Play Fall Promo", effectiveFromDate : "2018-01-01T08:00:00.000+0000", effectiveUntilDate : "2025-12-31T08:00:00.000+0000", isActive : true, isUndoable : false, maxQuantity : 2.0, minQuantity : 1.0, offerId : null, productId : "01tf2000007Mmu4AAC", quantity : 1.0, undoableMessage : null, updateScope : "Update Item Only" }
Remote class that handles this request.
Remote method that handles this request.
Rest URL that handles this request.
A method that returns the end point with apex rest url with namepsace if defined.
A method that returns the end point with rest url and or namepsace.
Constructs the paramsArray for ApexRemote call.
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
This class defines an input for creating a promotion.