Inherits from NSObject
Declared in VMConsumer.h
VMConsumer.m

Overview

VMConsumer is a class that incapsulates the Consumer personal information.

Tasks

Properties

dateOfBirth

Consumer’s date of birth.

@property (nonatomic, strong) NSDate *dateOfBirth

Declared In

VMConsumer.h

emailAddress

Consumer’s email address.

@property (nonatomic, strong) NSString *emailAddress

Declared In

VMConsumer.h

firstName

Consumer’s first name.

@property (nonatomic, strong) NSString *firstName

Declared In

VMConsumer.h

fullName

Consumer’s full name.

@property (nonatomic, strong) NSString *fullName

Declared In

VMConsumer.h

gender

Consumer’s gender.

@property (nonatomic) VMGender gender

Declared In

VMConsumer.h

homeCity

Consumer’s home city.

@property (nonatomic, strong) NSString *homeCity

Declared In

VMConsumer.h

lastName

Consumer’s last name.

@property (nonatomic, strong) NSString *lastName

Declared In

VMConsumer.h

userName

Consumer’s username.

@property (nonatomic, strong) NSString *userName

Declared In

VMConsumer.h

Instance Methods

initWithDictionary:

Initialize new VMConsumer object with dictionary representation.

- (VMConsumer *)initWithDictionary:(NSDictionary *)dicitionary

Parameters

dicitionary

Initializing dictionary.

Return Value

A new Consumer object.

Declared In

VMConsumer.h