Three attributes are defined as part of the address book: billingAddress
, shippingAddress
and secondaryAddresses
. The billing and shipping address is a contactInfo
and the secondary addresses are a map of contactInfo
objects. It is intended that the billingAddress
and shippingAddress
attributes are for “default” address values for the user. The user can create nicknames for other addresses and store those as the key/value pairs in the secondaryAddresses
map.