net.authorize.data
Class Address

java.lang.Object
  extended by net.authorize.data.Address
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Address, ShippingAddress

public class Address
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  String address
           
protected  String city
           
protected  String company
           
protected  String country
           
protected  String firstName
           
protected  String lastName
           
static int MAX_ADDRESS_LENGTH
           
static int MAX_CITY_LENGTH
           
static int MAX_COMPANY_LENGTH
           
static int MAX_COUNTRY_LENGTH
           
static int MAX_FIRST_NAME_LENGTH
           
static int MAX_LAST_NAME_LENGTH
           
static int MAX_STATE_LENGTH
           
static int MAX_ZIP_LENGTH
           
protected  String state
           
protected  String zipPostalCode
           
 
Constructor Summary
protected Address()
           
 
Method Summary
static Address createAddress()
           
 String getAddress()
           
 String getCity()
           
 String getCompany()
           
 String getCountry()
           
 String getFirstName()
           
 String getLastName()
           
 String getState()
           
 String getZipPostalCode()
           
 void setAddress(String address)
           
 void setCity(String city)
           
 void setCompany(String company)
           
 void setCountry(String country)
           
 void setFirstName(String firstName)
           
 void setLastName(String lastName)
           
 void setState(String state)
           
 void setZipPostalCode(String zipPostalCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_FIRST_NAME_LENGTH

public static final int MAX_FIRST_NAME_LENGTH
See Also:
Constant Field Values

MAX_LAST_NAME_LENGTH

public static final int MAX_LAST_NAME_LENGTH
See Also:
Constant Field Values

MAX_COMPANY_LENGTH

public static final int MAX_COMPANY_LENGTH
See Also:
Constant Field Values

MAX_ADDRESS_LENGTH

public static final int MAX_ADDRESS_LENGTH
See Also:
Constant Field Values

MAX_CITY_LENGTH

public static final int MAX_CITY_LENGTH
See Also:
Constant Field Values

MAX_STATE_LENGTH

public static final int MAX_STATE_LENGTH
See Also:
Constant Field Values

MAX_ZIP_LENGTH

public static final int MAX_ZIP_LENGTH
See Also:
Constant Field Values

MAX_COUNTRY_LENGTH

public static final int MAX_COUNTRY_LENGTH
See Also:
Constant Field Values

firstName

protected String firstName

lastName

protected String lastName

company

protected String company

address

protected String address

city

protected String city

state

protected String state

zipPostalCode

protected String zipPostalCode

country

protected String country
Constructor Detail

Address

protected Address()
Method Detail

createAddress

public static Address createAddress()

getFirstName

public String getFirstName()
Returns:
the firstName

setFirstName

public void setFirstName(String firstName)
Parameters:
firstName - the firstName to set

getLastName

public String getLastName()
Returns:
the lastName

setLastName

public void setLastName(String lastName)
Parameters:
lastName - the lastName to set

getCompany

public String getCompany()
Returns:
the company

setCompany

public void setCompany(String company)
Parameters:
company - the company to set

getAddress

public String getAddress()
Returns:
the address

setAddress

public void setAddress(String address)
Parameters:
address - the address to set

getCity

public String getCity()
Returns:
the city

setCity

public void setCity(String city)
Parameters:
city - the city to set

getState

public String getState()
Returns:
the state

setState

public void setState(String state)
Parameters:
state - the state to set

getZipPostalCode

public String getZipPostalCode()
Returns:
the zipPostalCode

setZipPostalCode

public void setZipPostalCode(String zipPostalCode)
Parameters:
zipPostalCode - the zip / postal code to set

getCountry

public String getCountry()
Returns:
the country

setCountry

public void setCountry(String country)
Parameters:
country - the country to set


Copyright © 2014. All Rights Reserved.