LUCampaignRepresentationVisitBasedLoyaltyV1 Class Reference
| Inherits from | LUAPIModel : NSObject |
| Declared in | LUCampaignRepresentationVisitBasedLoyaltyV1.h LUCampaignRepresentationVisitBasedLoyaltyV1.m |
Overview
A representation of a visit based loyalty campaign, which means that credit is unlocked every time the user visits the merchant a certain number of times. “Visiting” means placing an order greater than or equal to the qualifying spend amount at the merchant.
Tasks
-
campaignIDproperty -
earnproperty -
progressVisitCountproperty -
qualifyingOrderSpendproperty -
requiredVisitCountproperty
Properties
campaignID
The campaign’s ID.
@property (nonatomic, readonly, copy) NSNumber *campaignIDDiscussion
The campaign’s ID.
Declared In
LUCampaignRepresentationVisitBasedLoyaltyV1.hearn
The amount of money earned after visiting enough times to unlock credit.
@property (nonatomic, strong, readonly) LUMonetaryValue *earnDiscussion
The amount of money earned after visiting enough times to unlock credit.
Declared In
LUCampaignRepresentationVisitBasedLoyaltyV1.hprogressVisitCount
The user’s progress towards unlocking credit.
@property (nonatomic, assign, readonly) NSUInteger progressVisitCountDiscussion
The user’s progress towards unlocking credit.
After unlocking credit, this number will cycle back to zero. For example, say requiredVisitCount
is 10. As the user visits the merchant, progressVisitCount moves 10. Once they have visited 10
times, they unlock credit, and then progressVisitCount cycles back to 0 and continues to move
towards 10 as more visits occur.
If this campaign representation is requested without an authenticated user, progressVisitCount
will always be 0.
Declared In
LUCampaignRepresentationVisitBasedLoyaltyV1.hqualifyingOrderSpend
The minimum amount of money that must be spent for an order to qualify as a “visit”.
@property (nonatomic, strong, readonly) LUMonetaryValue *qualifyingOrderSpendDiscussion
The minimum amount of money that must be spent for an order to qualify as a “visit”.
If there is no minimum amount, this will be $0.
Declared In
LUCampaignRepresentationVisitBasedLoyaltyV1.hrequiredVisitCount
The number of visits a user must make at the merchant in order to unlock credit.
@property (nonatomic, assign, readonly) NSUInteger requiredVisitCountDiscussion
The number of visits a user must make at the merchant in order to unlock credit.
Declared In
LUCampaignRepresentationVisitBasedLoyaltyV1.h