# com.beasys.commerce.ebusiness.customer
CustomerDelegate Interface

public interface CustomerDelegate
extends `Contact`, `RemoteRelationalReference`

Stores the information required to do business with a customer. It inherits most attributes from the Person object and adds the ability to authenticate and to bill for product via a credit card.

All Superinterfaces
  `Contact`, `RemoteRelationalReference`

All Known Subinterfaces
  `Customer`

## Method Summary

`public void` | `clearCreditCardsMap`() Removes all mappings from this map (optional operation).
`public void` | `clearShippingAddressMap`() Removes all mappings from this map (optional operation).
`public boolean` | `creditCardsMapContainsKey`(`Object` key) Returns true if this map contains a mapping for the specified key.
`public boolean` | `creditCardsMapContainsValue`(`CreditCard` element) Returns true if this map maps one or more keys to the specified value.
`public `Set`` | `creditCardsMapEntrySet`() Returns a set view of the mappings contained in this map.
`public int` | `creditCardsMapHashCode`() Returns the hash code value for this map.
`public `Set`` | `creditCardsMapKeySet`() Returns a set view of the keys contained in this map.
`public int` | `creditCardsMapSize`() Returns the number of key-value mappings in this map.
`public `Collection`` | `creditCardsMapValues`() Returns a collection view of the values contained in this map.
`public boolean` | `equalsCreditCardsMap`(`Object` object) Compares the specified object with this map for equality.
`public boolean` | `equalsShippingAddressMap`(`Object` object) Compares the specified object with this map for equality.
`public `CreditCard`` | `getCreditCards`(`Object` key) Returns the value to which this map maps the specified key.
`public `Map`` | `getCreditCardsMap`() Returns the entire map
`public `CustomerValue`` | `getCustomerByValue`() Get all of Customer's attributes.
`public `String`` | `getCustomerType`() Get the value of customerType
`public `String`` | `getDefaultShippingAddressCity`()
`public `String`` | `getDefaultShippingAddressCountry`()
`public `String`` | `getDefaultShippingAddressCounty`()
`public `String`` | `getDefaultShippingAddressDescription`()
`public `String`` | `getDefaultShippingAddressGeoCode`()
`public `String`` | `getDefaultShippingAddressPoBox`()
`public `String`` | `getDefaultShippingAddressPostalCode`()
`public `String`` | `getDefaultShippingAddressPostalCodeType`()
`public `String`` | `getDefaultShippingAddressState`()
`public `String`` | `getDefaultShippingAddressStreet1`()
`public `String`` | `getDefaultShippingAddressStreet2`()
`public `String`` | `getIdentifier`() Returns the identifier (primary key field) for this user.
`public `Address`` | `getShippingAddress`(`Object` key) Returns the value to which this map maps the specified key.
`public `Map`` | `getShippingAddressMap`() Returns the entire map
`public boolean` | `isCreditCardsMapEmpty`() Returns true if this map contains no key-value mappings.
`public boolean` | `isShippingAddressMapEmpty`() Returns true if this map contains no key-value mappings.
`public `CreditCard`` | `putCreditCards`(`Object` key, `CreditCard` element) Associates the specified value with the specified key in this map (optional operation).
`public void` | `putCreditCardsMap`(`Map` map) Copies all of the mappings from the specified map to this map (optional operation).
`public `Address`` | `putShippingAddress`(`Object` key, `Address` element) Associates the specified value with the specified key in this map (optional operation).
`public void` | `putShippingAddressMap`(`Map` map) Copies all of the mappings from the specified map to this map (optional operation).
`public `CreditCard`` | `removeCreditCards`(`Object` key) Removes the mapping for this key from this map if present (optional operation).
`public `Address`` | `removeShippingAddress`(`Object` key) Removes the mapping for this key from this map if present (optional operation).
`public void` | `setCreditCardsMap`(`Map` map) Sets the entire map
`public void` | `setCustomerByValue`(`CustomerValue` value) Set all of Customer's attributes to the passed in value.
`public void` | `setCustomerType`(`String` customerType) Set the value of customerType
`public void` | `setDefaultShippingAddressCity`(`String` city)
`public void` | `setDefaultShippingAddressCountry`(`String` country)
`public void` | `setDefaultShippingAddressCounty`(`String` county)
`public void` | `setDefaultShippingAddressGeoCode`(`String` geoCode)
`public void` | `setDefaultShippingAddressPoBox`(`String` poBox)
`public void` | `setDefaultShippingAddressPostalCode`(`String` postalCode)
`public void` | `setDefaultShippingAddressPostalCodeType`(`String` postalCodeType)
`public void` | `setDefaultShippingAddressState`(`String` state)
`public void` | `setDefaultShippingAddressStreet1`(`String` street1)
`public void` | `setDefaultShippingAddressStreet2`(`String` street2)
`public void` | `setDefaultShippingDescription`(`String` description)
`public void` | `setShippingAddressMap`(`Map` map) Sets the entire map
`public boolean` | `shippingAddressMapContainsKey`(`Object` key) Returns true if this map contains a mapping for the specified key.
`public boolean` | `shippingAddressMapContainsValue`(`Address` element) Returns true if this map maps one or more keys to the specified value.
`public `Set`` | `shippingAddressMapEntrySet`() Returns a set view of the mappings contained in this map.
`public int` | `shippingAddressMapHashCode`() Returns the hash code value for this map.
`public `Set`` | `shippingAddressMapKeySet`() Returns a set view of the keys contained in this map.
`public int` | `shippingAddressMapSize`() Returns the number of key-value mappings in this map.
`public `Collection`` | `shippingAddressMapValues`() Returns a collection view of the values contained in this map.

