Inherits from NSObject
Declared in LUInterstitialRequestFactory.h
LUInterstitialRequestFactory.m

Overview

LUInterstitialRequestFactory builds requests to retrieve interstitials.

Class Methods

requestForInterstitialForOrderWithUUID:

Builds a request for an interstitial for an order with the given UUID.

+ (LUAPIRequest *)requestForInterstitialForOrderWithUUID:(NSString *)UUID

Parameters

UUID

The UUID of an order.

Discussion

Builds a request for an interstitial for an order with the given UUID.

If this order does not have an interestitial, this request will fail with the error code LUAPIErrorNotFound.

Warning: This request requires an access token with either the LUPermissionCreateOrders or LUPermissionReadQRCode permission.

Declared In

LUInterstitialRequestFactory.h

requestToSubmitFeedbackForOrderWithUUID:questionText:rating:comment:

Builds a request to submit feedback from a feedback interstitial.

+ (LUAPIRequest *)requestToSubmitFeedbackForOrderWithUUID:(NSString *)UUID questionText:(NSString *)questionText rating:(int)rating comment:(NSString *)comment

Parameters

UUID

The UUID of an order.

questionText

The text of the question given to the user.

rating

The user’s rating of the order.

comment

The user’s comment on the order.

Discussion

Builds a request to submit feedback from a feedback interstitial.

If this order does not have an interestitial, this request will fail with the error code LUAPIErrorNotFound.

Warning: This request requires an access token with either the LUPermissionCreateOrders or LUPermissionReadQRCode permission.

Declared In

LUInterstitialRequestFactory.h