getScore

The getScore method returns the marketing score that is defined either by the interaction strategy in Unica Campaign or by the score override table.

getScore()

The getScore method returns one of the following:

  • The marketing score of the offer as defined on the interaction strategy tab in Unica Campaign if the enableScoreOverrideLookup property is set to false.
  • The score of the offer as defined by the scoreOverrideTable if the enableScoreOverrideLookup property is set to true.

Return value

The getScore method returns an integer that represents the score of the offer.