Methods from interface `com.beasys.commerce.axiom.contact.`Contact``
`getBusinessPhone, getContactAddress, getContactAddressCity, getContactAddressCountry, getContactAddressCounty, getContactAddressGeoCode, getContactAddressPoBox, getContactAddressPostalCode, getContactAddressPostalCodeType, getContactAddressState, getContactAddressStreet1, getContactAddressStreet2, getContactByValue, getEmail, getFax, getFirstName, getHomePhone, getLastName, getMiddleName, getSuffix, getTitle, setBusinessPhone, setContactAddress, setContactAddressCity, setContactAddressCountry, setContactAddressCounty, setContactAddressGeoCode, setContactAddressPoBox, setContactAddressPostalCode, setContactAddressPostalCodeType, setContactAddressState, setContactAddressStreet1, setContactAddressStreet2, setContactByValue, setEmail, setFax, setFirstName, setHomePhone, setLastName, setMiddleName, setSuffix, setTitle`

Methods from interface `com.beasys.commerce.foundation.`RemoteRelationalReference``
``get__classIdentifier`, `get__containingBelonging`, `get__containingEntity`, `get__mapKey`, `get__sequenceNumber`, `set__containingBelonging`, `set__containingEntity`, `set__mapKey``

## Method Detail

### clearCreditCardsMap() Method

    public void clearCreditCardsMap()
         throws RemoteException

Removes all mappings from this map (optional operation).

#### Exceptions

``RemoteException``

### clearShippingAddressMap() Method

    public void clearShippingAddressMap()
         throws RemoteException

Removes all mappings from this map (optional operation).

#### Exceptions

``RemoteException``

### creditCardsMapContainsKey(Object) Method

    public boolean creditCardsMapContainsKey(Object key)
         throws RemoteException

Returns true if this map contains a mapping for the specified key.

#### Exceptions

``RemoteException``

### creditCardsMapContainsValue(CreditCard) Method

    public boolean creditCardsMapContainsValue(CreditCard element)
         throws RemoteException

Returns true if this map maps one or more keys to the specified value.

#### Exceptions

``RemoteException``

### creditCardsMapEntrySet() Method

    public Set creditCardsMapEntrySet()
         throws RemoteException

Returns a set view of the mappings contained in this map.

#### Exceptions

``RemoteException``

### creditCardsMapHashCode() Method

    public int creditCardsMapHashCode()
         throws RemoteException

Returns the hash code value for this map.

#### Exceptions

``RemoteException``

### creditCardsMapKeySet() Method

    public Set creditCardsMapKeySet()
         throws RemoteException

