org.geebis.books.model.partner
Class Customer

java.lang.Object
  extended by org.geebis.books.model.partner.Partner
      extended by org.geebis.books.model.partner.Customer
All Implemented Interfaces:
java.io.Serializable

@Name(value="customer")
public class Customer
extends Partner
implements java.io.Serializable

The Customer class represents a customer.

See Also:
Serialized Form

Constructor Summary
Customer()
           
Customer(java.lang.String name)
           
 
Method Summary
 java.lang.String getAccountNumber()
          Gets the account number for this customer.
 java.lang.Double getCreditLimit()
          Gets the credit limit for this customer
 PriceLevel getPriceLevel()
          Gets the price level for this customer
 java.util.List<Trackable> getTrackables()
          Gets the trackables for this customer
 void setAccountNumber(java.lang.String accountNumber)
          Sets the account number for this customer
 void setCreditLimit(java.lang.Double creditLimit)
          Sets the credit limit for this customer
 void setPriceLevel(PriceLevel priceLevel)
          Sets the price level for this customer
 void setTrackables(java.util.List<Trackable> trackables)
          Sets the trackables for this customer
 
Methods inherited from class org.geebis.books.model.partner.Partner
getAccountsPayableAccount, getAccountsReceivableAccount, getCompanyName, getContact, getContactInformation, getDefaultTerms, getFirstName, getGenderTitle, getId, getLabels, getLastName, getMiddleInitial, getName, getVersion, setAccountsPayableAccount, setAccountsReceivableAccount, setCompanyName, setContact, setContactInformation, setDefaultTerms, setFirstName, setGenderTitle, setId, setLabels, setLastName, setMiddleInitial, setName, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Customer

public Customer()

Customer

public Customer(java.lang.String name)
Method Detail

getTrackables

public java.util.List<Trackable> getTrackables()
Gets the trackables for this customer

Returns:
the trackables for this customer

setTrackables

public void setTrackables(java.util.List<Trackable> trackables)
Sets the trackables for this customer

Parameters:
trackables - the new trackables for this customer

getPriceLevel

public PriceLevel getPriceLevel()
Gets the price level for this customer

Returns:
the price level for this customer

setPriceLevel

public void setPriceLevel(PriceLevel priceLevel)
Sets the price level for this customer

Parameters:
priceLevel - the new price level for this customer

getAccountNumber

public java.lang.String getAccountNumber()
Gets the account number for this customer.

Returns:
the account number for this customer

setAccountNumber

public void setAccountNumber(java.lang.String accountNumber)
Sets the account number for this customer

Parameters:
accountNumber - the new account number for this customer

getCreditLimit

public java.lang.Double getCreditLimit()
Gets the credit limit for this customer

Returns:
the credit limit for this customer

setCreditLimit

public void setCreditLimit(java.lang.Double creditLimit)
Sets the credit limit for this customer

Parameters:
creditLimit - the new credit limit for this customer