Class YMKSearchPhone

Organization phone.

Class Methods

Properties

country

Phone country code as unsigned integer.

ext

Phone extension as unsigned integer.

formattedNumber

Full phone number as human readable string.

info

Some additional info to differentiate multiple phones for single organization.

number

Phone number as unsigned integer.

prefix

Phone prefix as unsigned integer.

type

Phone type.

Method Detail

+phoneWithType:formattedNumber:info:country:prefix:ext:number:

+ (nonnull YMKSearchPhone *)phoneWithType:(YMKSearchPhoneType)type
                          formattedNumber:(nonnull NSString *)formattedNumber
                                     info:(nullable NSString *)info
                                  country:(nullable NSNumber *)country
                                   prefix:(nullable NSNumber *)prefix
                                      ext:(nullable NSNumber *)ext
                                   number:(NSUInteger)number 

Property Detail

country

(assign, readonly) NSNumber * country

Phone country code as unsigned integer.

Optional property, can be null.

ext

(assign, readonly) NSNumber * ext

Phone extension as unsigned integer.

Optional property, can be null.

formattedNumber

(assign, readonly) NSString * formattedNumber

Full phone number as human readable string.

info

(assign, readonly) NSString * info

Some additional info to differentiate multiple phones for single organization.

Optional property, can be null.

number

(assign, readonly) NSUInteger number

Phone number as unsigned integer.

prefix

(assign, readonly) NSNumber * prefix

Phone prefix as unsigned integer.

Optional property, can be null.

type

(assign, readonly) YMKSearchPhoneType type

Phone type.