Class AbstractLocation

java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.request.AbstractLocation
Direct Known Subclasses:
Billing, Shipping

public abstract class AbstractLocation extends AbstractModel
This class represents the shared location behavior between Billing and Shipping.
  • Method Details

    • getFirstName

      public final String getFirstName()
      Returns:
      The first name associated with the address
    • getLastName

      public final String getLastName()
      Returns:
      The last name associated with the address
    • getCompany

      public final String getCompany()
      Returns:
      The company name associated with the address
    • getAddress

      public final String getAddress()
      Returns:
      The first line of the address
    • getAddress2

      public final String getAddress2()
      Returns:
      The second line of the address
    • getCity

      public final String getCity()
      Returns:
      The city associated with the address
    • getRegion

      public final String getRegion()
      Returns:
      The region code associated with the address
    • getCountry

      public final String getCountry()
      Returns:
      The country associated with the address
    • getPostal

      public final String getPostal()
      Returns:
      The postal code associated with the address
    • getPhoneNumber

      public final String getPhoneNumber()
      Returns:
      The phone number associated with the address
    • getPhoneCountryCode

      public final String getPhoneCountryCode()
      Returns:
      The phone number country code associated with the address