Returns a set view of the keys contained in this map.

#### Exceptions

``RemoteException``

### creditCardsMapSize() Method

    public int creditCardsMapSize()
         throws RemoteException

Returns the number of key-value mappings in this map.

#### Exceptions

``RemoteException``

### creditCardsMapValues() Method

    public Collection creditCardsMapValues()
         throws RemoteException

Returns a collection view of the values contained in this map.

#### Exceptions

``RemoteException``

### equalsCreditCardsMap(Object) Method

    public boolean equalsCreditCardsMap(Object object)
         throws RemoteException

Compares the specified object with this map for equality.

#### Exceptions

``RemoteException``

### equalsShippingAddressMap(Object) Method

    public boolean equalsShippingAddressMap(Object object)
         throws RemoteException

Compares the specified object with this map for equality.

#### Exceptions

``RemoteException``

### getCreditCards(Object) Method

    public CreditCard getCreditCards(Object key)
         throws RemoteException

Returns the value to which this map maps the specified key.

#### Exceptions

``RemoteException``

### getCreditCardsMap() Method

    public Map getCreditCardsMap()
         throws RemoteException

Returns the entire map

#### Exceptions

``RemoteException``

### getCustomerByValue() Method

    public CustomerValue getCustomerByValue()
         throws RemoteException

Get all of Customer's attributes.

#### Returns

CustomerValue the Customer value object

#### Exceptions

``RemoteException``

### getCustomerType() Method

    public String getCustomerType()
         throws RemoteException

Get the value of customerType

#### Returns

customerType.

#### Exceptions

``RemoteException``

### getDefaultShippingAddressCity() Method

    public String getDefaultShippingAddressCity()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressCountry() Method

    public String getDefaultShippingAddressCountry()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressCounty() Method

    public String getDefaultShippingAddressCounty()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressDescription() Method

    public String getDefaultShippingAddressDescription()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressGeoCode() Method

    public String getDefaultShippingAddressGeoCode()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressPoBox() Method

    public String getDefaultShippingAddressPoBox()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressPostalCode() Method

    public String getDefaultShippingAddressPostalCode()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressPostalCodeType() Method

    public String getDefaultShippingAddressPostalCodeType()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressState() Method

    public String getDefaultShippingAddressState()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressStreet1() Method

    public String getDefaultShippingAddressStreet1()
         throws RemoteException

#### Exceptions

``RemoteException``

### getDefaultShippingAddressStreet2() Method

    public String getDefaultShippingAddressStreet2()
         throws RemoteException

#### Exceptions

``RemoteException``

### getIdentifier() Method

    public String getIdentifier()
         throws RemoteException

Returns the identifier (primary key field) for this user.

#### Returns

the identifier (primary key field) for this user

#### Exceptions

``RemoteException``

### getShippingAddress(Object) Method

    public Address getShippingAddress(Object key)
         throws RemoteException

Returns the value to which this map maps the specified key.

#### Exceptions

``RemoteException``

### getShippingAddressMap() Method

    public Map getShippingAddressMap()
         throws RemoteException

Returns the entire map

#### Exceptions

``RemoteException``

### isCreditCardsMapEmpty() Method

    public boolean isCreditCardsMapEmpty()
         throws RemoteException

Returns true if this map contains no key-value mappings.

#### Exceptions

``RemoteException``

### isShippingAddressMapEmpty() Method

    public boolean isShippingAddressMapEmpty()
         throws RemoteException

Returns true if this map contains no key-value mappings.

#### Exceptions

``RemoteException``

### putCreditCards(Object, CreditCard) Method

    public CreditCard putCreditCards(Object key,
                                     CreditCard element)
         throws RemoteException

Associates the specified value with the specified key in this map (optional operation).

#### Exceptions

``RemoteException``

### putCreditCardsMap(Map) Method

    public void putCreditCardsMap(Map map)
         throws RemoteException

Copies all of the mappings from the specified map to this map (optional operation).

#### Exceptions

``RemoteException``

### putShippingAddress(Object, Address) Method

    public Address putShippingAddress(Object key,
                                      Address element)
         throws RemoteException

