LUUser Class Reference
| Inherits from | LUAPIModel : NSObject |
| Declared in | LUUser.h LUUser.m |
Tasks
-
birthdateproperty -
causeIDproperty -
customAttributesproperty -
debitCardOnlyproperty -
emailproperty -
firstNameproperty -
genderproperty -
globalCreditproperty -
lastNameproperty -
merchantsVisitedCountproperty -
ordersCountproperty -
passwordproperty -
termsAcceptedproperty -
totalSavingsproperty -
userIDproperty -
+ genderForGenderString: -
+ genderStringForGender:
Properties
birthdate
The user’s birthday.
@property (nonatomic, copy) NSDate *birthdateDiscussion
The user’s birthday.
Declared In
LUUser.hcauseID
The ID of the user’s current cause, if they have selected one.
@property (nonatomic, copy, readonly) NSNumber *causeIDDiscussion
The ID of the user’s current cause, if they have selected one.
Declared In
LUUser.hcustomAttributes
An arbitrary NSMutableDictionary of custom attributes. This may be used to store app-specific
user information.
@property (nonatomic, strong) NSMutableDictionary *customAttributesDiscussion
An arbitrary NSMutableDictionary of custom attributes. This may be used to store app-specific
user information.
Declared In
LUUser.hdebitCardOnly
Designates if the user is part of the debit_card_only AB Test (internal).
@property (nonatomic, assign, readonly) BOOL debitCardOnlyDiscussion
Designates if the user is part of the debit_card_only AB Test (internal).
Declared In
LUUser.hThe user’s email address.
@property (nonatomic, copy) NSString *emailDiscussion
The user’s email address.
Declared In
LUUser.hfirstName
The user’s first name.
@property (nonatomic, copy) NSString *firstNameDiscussion
The user’s first name.
Declared In
LUUser.hgender
The user’s gender. Maybe set to LUGenderMale, LUGenderFemale or LUGenderUnspecified.
@property (nonatomic, assign) LUGender genderDiscussion
The user’s gender. Maybe set to LUGenderMale, LUGenderFemale or LUGenderUnspecified.
Declared In
LUUser.hglobalCredit
The amount of the user’s global credit: that is, credit that can be used at any merchant.
@property (nonatomic, strong, readonly) LUMonetaryValue *globalCreditDiscussion
The amount of the user’s global credit: that is, credit that can be used at any merchant.
Declared In
LUUser.hlastName
The user’s last name.
@property (nonatomic, copy) NSString *lastNameDiscussion
The user’s last name.
Declared In
LUUser.hmerchantsVisitedCount
The total number of merchants at which the user has made an order.
@property (nonatomic, copy, readonly) NSNumber *merchantsVisitedCountDiscussion
The total number of merchants at which the user has made an order.
Declared In
LUUser.hordersCount
The total number of orders that the user has made on LevelUp.
@property (nonatomic, copy, readonly) NSNumber *ordersCountDiscussion
The total number of orders that the user has made on LevelUp.
Declared In
LUUser.hpassword
The user’s password. This is only used to set a password; it will always be nil when returned by the server.
@property (nonatomic, copy) NSString *passwordDiscussion
The user’s password. This is only used to set a password; it will always be nil when returned by the server.
Declared In
LUUser.htermsAccepted
Specifies if the user has accepted the LevelUp Terms & Conditions.
@property (nonatomic, assign) BOOL termsAcceptedDiscussion
Specifies if the user has accepted the LevelUp Terms & Conditions.
Declared In
LUUser.hClass Methods
genderForGenderString:
Returns an enumerated value representing a gender.
+ (LUGender)genderForGenderString:(NSString *)genderStringParameters
- genderString
The string representation of the gender. This string is case insensitive.
Discussion
Returns an enumerated value representing a gender.
Declared In
LUUser.hgenderStringForGender:
Returns a string representation of the gender for display. The return string will be capitalized (Male, Female).
+ (NSString *)genderStringForGender:(LUGender)genderParameters
- gender
The enumerated value for the gender.
Discussion
Returns a string representation of the gender for display. The return string will be capitalized (Male, Female).
Declared In
LUUser.h