Inherits from NSObject
Declared in LULocationCreditRequestFactory.h
LULocationCreditRequestFactory.m

Overview

LULocationCreditRequestFactory is used to request available credit at a location.

Class Methods

requestForCreditAtLocationID:

Builds a request to retrieve available credit at a location. If the requesting user is authenticated, it will return the available credit for that user. If there is not an authenticated user, then the result will be the available credit for a brand new user.

+ (LUAPIRequest *)requestForCreditAtLocationID:(NSNumber *)locationID

Parameters

locationID

The ID of the location.

Discussion

Builds a request to retrieve available credit at a location. If the requesting user is authenticated, it will return the available credit for that user. If there is not an authenticated user, then the result will be the available credit for a brand new user.

On success, this request will return an LUMonetaryValue containing the available credit amount.

Warning: If an access token is present, it must have the LUPermissionManageUserCampaigns permission.

Declared In

LULocationCreditRequestFactory.h