Inherits EMModel.
Public Member Functions | |
| (id) | - initWithAddress:secondLine:city:state:zipCode: |
| (void) | - clearAddress |
| (NSString *) | - fullAddress: |
| (NSString *) | - fullAddress |
| (BOOL) | - isValid |
| (BOOL) | - isEqualTo: |
| (NSString *) | - getPhoneNoOne: |
Static Public Member Functions | |
| (id) | + postalAddressWithAddress:secondLine:city:state:zip: |
| (NSArray *) | + USStates |
| (NSString *) | + GetTwoLetterState: |
Protected Attributes | |
| NSString * | _type |
Properties | |
| NSString * | name |
| NSString * | firstName |
| NSString * | lastName |
| NSString * | streetAddress |
| NSString * | streetAddress2 |
| NSString * | aptunit |
| NSString * | city |
| NSString * | state |
| NSString * | postalCode |
| NSString * | country |
| NSString * | phone |
| NSString * | countryCode |
| NSString * | phoneNoOne |
| NSString * | type |
| - (NSString *) fullAddress |
-fullAddress is shorthand for calling -fullAddress:YES.
| - (NSString *) fullAddress: | (BOOL) | multiline |
returns all the components of the address as a string
| - (NSString *) getPhoneNoOne: | (NSString *) | phoneNumber |
returns the a version of the given phone number without the 1 digit (if it exists) at the beginning
- (NSString*) type [read, write, retain] |
Has values of "shipping", @"billing", or @"shippingbilling".
1.8.0