Class AddressImpl

java.lang.Object
com.commercetools.importapi.models.common.AddressImpl
All Implemented Interfaces:
Address, io.vrap.rmf.base.client.ModelBase

public class AddressImpl extends Object implements Address, io.vrap.rmf.base.client.ModelBase
Address
  • Constructor Details

    • AddressImpl

      public AddressImpl()
      create empty instance
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface Address
      Returns:
      id
    • getKey

      public String getKey()
      Specified by:
      getKey in interface Address
      Returns:
      key
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Address
      Returns:
      title
    • getSalutation

      public String getSalutation()
      Specified by:
      getSalutation in interface Address
      Returns:
      salutation
    • getFirstName

      public String getFirstName()
      Specified by:
      getFirstName in interface Address
      Returns:
      firstName
    • getLastName

      public String getLastName()
      Specified by:
      getLastName in interface Address
      Returns:
      lastName
    • getStreetName

      public String getStreetName()
      Specified by:
      getStreetName in interface Address
      Returns:
      streetName
    • getStreetNumber

      public String getStreetNumber()
      Specified by:
      getStreetNumber in interface Address
      Returns:
      streetNumber
    • getAdditionalStreetInfo

      public String getAdditionalStreetInfo()
      Specified by:
      getAdditionalStreetInfo in interface Address
      Returns:
      additionalStreetInfo
    • getPostalCode

      public String getPostalCode()
      Specified by:
      getPostalCode in interface Address
      Returns:
      postalCode
    • getCity

      public String getCity()
      Specified by:
      getCity in interface Address
      Returns:
      city
    • getRegion

      public String getRegion()
      Specified by:
      getRegion in interface Address
      Returns:
      region
    • getState

      public String getState()
      Specified by:
      getState in interface Address
      Returns:
      state
    • getCountry

      public String getCountry()

      A two-digit country code as per ISO 3166-1 alpha-2.

      Specified by:
      getCountry in interface Address
      Returns:
      country
    • getCompany

      public String getCompany()
      Specified by:
      getCompany in interface Address
      Returns:
      company
    • getDepartment

      public String getDepartment()
      Specified by:
      getDepartment in interface Address
      Returns:
      department
    • getBuilding

      public String getBuilding()
      Specified by:
      getBuilding in interface Address
      Returns:
      building
    • getApartment

      public String getApartment()
      Specified by:
      getApartment in interface Address
      Returns:
      apartment
    • getPOBox

      public String getPOBox()
      Specified by:
      getPOBox in interface Address
      Returns:
      pOBox
    • getPhone

      public String getPhone()
      Specified by:
      getPhone in interface Address
      Returns:
      phone
    • getMobile

      public String getMobile()
      Specified by:
      getMobile in interface Address
      Returns:
      mobile
    • getEmail

      public String getEmail()
      Specified by:
      getEmail in interface Address
      Returns:
      email
    • getFax

      public String getFax()
      Specified by:
      getFax in interface Address
      Returns:
      fax
    • getAdditionalAddressInfo

      public String getAdditionalAddressInfo()
      Specified by:
      getAdditionalAddressInfo in interface Address
      Returns:
      additionalAddressInfo
    • getExternalId

      public String getExternalId()
      Specified by:
      getExternalId in interface Address
      Returns:
      externalId
    • getCustom

      public Custom getCustom()

      Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

      Specified by:
      getCustom in interface Address
      Returns:
      custom
    • setId

      public void setId(String id)
      Description copied from interface: Address
      set id
      Specified by:
      setId in interface Address
      Parameters:
      id - value to be set
    • setKey

      public void setKey(String key)
      Description copied from interface: Address
      set key
      Specified by:
      setKey in interface Address
      Parameters:
      key - value to be set
    • setTitle

      public void setTitle(String title)
      Description copied from interface: Address
      set title
      Specified by:
      setTitle in interface Address
      Parameters:
      title - value to be set
    • setSalutation

      public void setSalutation(String salutation)
      Description copied from interface: Address
      set salutation
      Specified by:
      setSalutation in interface Address
      Parameters:
      salutation - value to be set
    • setFirstName

      public void setFirstName(String firstName)
      Description copied from interface: Address
      set firstName
      Specified by:
      setFirstName in interface Address
      Parameters:
      firstName - value to be set
    • setLastName

      public void setLastName(String lastName)
      Description copied from interface: Address
      set lastName
      Specified by:
      setLastName in interface Address
      Parameters:
      lastName - value to be set
    • setStreetName

      public void setStreetName(String streetName)
      Description copied from interface: Address
      set streetName
      Specified by:
      setStreetName in interface Address
      Parameters:
      streetName - value to be set
    • setStreetNumber

      public void setStreetNumber(String streetNumber)
      Description copied from interface: Address
      set streetNumber
      Specified by:
      setStreetNumber in interface Address
      Parameters:
      streetNumber - value to be set
    • setAdditionalStreetInfo

      public void setAdditionalStreetInfo(String additionalStreetInfo)
      Description copied from interface: Address
      set additionalStreetInfo
      Specified by:
      setAdditionalStreetInfo in interface Address
      Parameters:
      additionalStreetInfo - value to be set
    • setPostalCode

      public void setPostalCode(String postalCode)
      Description copied from interface: Address
      set postalCode
      Specified by:
      setPostalCode in interface Address
      Parameters:
      postalCode - value to be set
    • setCity

      public void setCity(String city)
      Description copied from interface: Address
      set city
      Specified by:
      setCity in interface Address
      Parameters:
      city - value to be set
    • setRegion

      public void setRegion(String region)
      Description copied from interface: Address
      set region
      Specified by:
      setRegion in interface Address
      Parameters:
      region - value to be set
    • setState

      public void setState(String state)
      Description copied from interface: Address
      set state
      Specified by:
      setState in interface Address
      Parameters:
      state - value to be set
    • setCountry

      public void setCountry(String country)
      Description copied from interface: Address

      A two-digit country code as per ISO 3166-1 alpha-2.

      Specified by:
      setCountry in interface Address
      Parameters:
      country - value to be set
    • setCompany

      public void setCompany(String company)
      Description copied from interface: Address
      set company
      Specified by:
      setCompany in interface Address
      Parameters:
      company - value to be set
    • setDepartment

      public void setDepartment(String department)
      Description copied from interface: Address
      set department
      Specified by:
      setDepartment in interface Address
      Parameters:
      department - value to be set
    • setBuilding

      public void setBuilding(String building)
      Description copied from interface: Address
      set building
      Specified by:
      setBuilding in interface Address
      Parameters:
      building - value to be set
    • setApartment

      public void setApartment(String apartment)
      Description copied from interface: Address
      set apartment
      Specified by:
      setApartment in interface Address
      Parameters:
      apartment - value to be set
    • setPOBox

      public void setPOBox(String pOBox)
      Description copied from interface: Address
      set pOBox
      Specified by:
      setPOBox in interface Address
      Parameters:
      pOBox - value to be set
    • setPhone

      public void setPhone(String phone)
      Description copied from interface: Address
      set phone
      Specified by:
      setPhone in interface Address
      Parameters:
      phone - value to be set
    • setMobile

      public void setMobile(String mobile)
      Description copied from interface: Address
      set mobile
      Specified by:
      setMobile in interface Address
      Parameters:
      mobile - value to be set
    • setEmail

      public void setEmail(String email)
      Description copied from interface: Address
      set email
      Specified by:
      setEmail in interface Address
      Parameters:
      email - value to be set
    • setFax

      public void setFax(String fax)
      Description copied from interface: Address
      set fax
      Specified by:
      setFax in interface Address
      Parameters:
      fax - value to be set
    • setAdditionalAddressInfo

      public void setAdditionalAddressInfo(String additionalAddressInfo)
      Description copied from interface: Address
      set additionalAddressInfo
      Specified by:
      setAdditionalAddressInfo in interface Address
      Parameters:
      additionalAddressInfo - value to be set
    • setExternalId

      public void setExternalId(String externalId)
      Description copied from interface: Address
      set externalId
      Specified by:
      setExternalId in interface Address
      Parameters:
      externalId - value to be set
    • setCustom

      public void setCustom(Custom custom)
      Description copied from interface: Address

      Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

      Specified by:
      setCustom in interface Address
      Parameters:
      custom - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object