com.google.checkout.notification
Class RiskInformation

java.lang.Object
  extended by com.google.checkout.notification.RiskInformation

public class RiskInformation
extends java.lang.Object

Author:
Charles Dang (cdang@google.com)

Constructor Summary
RiskInformation(org.w3c.dom.Document document, org.w3c.dom.Element element)
           
 
Method Summary
 java.lang.String getAvsResponse()
          Retrieves the value of the <avs-response> tag.
 Address getBillingAddress()
          Retrieves the contents of the <billing-address> tag as an Address object.
 int getBuyerAccountAge()
          Retrieves the value of the <buyer-account-age> tag.
 java.lang.String getCvnResponse()
          Retrieves the value of the <cvn-response> tag.
 java.lang.String getIpAddress()
          Retrieves the value of the <ip-address> tag.
 java.lang.String getPartialCcNumber()
          Retrieves the value of the <partial-cc-number> tag.
 boolean isEligibleForProtection()
          Retrieves the value of the <eligible-for-protection> tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiskInformation

public RiskInformation(org.w3c.dom.Document document,
                       org.w3c.dom.Element element)
Method Detail

isEligibleForProtection

public boolean isEligibleForProtection()
Retrieves the value of the <eligible-for-protection> tag.

Returns:
The eligible for protection flag.

getBillingAddress

public Address getBillingAddress()
Retrieves the contents of the <billing-address> tag as an Address object.

Returns:
The billing address.
See Also:
Address

getAvsResponse

public java.lang.String getAvsResponse()
Retrieves the value of the <avs-response> tag.

Returns:
The AVS response.

getCvnResponse

public java.lang.String getCvnResponse()
Retrieves the value of the <cvn-response> tag.

Returns:
The CVN response.

getPartialCcNumber

public java.lang.String getPartialCcNumber()
Retrieves the value of the <partial-cc-number> tag.

Returns:
The partial credit card number.

getBuyerAccountAge

public int getBuyerAccountAge()
Retrieves the value of the <buyer-account-age> tag.

Returns:
The buyer account age.

getIpAddress

public java.lang.String getIpAddress()
Retrieves the value of the <ip-address> tag.

Returns:
The IP address.