LUOrderRequestFactory Class Reference
| Inherits from | NSObject |
| Declared in | LUOrderRequestFactory.h LUOrderRequestFactory.m |
Class Methods
requestForOrderWithUUID:
Builds a request to retrieve an order.
+ (LUAPIRequest *)requestForOrderWithUUID:(NSString *)UUIDParameters
- UUID
The UUID of the order to retrieve.
Discussion
Builds a request to retrieve an order.
On success, this request will return an LUOrder instance.
Warning: This request requires an access token with the LUPermissionReadUserOrders permission.
Declared In
LUOrderRequestFactory.hrequestForOrders
Builds a request to retrieve orders that the current user has made at merchants associated with the app.
+ (LUAPIRequest *)requestForOrdersDiscussion
Builds a request to retrieve orders that the current user has made at merchants associated with the app.
On success, this request will return an array of LUOrder instances. The response will include a
URL for the next page of results. This URL can be used with requestForOrdersOnPage: to retrieve
the next page of orders.
Warning: This request requires an access token with the LUPermissionReadUserOrders permission.
Declared In
LUOrderRequestFactory.hrequestForOrdersOnPage:
Builds a request to retrieve the given page of orders.
+ (LUAPIRequest *)requestForOrdersOnPage:(NSURL *)pageURLParameters
- pageURL
The next page of orders to request.
Discussion
Builds a request to retrieve the given page of orders.
On success, this request will return an array of LUOrder instances. If this page doesn’t include
any orders, the response will be empty with a status code of 204 (No Content).
Warning: This request requires an access token with the LUPermissionReadUserOrders permission.
Declared In
LUOrderRequestFactory.h