Inherits from LUAPIModel : NSObject
Declared in LUCampaignRepresentationSpendBasedLoyaltyV1.h
LUCampaignRepresentationSpendBasedLoyaltyV1.m

Overview

A representation of a spend based loyalty campaign, which means that credit is earned each time a specific amount of money is spent at the merchant.

Tasks

Properties

campaignID

The campaign’s ID.

@property (nonatomic, readonly, copy) NSNumber *campaignID

Discussion

The campaign’s ID.

Declared In

LUCampaignRepresentationSpendBasedLoyaltyV1.h

earn

The amount of money earned each time requiredSpend is spent.

@property (nonatomic, strong, readonly) LUMonetaryValue *earn

Discussion

The amount of money earned each time requiredSpend is spent.

Declared In

LUCampaignRepresentationSpendBasedLoyaltyV1.h

progress

The user’s progress towards unlocking credit.

@property (nonatomic, strong, readonly) LUMonetaryValue *progress

Discussion

The user’s progress towards unlocking credit.

After unlocking credit, this amount will cycle back to zero. For example, say requiredSpend is $50. As the user spends money, progress moves towards $50. Once they have spent over $50, they unlock credit, and then progress cycles back to $0 and then continues to move back towards $50 as more money is spent.

If this campaign representation is requested without an authenticated user, progress will always be $0.

Declared In

LUCampaignRepresentationSpendBasedLoyaltyV1.h

requiredSpend

The amount of money that must be spent in order to unlock credit.

@property (nonatomic, strong, readonly) LUMonetaryValue *requiredSpend

Discussion

The amount of money that must be spent in order to unlock credit.

Declared In

LUCampaignRepresentationSpendBasedLoyaltyV1.h