MppConsumerInformation Class Reference
Inherits from | NSObject |
---|---|
Declared in | MppConsumerInformation.h MppConsumerInformation.m |
MppConsumerInformation properties
externalConsumerId
External consumer id.
@property (nonatomic, copy, readonly, nullable) NSString *externalConsumerId
Discussion
External consumer id.
Declared In
MppConsumerInformation.h
firstName
First name.
@property (nonatomic, copy, readonly, nonnull) NSString *firstName
Discussion
First name.
Declared In
MppConsumerInformation.h
middleName
Middle name.
@property (nonatomic, copy, readonly, nullable) NSString *middleName
Discussion
Middle name.
Declared In
MppConsumerInformation.h
lastName
Last name.
@property (nonatomic, copy, readonly, nonnull) NSString *lastName
Discussion
Last name.
Declared In
MppConsumerInformation.h
phones
Phones.
@property (nonatomic, copy, readonly, nonnull) NSArray<MppPhone*> *phones
Discussion
Phones.
Declared In
MppConsumerInformation.h
emails
Emails.
@property (nonatomic, copy, readonly, nonnull) NSArray<NSString*> *emails
Discussion
Emails.
Declared In
MppConsumerInformation.h
locale
Locale.
@property (nonatomic, copy, readonly, nonnull) NSString *locale
Discussion
Locale.
Declared In
MppConsumerInformation.h
countryCode
Country Code
@property (nonatomic, copy, readonly, nonnull) NSString *countryCode
Discussion
Country Code
Declared In
MppConsumerInformation.h
MppConsumerInformation methods
+ consumerInformationWithExternalConsumerId:firstName:middleName:lastname:phone:email:locale:countryCode:
Creates consumer information object.
+ (instancetype _Nullable)consumerInformationWithExternalConsumerId:(NSString *_Nullable)externalConsumerId firstName:(NSString *_Nonnull)firstName middleName:(NSString *_Nullable)middleName lastname:(NSString *_Nonnull)lastName phone:(MppPhone *_Nonnull)phone email:(NSString *_Nonnull)email locale:(NSString *_Nonnull)locale countryCode:(NSString *_Nonnull)countryCode
Parameters
externalConsumerId |
External consumer id. |
---|---|
firstName |
First name. |
middleName |
Middle name. |
lastName |
Last name. |
phone |
Phone. |
email |
Email. |
locale |
Locale. |
countryCode |
Country code. |
Discussion
Creates consumer information object.
Declared In
MppConsumerInformation.h
+ consumerInformationWithDictionary:
Creates consumer information object from dictionary.
+ (instancetype _Nullable)consumerInformationWithDictionary:(NSDictionary *_Nonnull)dictionary
Parameters
dictionary |
Dictionary. |
---|
Discussion
Creates consumer information object from dictionary.
Declared In
MppConsumerInformation.h
– toDictionary
Dictionary representing consumer information.
- (NSDictionary *_Nonnull)toDictionary
Return Value
Dictionary representing consumer information.
Discussion
Dictionary representing consumer information.
Declared In
MppConsumerInformation.h
– isValid
Verify if consumer information is valid.
- (BOOL)isValid
Return Value
true
value if consumer information is valid.
Discussion
Verify if consumer information is valid.
Declared In
MppConsumerInformation.h