PostalAddress
Object Hierarchy:
Description:
public class PostalAddress : Object
Object representing a postal mail address. The components of the address are never null, an empty string indicates that a property is not
set.
Namespace: Folks
Package: folks
Content:
Properties:
Creation methods:
- public PostalAddress (
string
? po_box, string
? extension, string
? street, string
? locality, string
? region, string
? postal_code, string
? country, string
? address_format, string
? uid)
Create a PostalAddress.
Methods:
- public
bool
is_empty ()
Whether none of the components is set.
- public
bool
equal (PostalAddress with)
Compare if two postal addresses are equal. Addresses are equal if all
their components are equal (where `null` compares equal only with `null`) and they have the same set of types (or both have no types).
- public
string
to_string ()
Get a formatted version of the address. The format is localised, and
by default is comma-separated.