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

isUsed

Queries whether a recipient has used (redeemed) a coupon code in Episerver Campaign.

Type: boolean

Parameters

NameTypeValue

sessionId

String

ID of the current session

blockId

long

ID of the coupon block

code

String

The coupon code to be queried

Return values

  • true: Coupon code has been converted
  • false: Coupon code has not been converted

Code structure

boolean isUsed(String sessionId, long blockId, String code)

Last updated: Apr 24, 2018