Provide a brief description about the API method. What does it do? When to use it, etc.
Used for logging purposes - calculates the incremental points added to campaign members.
Replace the text below with the actual signature of the method. Be sure to include return type, params, and types for params
Map<Id, Decimal> getIncrementalCMpoints(
Map<Id, Decimal> prevCMpoints,
Map<Id, Decimal> currentCMpoints)
List out all of the parameters for the method. Be sure to provide a description of each
Parameters
- prevCMpoints - Map from CampaignMember to attribution weighting points
- currentCMpoints - Map from CampaignMember to attribution weighting points, a modified prevCMpoints
Returns
A map from CampaignMembers to attribution weighting points. Contains all the CampaignMembers in currentCMpoints. CampaignMember's mapped value is equal to their mapped value in currentCMpoints subtracted from their mapped value in prevCMpoints. If they don't exist in prevCMpoints, then it equals their mapped value in currentCMpoints.
Comments
0 comments
Please sign in to leave a comment.