Class AbstractLocation

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

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

    • firstName

      public final String firstName()
      Returns:
      The first name associated with the address
    • lastName

      public final String lastName()
      Returns:
      The last name associated with the address
    • company

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

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

      public final String address2()
      Returns:
      The second line of the address
    • city

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

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

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

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

      public final String phoneNumber()
      Returns:
      The phone number associated with the address
    • phoneCountryCode

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