atg.payment.avs
Class GenericAddressVerificationInfo

java.lang.Object
  extended by atg.payment.avs.GenericAddressVerificationInfo
All Implemented Interfaces:
AddressVerificationInfo, java.io.Serializable

public class GenericAddressVerificationInfo
extends java.lang.Object
implements AddressVerificationInfo

This is an implementation of the AddressVerificationInfo interface. This class is used to submit information to the AddressVerificationProcessor.

See Also:
AddressVerificationProcessor, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
GenericAddressVerificationInfo()
           
 
Method Summary
 Address getAddress1()
          Returns the address1
 Address getAddress2()
          Returns the address2
 AddressVerificationItem getAddressVerificationItem(int i)
          Returns an individual item in the shopping cart
 AddressVerificationItem[] getAddressVerificationItems()
          Returns the addressVerificationItems
 java.lang.String getPaymentId()
          Returns the paymentId
 void setAddress1(Address pAddress1)
          Sets the address1
 void setAddress2(Address pAddress2)
          Sets the address2
 void setAddressVerificationItems(AddressVerificationItem[] pAddressVerificationItems)
          Sets the addressVerificationItems
 void setPaymentId(java.lang.String pPaymentId)
          Sets the paymentId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

GenericAddressVerificationInfo

public GenericAddressVerificationInfo()
Method Detail

getPaymentId

public java.lang.String getPaymentId()
Returns the paymentId

Specified by:
getPaymentId in interface AddressVerificationInfo

setPaymentId

public void setPaymentId(java.lang.String pPaymentId)
Sets the paymentId


getAddress1

public Address getAddress1()
Returns the address1

Specified by:
getAddress1 in interface AddressVerificationInfo

setAddress1

public void setAddress1(Address pAddress1)
Sets the address1


getAddress2

public Address getAddress2()
Returns the address2

Specified by:
getAddress2 in interface AddressVerificationInfo

setAddress2

public void setAddress2(Address pAddress2)
Sets the address2


getAddressVerificationItems

public AddressVerificationItem[] getAddressVerificationItems()
Returns the addressVerificationItems

Specified by:
getAddressVerificationItems in interface AddressVerificationInfo

setAddressVerificationItems

public void setAddressVerificationItems(AddressVerificationItem[] pAddressVerificationItems)
Sets the addressVerificationItems


getAddressVerificationItem

public AddressVerificationItem getAddressVerificationItem(int i)
Returns an individual item in the shopping cart

Specified by:
getAddressVerificationItem in interface AddressVerificationInfo