Class CustomerAddressImpl
java.lang.Object
com.commercetools.importapi.models.customers.CustomerAddressImpl
- All Implemented Interfaces:
CustomerAddress
,io.vrap.rmf.base.client.ModelBase
public class CustomerAddressImpl
extends Object
implements CustomerAddress, io.vrap.rmf.base.client.ModelBase
Different from Address in that key
is required and id
is not supported.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCity()
A two-digit country code as per ISO 3166-1 alpha-2.Custom Fields for the address.getEmail()
getFax()
getKey()
User-defined identifier for the address.getPhone()
getPOBox()
getState()
getTitle()
int
hashCode()
void
setAdditionalAddressInfo
(String additionalAddressInfo) set additionalAddressInfovoid
setAdditionalStreetInfo
(String additionalStreetInfo) set additionalStreetInfovoid
setApartment
(String apartment) set apartmentvoid
setBuilding
(String building) set buildingvoid
set cityvoid
setCompany
(String company) set companyvoid
setCountry
(String country) A two-digit country code as per ISO 3166-1 alpha-2.void
Custom Fields for the address.void
setDepartment
(String department) set departmentvoid
set emailvoid
setExternalId
(String externalId) set externalIdvoid
set faxvoid
setFirstName
(String firstName) set firstNamevoid
User-defined identifier for the address.void
setLastName
(String lastName) set lastNamevoid
set mobilevoid
set phonevoid
set pOBoxvoid
setPostalCode
(String postalCode) set postalCodevoid
set regionvoid
setSalutation
(String salutation) set salutationvoid
set statevoid
setStreetName
(String streetName) set streetNamevoid
setStreetNumber
(String streetNumber) set streetNumbervoid
set titleMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.customers.CustomerAddress
withCustomerAddress
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomerAddressImpl
public CustomerAddressImpl()create empty instance
-
-
Method Details
-
getKey
User-defined identifier for the address. Must follow the pattern
[a-zA-Z0-9_\-]{2,256}
and must be unique per customer.- Specified by:
getKey
in interfaceCustomerAddress
- Returns:
- key
-
getTitle
- Specified by:
getTitle
in interfaceCustomerAddress
- Returns:
- title
-
getSalutation
- Specified by:
getSalutation
in interfaceCustomerAddress
- Returns:
- salutation
-
getFirstName
- Specified by:
getFirstName
in interfaceCustomerAddress
- Returns:
- firstName
-
getLastName
- Specified by:
getLastName
in interfaceCustomerAddress
- Returns:
- lastName
-
getStreetName
- Specified by:
getStreetName
in interfaceCustomerAddress
- Returns:
- streetName
-
getStreetNumber
- Specified by:
getStreetNumber
in interfaceCustomerAddress
- Returns:
- streetNumber
-
getAdditionalStreetInfo
- Specified by:
getAdditionalStreetInfo
in interfaceCustomerAddress
- Returns:
- additionalStreetInfo
-
getPostalCode
- Specified by:
getPostalCode
in interfaceCustomerAddress
- Returns:
- postalCode
-
getCity
- Specified by:
getCity
in interfaceCustomerAddress
- Returns:
- city
-
getRegion
- Specified by:
getRegion
in interfaceCustomerAddress
- Returns:
- region
-
getState
- Specified by:
getState
in interfaceCustomerAddress
- Returns:
- state
-
getCountry
A two-digit country code as per ISO 3166-1 alpha-2.
- Specified by:
getCountry
in interfaceCustomerAddress
- Returns:
- country
-
getCompany
- Specified by:
getCompany
in interfaceCustomerAddress
- Returns:
- company
-
getDepartment
- Specified by:
getDepartment
in interfaceCustomerAddress
- Returns:
- department
-
getBuilding
- Specified by:
getBuilding
in interfaceCustomerAddress
- Returns:
- building
-
getApartment
- Specified by:
getApartment
in interfaceCustomerAddress
- Returns:
- apartment
-
getPOBox
- Specified by:
getPOBox
in interfaceCustomerAddress
- Returns:
- pOBox
-
getPhone
- Specified by:
getPhone
in interfaceCustomerAddress
- Returns:
- phone
-
getMobile
- Specified by:
getMobile
in interfaceCustomerAddress
- Returns:
- mobile
-
getEmail
- Specified by:
getEmail
in interfaceCustomerAddress
- Returns:
-
getFax
- Specified by:
getFax
in interfaceCustomerAddress
- Returns:
- fax
-
getAdditionalAddressInfo
- Specified by:
getAdditionalAddressInfo
in interfaceCustomerAddress
- Returns:
- additionalAddressInfo
-
getExternalId
- Specified by:
getExternalId
in interfaceCustomerAddress
- Returns:
- externalId
-
getCustom
Custom Fields for the address.
- Specified by:
getCustom
in interfaceCustomerAddress
- Returns:
- custom
-
setKey
Description copied from interface:CustomerAddress
User-defined identifier for the address. Must follow the pattern
[a-zA-Z0-9_\-]{2,256}
and must be unique per customer.- Specified by:
setKey
in interfaceCustomerAddress
- Parameters:
key
- value to be set
-
setTitle
Description copied from interface:CustomerAddress
set title- Specified by:
setTitle
in interfaceCustomerAddress
- Parameters:
title
- value to be set
-
setSalutation
Description copied from interface:CustomerAddress
set salutation- Specified by:
setSalutation
in interfaceCustomerAddress
- Parameters:
salutation
- value to be set
-
setFirstName
Description copied from interface:CustomerAddress
set firstName- Specified by:
setFirstName
in interfaceCustomerAddress
- Parameters:
firstName
- value to be set
-
setLastName
Description copied from interface:CustomerAddress
set lastName- Specified by:
setLastName
in interfaceCustomerAddress
- Parameters:
lastName
- value to be set
-
setStreetName
Description copied from interface:CustomerAddress
set streetName- Specified by:
setStreetName
in interfaceCustomerAddress
- Parameters:
streetName
- value to be set
-
setStreetNumber
Description copied from interface:CustomerAddress
set streetNumber- Specified by:
setStreetNumber
in interfaceCustomerAddress
- Parameters:
streetNumber
- value to be set
-
setAdditionalStreetInfo
Description copied from interface:CustomerAddress
set additionalStreetInfo- Specified by:
setAdditionalStreetInfo
in interfaceCustomerAddress
- Parameters:
additionalStreetInfo
- value to be set
-
setPostalCode
Description copied from interface:CustomerAddress
set postalCode- Specified by:
setPostalCode
in interfaceCustomerAddress
- Parameters:
postalCode
- value to be set
-
setCity
Description copied from interface:CustomerAddress
set city- Specified by:
setCity
in interfaceCustomerAddress
- Parameters:
city
- value to be set
-
setRegion
Description copied from interface:CustomerAddress
set region- Specified by:
setRegion
in interfaceCustomerAddress
- Parameters:
region
- value to be set
-
setState
Description copied from interface:CustomerAddress
set state- Specified by:
setState
in interfaceCustomerAddress
- Parameters:
state
- value to be set
-
setCountry
Description copied from interface:CustomerAddress
A two-digit country code as per ISO 3166-1 alpha-2.
- Specified by:
setCountry
in interfaceCustomerAddress
- Parameters:
country
- value to be set
-
setCompany
Description copied from interface:CustomerAddress
set company- Specified by:
setCompany
in interfaceCustomerAddress
- Parameters:
company
- value to be set
-
setDepartment
Description copied from interface:CustomerAddress
set department- Specified by:
setDepartment
in interfaceCustomerAddress
- Parameters:
department
- value to be set
-
setBuilding
Description copied from interface:CustomerAddress
set building- Specified by:
setBuilding
in interfaceCustomerAddress
- Parameters:
building
- value to be set
-
setApartment
Description copied from interface:CustomerAddress
set apartment- Specified by:
setApartment
in interfaceCustomerAddress
- Parameters:
apartment
- value to be set
-
setPOBox
Description copied from interface:CustomerAddress
set pOBox- Specified by:
setPOBox
in interfaceCustomerAddress
- Parameters:
pOBox
- value to be set
-
setPhone
Description copied from interface:CustomerAddress
set phone- Specified by:
setPhone
in interfaceCustomerAddress
- Parameters:
phone
- value to be set
-
setMobile
Description copied from interface:CustomerAddress
set mobile- Specified by:
setMobile
in interfaceCustomerAddress
- Parameters:
mobile
- value to be set
-
setEmail
Description copied from interface:CustomerAddress
set email- Specified by:
setEmail
in interfaceCustomerAddress
- Parameters:
email
- value to be set
-
setFax
Description copied from interface:CustomerAddress
set fax- Specified by:
setFax
in interfaceCustomerAddress
- Parameters:
fax
- value to be set
-
setAdditionalAddressInfo
Description copied from interface:CustomerAddress
set additionalAddressInfo- Specified by:
setAdditionalAddressInfo
in interfaceCustomerAddress
- Parameters:
additionalAddressInfo
- value to be set
-
setExternalId
Description copied from interface:CustomerAddress
set externalId- Specified by:
setExternalId
in interfaceCustomerAddress
- Parameters:
externalId
- value to be set
-
setCustom
Description copied from interface:CustomerAddress
Custom Fields for the address.
- Specified by:
setCustom
in interfaceCustomerAddress
- Parameters:
custom
- value to be set
-
equals
-
hashCode
-