com.retek.component.internet
Interface ExACustomer


public interface ExACustomer

This is a high level interface which controls access to customer information for the external API.

Retek Inc. Copyright (c) 2003


Method Summary
 void addEmailAddress(ExAEmail emailAddress)
          Adds an email address for this customer.
 void addShipToAddress(ExAAddress shipToAddress)
          Adds a ship-to for this customer.
 void addTelephoneNumber(ExATelephoneNumber telephone)
          Adds a telephone number for this customer.
 ExAAddress getBillToAddress()
          The bill-to address where the customer will receive the bill.
 ExAUser getCreatedBy()
          The ExAUser who created this customer.
 java.lang.String getCustomerNumber()
          The customer number
 java.util.Set getCustomerPreferences()
          A set of Customer Preferences
 java.util.List getEmailAddresses()
          A list of all ExAEmail addresses
 java.lang.String getFirstName()
          Customer's first name.
 java.lang.String getLastName()
          Customer's last name.
 java.lang.String getMiddleInitial()
          Customer's middle initials.
 ExATelephoneNumber getPrimaryDayTelephone()
          The day phone number for this customer.
 ExAEmail getPrimaryEmail()
          The primary email for this customer
 ExATelephoneNumber getPrimaryEveTelephone()
          The primary evening phone number.
 ExAAddress getPrimaryShipToAddress()
          The default ship-to address.
 java.util.Set getShipToAddresses()
          Returns all ExAAddresses for this customer.
 java.util.List getTelephoneNumbers()
          A list of all the ExATelephoneNumber.
 ExAUser getUpdatedBy()
          The ExAUser who updated this customer
 void setBillToAddress(ExAAddress billToAddress)
          Sets the bill-to address.
 void setFirstName(java.lang.String firstName)
          The first name.
 void setLastName(java.lang.String lastName)
          The last name.
 void setMiddleInitial(java.lang.String middleInitial)
          The middle initial.
 void setPrimaryDayTelephoneNumber(ExATelephoneNumber telephone)
          Sets the phone number as the primary phone number for this customer.
 void setPrimaryEmailAddress(ExAEmail emailAddress)
          Sets the email address as the primary email address
 void setPrimaryEveningTelephoneNumber(ExATelephoneNumber telephone)
          Sets true if this sku can be gift wrapped
 void setUpdatedBy(ExAUser user)
          Sets the user who last updated this customer.
 

Method Detail

getCustomerNumber

public java.lang.String getCustomerNumber()
The customer number

Returns:
String

getFirstName

public java.lang.String getFirstName()
Customer's first name.

Returns:
String

getMiddleInitial

public java.lang.String getMiddleInitial()
Customer's middle initials.

Returns:
String

getLastName

public java.lang.String getLastName()
Customer's last name.

Returns:
String

getBillToAddress

public ExAAddress getBillToAddress()
The bill-to address where the customer will receive the bill.

Returns:
ExAAddress

getPrimaryShipToAddress

public ExAAddress getPrimaryShipToAddress()
The default ship-to address.

Returns:
ExAAddress

getShipToAddresses

public java.util.Set getShipToAddresses()
Returns all ExAAddresses for this customer.

Returns:
Set

getPrimaryEmail

public ExAEmail getPrimaryEmail()
The primary email for this customer

Returns:
ExAEmail

getPrimaryDayTelephone

public ExATelephoneNumber getPrimaryDayTelephone()
The day phone number for this customer.

Returns:
ExATelephoneNumber

getPrimaryEveTelephone

public ExATelephoneNumber getPrimaryEveTelephone()
The primary evening phone number.

Returns:
ExATelephoneNumber

getTelephoneNumbers

public java.util.List getTelephoneNumbers()
A list of all the ExATelephoneNumber.

Returns:
List

getEmailAddresses

public java.util.List getEmailAddresses()
A list of all ExAEmail addresses

Returns:
List

getCustomerPreferences

public java.util.Set getCustomerPreferences()
A set of Customer Preferences

Returns:
Set

getCreatedBy

public ExAUser getCreatedBy()
The ExAUser who created this customer.

Returns:
ExAUser

getUpdatedBy

public ExAUser getUpdatedBy()
The ExAUser who updated this customer

Returns:
ExAUser

setFirstName

public void setFirstName(java.lang.String firstName)
The first name.


setMiddleInitial

public void setMiddleInitial(java.lang.String middleInitial)
The middle initial.


setLastName

public void setLastName(java.lang.String lastName)
The last name.


setBillToAddress

public void setBillToAddress(ExAAddress billToAddress)
Sets the bill-to address.


addShipToAddress

public void addShipToAddress(ExAAddress shipToAddress)
Adds a ship-to for this customer.


addEmailAddress

public void addEmailAddress(ExAEmail emailAddress)
Adds an email address for this customer.


setPrimaryEmailAddress

public void setPrimaryEmailAddress(ExAEmail emailAddress)
Sets the email address as the primary email address

Parameters:
emailAddress - for this customer.

addTelephoneNumber

public void addTelephoneNumber(ExATelephoneNumber telephone)
Adds a telephone number for this customer.

Parameters:
telephone -

setPrimaryDayTelephoneNumber

public void setPrimaryDayTelephoneNumber(ExATelephoneNumber telephone)
Sets the phone number as the primary phone number for this customer.


setPrimaryEveningTelephoneNumber

public void setPrimaryEveningTelephoneNumber(ExATelephoneNumber telephone)
Sets true if this sku can be gift wrapped


setUpdatedBy

public void setUpdatedBy(ExAUser user)
Sets the user who last updated this customer.



Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25