LUGiftCardOrder Class Reference
| Inherits from | LUAPIModel : NSObject |
| Declared in | LUGiftCardOrder.h LUGiftCardOrder.m |
Overview
Representation of a gift card order. Used with LUGiftCardRequestFactory to create a LevelUp gift
card.
Gift cards can be global (they can be used at any LevelUp merchant) or can be for a specific merchant.
Tasks
-
merchantIDproperty -
recipientEmailproperty -
recipientMessageproperty -
recipientNameproperty -
valueproperty -
– initWithMerchantID:recipientEmail:recipientMessage:recipientName:value:
Properties
merchantID
The merchant ID for the gift card. If nil, the gift card can be used at any merchant.
@property (nonatomic, copy, readonly) NSNumber *merchantIDDiscussion
The merchant ID for the gift card. If nil, the gift card can be used at any merchant.
Declared In
LUGiftCardOrder.hrecipientEmail
The gift card recipient’s email.
@property (nonatomic, copy, readonly) NSString *recipientEmailDiscussion
The gift card recipient’s email.
Declared In
LUGiftCardOrder.hrecipientMessage
A message to display to the gift card recipient when they receive the gift card.
@property (nonatomic, copy, readonly) NSString *recipientMessageDiscussion
A message to display to the gift card recipient when they receive the gift card.
Declared In
LUGiftCardOrder.hInstance Methods
initWithMerchantID:recipientEmail:recipientMessage:recipientName:value:
Initializer for LUGiftCardOrder.
- (instancetype)initWithMerchantID:(NSNumber *)merchantID recipientEmail:(NSString *)recipientEmail recipientMessage:(NSString *)recipientMessage recipientName:(NSString *)recipientName value:(LUMonetaryValue *)valueParameters
- merchantID
The merchant ID for the gift card. If
nil, the gift card can be used at any merchant.
- recipientEmail
The gift card recipient’s email.
- recipientMessage
A message to display to the gift card recipient when they receive the gift card.
- recipientName
The gift card recipient’s name.
- value
The gift card’s amount.
Discussion
Initializer for LUGiftCardOrder.
Declared In
LUGiftCardOrder.h