getFullName()
:
String
Returns a concatenation of the Customer's first, middle, and last names and it' 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.
Returns:
the second address value.
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 customer's country code.
Returns:
the 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 it' suffix.
Returns:
a concatenation of the Customer's first, middle, and last names and it' suffix.
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.
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.
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 customer's first address.
Parameters:
value
-
The value to set.
setAddress2
setAddress2(value
:
String)
:
void
Sets the customer's second address.
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
Sets the Customer's country code.
Parameters:
countryCode
-
the country code.
setFirstName
setFirstName(firstName
:
String)
:
void
Sets the Customer's first name.
Parameters:
firstName
-
the customer's first name to set.
setJobTitle
setJobTitle(jobTitle
:
String)
:
void
Sets the customer's job title.
Parameters:
jobTitle
-
The job title 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 256 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 customer's salutation.
setSalutation
setSalutation(value
:
String)
:
void
Sets the customer's salutation.
Parameters:
value
-
the customer's 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 256 characters.
Parameters:
value
-
the customer's suite.
setTitle
setTitle(title
:
String)
:
void
Sets the customer's title.
Parameters:
title
-
The title to set.