Inherits from NSObject
Conforms to RESerializable
REValidable
Declared in REAddress.h

Overview

Encapculates all the required user information, including name, last name and address. It is used to encapsulate the billing address in a payment request.

Tasks

Properties

address1

@property (nonatomic, strong) NSString *address1
Discussion

Address line 1

Declared In

REAddress.h

address2

@property (nonatomic, strong) NSString *address2
Discussion

Address line 2

Declared In

REAddress.h

city

@property (nonatomic, strong) NSString *city
Discussion

City name

Declared In

REAddress.h

companyName

@property (nonatomic, strong) NSString *companyName
Discussion

Company name

Declared In

REAddress.h

countryCode

@property (nonatomic, strong) NSString *countryCode
Discussion

Country code

Declared In

REAddress.h

firstName

@property (nonatomic, strong) NSString *firstName
Discussion

First name

Declared In

REAddress.h

lastName

@property (nonatomic, strong) NSString *lastName
Discussion

Last name

Declared In

REAddress.h

phone

@property (nonatomic, strong) NSString *phone
Discussion

Phone number

Declared In

REAddress.h

postalCode

@property (nonatomic, strong) NSString *postalCode
Discussion

Postal code

Declared In

REAddress.h

state

@property (nonatomic, strong) NSString *state
Discussion

State

Declared In

REAddress.h

vatCode

@property (nonatomic, strong) NSString *vatCode
Discussion

VAT code

Declared In

REAddress.h

Instance Methods

initWithABRecord:

- (instancetype)initWithABRecord:(ABRecordRef)record
Discussion

Initializes a REAddress from an AddressBook reference

Parameters

record

AddressBook’s record

Declared In

REAddress.h