Associates the specified value with the specified key in this map (optional operation).

#### Exceptions

``RemoteException``

### putShippingAddressMap(Map) Method

    public void putShippingAddressMap(Map map)
         throws RemoteException

Copies all of the mappings from the specified map to this map (optional operation).

#### Exceptions

``RemoteException``

### removeCreditCards(Object) Method

    public CreditCard removeCreditCards(Object key)
         throws RemoteException

Removes the mapping for this key from this map if present (optional operation).

#### Exceptions

``RemoteException``

### removeShippingAddress(Object) Method

    public Address removeShippingAddress(Object key)
         throws RemoteException

Removes the mapping for this key from this map if present (optional operation).

#### Exceptions

``RemoteException``

### setCreditCardsMap(Map) Method

    public void setCreditCardsMap(Map map)
         throws RemoteException

Sets the entire map

#### Exceptions

``RemoteException``

### setCustomerByValue(CustomerValue) Method

    public void setCustomerByValue(CustomerValue value)
         throws RemoteException

Set all of Customer's attributes to the passed in value. Note: Primary key attributes are not set.

#### Parameters

value
  the Customer value object

#### Exceptions

``RemoteException``

### setCustomerType(String) Method

    public void setCustomerType(String customerType)
         throws RemoteException

Set the value of customerType

#### Parameters

customerType
  customerType to be added

#### Exceptions

``RemoteException``

### setDefaultShippingAddressCity(String) Method

    public void setDefaultShippingAddressCity(String city)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressCountry(String) Method

    public void setDefaultShippingAddressCountry(String country)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressCounty(String) Method

    public void setDefaultShippingAddressCounty(String county)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressGeoCode(String) Method

    public void setDefaultShippingAddressGeoCode(String geoCode)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressPoBox(String) Method

    public void setDefaultShippingAddressPoBox(String poBox)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressPostalCode(String) Method

    public void setDefaultShippingAddressPostalCode(String postalCode)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressPostalCodeType(String) Method

    public void setDefaultShippingAddressPostalCodeType(String postalCodeType)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressState(String) Method

    public void setDefaultShippingAddressState(String state)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressStreet1(String) Method

    public void setDefaultShippingAddressStreet1(String street1)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingAddressStreet2(String) Method

    public void setDefaultShippingAddressStreet2(String street2)
         throws RemoteException

#### Exceptions

``RemoteException``

### setDefaultShippingDescription(String) Method

    public void setDefaultShippingDescription(String description)
         throws RemoteException

#### Exceptions

``RemoteException``

### setShippingAddressMap(Map) Method

    public void setShippingAddressMap(Map map)
         throws RemoteException

Sets the entire map

#### Exceptions

``RemoteException``

### shippingAddressMapContainsKey(Object) Method

    public boolean shippingAddressMapContainsKey(Object key)
         throws RemoteException

Returns true if this map contains a mapping for the specified key.

#### Exceptions

``RemoteException``

### shippingAddressMapContainsValue(Address) Method

    public boolean shippingAddressMapContainsValue(Address element)
         throws RemoteException

Returns true if this map maps one or more keys to the specified value.

#### Exceptions

``RemoteException``

### shippingAddressMapEntrySet() Method

    public Set shippingAddressMapEntrySet()
         throws RemoteException

Returns a set view of the mappings contained in this map.

#### Exceptions

``RemoteException``

### shippingAddressMapHashCode() Method

    public int shippingAddressMapHashCode()
         throws RemoteException

Returns the hash code value for this map.

#### Exceptions

``RemoteException``

### shippingAddressMapKeySet() Method

    public Set shippingAddressMapKeySet()
         throws RemoteException

Returns a set view of the keys contained in this map.

#### Exceptions

``RemoteException``

### shippingAddressMapSize() Method

    public int shippingAddressMapSize()
         throws RemoteException

Returns the number of key-value mappings in this map.

#### Exceptions

``RemoteException``

### shippingAddressMapValues() Method

    public Collection shippingAddressMapValues()
         throws RemoteException

Returns a collection view of the values contained in this map.

#### Exceptions

``RemoteException``