Class PostalAddress
Represents an postal address data structure
| see | |
|---|---|
| package | NextEvent\PHPSDK\Model | 
__call(string $name, array $args) : mixed
If the source of your model contains, e.g. a property named 'my_property',
you can call getMyProperty() to retrieve it's value.
string
                                            array
                                            mixed
                                                                    __construct(array $source)
Parse source data.
| Throws | 
 | 
|---|
arrayThe source data as received from the API
get(string $var) : mixed
Should be used, if you expect the model to have custom properties which are not known/covered by the known getters
string
                                            mixed
                                                                    getCountry() : string
string
                                                                    getLocality() : string
string
                                                                    getPostalCode() : string
string
                                                                    getStreetAddress() : string
string
                                                                    isValid() : boolean
boolean
                                                                    serialize() : string
Implements Serializable interface
string
                                                                    toArray() : array
array
                                                                    toLogContext() : array
Implements the LogContextInterface interface
array
                                                                    toString() : string
string
                                                                    unserialize( $serialized)
Implements Serializable interface