LUPaymentToken Class Reference
| Inherits from | LUAPIModel : NSObject |
| Declared in | LUPaymentToken.h LUPaymentToken.m |
Overview
LUPaymentToken is a payment token used to represent a user when they make a transaction. The
payment token’s data is presented in a QR code, which is scanned when the user pays. Each payment
token is scoped to the app which is requesting it.
A payment token may optionally have a message associated with it, which should be shown to the
user. If the payment token has a message, it might also have an action, which directs the user
to a particular screen in the app. See LUConstants.h for a list of possible actions.
Properties
action
An optional action associated with this token. If a payment token has an action, it will have a message as well.
@property (nonatomic, copy, readonly) NSString *actionDiscussion
An optional action associated with this token. If a payment token has an action, it will have a message as well.
Declared In
LUPaymentToken.hdata
This payment token’s data. Use the LUQRCodeGenerator class to generate QR codes from this data
which include the user’s tip selection.
@property (nonatomic, copy, readonly) NSString *dataDiscussion
This payment token’s data. Use the LUQRCodeGenerator class to generate QR codes from this data
which include the user’s tip selection.
Declared In
LUPaymentToken.hmessage
An optional message associated with this token. The message should be displayed to the user along
with the payment token. A token with a message may have an action as well, but not always.
@property (nonatomic, copy, readonly) NSString *messageDiscussion
An optional message associated with this token. The message should be displayed to the user along
with the payment token. A token with a message may have an action as well, but not always.
Declared In
LUPaymentToken.h