Package com.maxmind.minfraud.request
Class AbstractLocation
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.request.AbstractLocation
-
public abstract class AbstractLocation extends AbstractModel
This class represents the shared location behavior between Billing and Shipping.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()StringgetAddress2()StringgetCity()StringgetCompany()StringgetCountry()StringgetFirstName()StringgetLastName()StringgetPhoneCountryCode()StringgetPhoneNumber()StringgetPostal()StringgetRegion()-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
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
-
-