MppPhone Class Reference

Inherits from NSObject
Declared in MppPhone.h
MppPhone.m

Overview

Phone object used for Click To Pay push provisioning.

Other Methods

+ phoneWithCountryCode:phoneNumber:

Creates phone object.

+ (instancetype)phoneWithCountryCode:(NSString *_Nonnull)countryCode phoneNumber:(NSString *_Nonnull)phoneNumber

Parameters

countryCode

Country code

phoneNumber

Phone number

Discussion

Creates phone object.

Declared In

MppPhone.h

– toDictionary

Creates phone object from dictionary.

- (NSDictionary *)toDictionary

Discussion

Creates phone object from dictionary.

Declared In

MppPhone.h

MppPhone properties

  countryCode

Country code.

@property (nonatomic, copy, readonly, nonnull) NSString *countryCode

Discussion

Country code.

Declared In

MppPhone.h

  phoneNumber

Phone number

@property (nonatomic, copy, readonly, nonnull) NSString *phoneNumber

Discussion

Phone number

Declared In

MppPhone.h