Loading...
Area: Optimizely Campaign
Applies to versions: Not applicable

getCodeCount

Recommended reading 

Counts the coupon codes contained in a coupon block in Optimizely Campaign.

Type: long

Parameters

Name Type Value

sessionId

String

ID of the current session

blockId

long

ID of the coupon block

Return values

The number of coupon codes in this block

Code structure

long getCodeCount(String sessionId, long blockId)
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 24, 2018

Recommended reading