How does a coupon code is attached to a loyalty account when unlocked at the POS?