LUPaymentTokenRequestFactory Class Reference
| Inherits from | NSObject |
| Declared in | LUPaymentTokenRequestFactory.h LUPaymentTokenRequestFactory.m |
Overview
LUPaymentTokenRequestFactory is used to build the request to retrieve a user’s payment token.
Class Methods
requestForPaymentToken
Builds a request to retrieve the current user’s payment token.
+ (LUAPIRequest *)requestForPaymentTokenDiscussion
Builds a request to retrieve the current user’s payment token.
The user may not be payment eligible. This could happen if they haven’t added any credit cards, or
if their credit card has expired. When that happens, this request will fail with the error code
LUAPIErrorNotFound.
Warning: This request requires an access token with the LUPermissionReadQRCode permission.
Declared In
LUPaymentTokenRequestFactory.h