|
GData JavaScript Client 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.PostalAddress
Describes a postal address.
Defined in gdata.js
Field Summary | |
{string|undefined} |
$t
Address string. |
{string|undefined} |
label
Simple string value used to name this address. |
{string|undefined} |
primary
Whether this is the primary postal address. |
{string|undefined} |
rel
Postal address type. |
<static> <final> {string} |
REL_HOME
Home address. |
<static> <final> {string} |
REL_OTHER
Other address. |
<static> <final> {string} |
REL_WORK
Work address. |
Constructor Summary | |
google.gdata.PostalAddress(<Object> opt_params)
Constructs a postal address using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getLabel()
Returns the simple string value used to name this address. |
boolean|undefined
|
getPrimary()
Returns whether this is the primary postal address. |
string|undefined
|
getRel()
Returns the postal address type. |
string|undefined
|
getValue()
Returns the address string. |
void
|
setLabel(<string|undefined> label)
Sets the simple string value used to name this address. |
void
|
setPrimary(<boolean|undefined> primary)
Sets whether this is the primary postal address. |
void
|
setRel(<string|undefined> rel)
Sets the postal address type. |
void
|
setValue(<string|undefined> value)
Sets the address string. |
Field Detail |
{string|undefined} $t
{string|undefined} label
{string|undefined} primary
{string|undefined} rel
<static> <final> {string} REL_HOME
<static> <final> {string} REL_OTHER
<static> <final> {string} REL_WORK
Constructor Detail |
google.gdata.PostalAddress(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: label, primary, rel, and value.
Method Detail |
string|undefined getLabel()
boolean|undefined getPrimary()
string|undefined getRel()
string|undefined getValue()
void setLabel(<string|undefined> label)
label
- Simple string value used to name this address or undefined for none.
void setPrimary(<boolean|undefined> primary)
primary
- Whether this is the primary postal address or undefined for none.
void setRel(<string|undefined> rel)
rel
- Postal address type or undefined for none.
void setValue(<string|undefined> value)
value
- Address string or undefined for none.
|
GData JavaScript Client 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |