getFullName()
:
String
Returns a concatenation of the customer's first, middle, and last names and its suffix.
setPhone(phoneNumber
:
String)
:
void
Sets the customer's phone number.
getAddress1
Returns the customer's first address.
Returns:
the first address value.
getAddress2
Returns the customer's second address value.
Returns:
the value of the second address.
getCity
Returns the customer's city.
Returns:
the customer's city.
getCompanyName
Returns the customer's company name.
Returns:
the company name.
getCountryCode
Returns:
the two-digit country code.
getFirstName
Returns the customer's first name.
Returns:
the customer first name.
getFullName
Returns a concatenation of the customer's first, middle,
and last names and its suffix.
Returns:
a concatenation of the customer's first, middle, and last names and its suffix.
getID
Returns the name of the address.
Returns:
the address name.
getJobTitle
Returns the customer's job title.
getLastName
Returns the customer's last name.
getPhone
Returns the customer's phone number.
Returns:
the phone number.
getPostalCode
Returns the customer's postal code.
Returns:
the postal code.
getPostBox
Returns the customer's post box.
getSalutation
Returns the customer's salutation.
getSecondName
Returns the customer's second name.
Returns:
the second name.
getStateCode
Returns the customer's state.
getSuffix
Returns the customer's suffix.
getSuite
Returns the customer's suite.
getTitle
Returns the customer's title.
isEquivalentAddress
isEquivalentAddress(address
:
Object)
:
boolean
Returns true if the specified address is equivalent to
this address. An equivalent address is an address whose
core attributes contain the same values. The core attributes
are:
- address1
- address2
- city
- companyName
- countryCode
- firstName
- lastName
- postalCode
- postBox
- stateCode
Parameters:
address
-
the address to test.
Returns:
true if the specified address is equivalent to this address, false otherwise.
setAddress1
setAddress1(value
:
String)
:
void
Sets the value of the customer's first address.
Parameters:
value
-
The value to set.
setAddress2
setAddress2(value
:
String)
:
void
Sets the customer's second address value.
Parameters:
value
-
The value to set.
setCity
Sets the customer's city.
Parameters:
city
-
the customer's city to set.
setCompanyName
setCompanyName(companyName
:
String)
:
void
Sets the customer's company name.
Parameters:
companyName
-
the name of the company.
setCountryCode
setCountryCode(countryCode
:
String)
:
void
Parameters:
countryCode
-
the country code, must be no more than 2 characters or will be truncated.
setFirstName
setFirstName(firstName
:
String)
:
void
Sets the customer's first name.
Parameters:
firstName
-
the customer's first name to set.
setID
Sets the address name.
Parameters:
value
-
the name to use.
setJobTitle
setJobTitle(jobTitle
:
String)
:
void
Sets the customer's job title.
Parameters:
jobTitle
-
The jobTitle to set.
setLastName
setLastName(lastName
:
String)
:
void
Sets the customer's last name.
Parameters:
lastName
-
The last name to set.
setPhone
setPhone(phoneNumber
:
String)
:
void
Sets the customer's phone number. The length is restricted to 32 characters.
Parameters:
phoneNumber
-
The phone number to set.
setPostalCode
setPostalCode(postalCode
:
String)
:
void
Sets the customer's postal code.
Parameters:
postalCode
-
The postal code to set.
setPostBox
setPostBox(postBox
:
String)
:
void
Sets the customer's post box.
Parameters:
postBox
-
The post box to set.
setSaluation
setSaluation(value
:
String)
:
void
Sets the customer's salutation.
Parameters:
value
-
the salutation.
setSalutation
setSalutation(value
:
String)
:
void
Sets the customer's salutation.
Parameters:
value
-
the salutation.
setSecondName
setSecondName(secondName
:
String)
:
void
Sets the customer's second name.
Parameters:
secondName
-
The second name to set.
setStateCode
setStateCode(state
:
String)
:
void
Sets the customer's state.
Parameters:
state
-
The state to set.
setSuffix
setSuffix(suffix
:
String)
:
void
Sets the customer's suffix.
Parameters:
suffix
-
The suffix to set.
setSuite
setSuite(value
:
String)
:
void
Sets the customer's suite. The length is restricted to 32 characters.
Parameters:
value
-
the suite to set.
setTitle
setTitle(title
:
String)
:
void
Sets the customer's title.
Parameters:
title
-
The title to set.