Inherits from NSObject
Declared in LUClaimRequestFactory.h
LUClaimRequestFactory.m

Overview

LUClaimRequestFactory is used to build requests related to claims.

Class Methods

requestToClaimCampaignWithCode:

Builds a request to claim a campaign.

+ (LUAPIRequest *)requestToClaimCampaignWithCode:(NSString *)code

Parameters

code

The code of the campaign to claim.

Discussion

Builds a request to claim a campaign.

On success, this request will return an instance of LUClaim.

Warning: This request requires an access token with the LUPermissionManageUserCampaigns permission.

Declared In

LUClaimRequestFactory.h

requestToClaimLegacyLoyaltyWithID:campaignID:

Builds a request to claim a legacy loyalty campaign.

+ (LUAPIRequest *)requestToClaimLegacyLoyaltyWithID:(NSString *)legacyID campaignID:(NSNumber *)campaignID

Parameters

legacyID

An identifying string. For example, a user’s loyalty card number.

campaignID

The ID of the campaign to claim.

Discussion

Builds a request to claim a legacy loyalty campaign.

On success, this request will return an LUClaim.

Warning: This request requires an access token with the LUPermissionManageUserCampaigns permission.

Declared In

LUClaimRequestFactory.h