Class Address

All Implemented Interfaces:
StripeObjectInterface

public class Address extends StripeObject
  • Constructor Details

    • Address

      public Address()
  • Method Details

    • getCity

      public String getCity()
      City, district, suburb, town, or village.
    • getCountry

      public String getCountry()
      Two-letter country code (ISO 3166-1 alpha-2).
    • getLine1

      public String getLine1()
      Address line 1 (e.g., street, PO Box, or company name).
    • getLine2

      public String getLine2()
      Address line 2 (e.g., apartment, suite, unit, or building).
    • getPostalCode

      public String getPostalCode()
      ZIP or postal code.
    • getState

      public String getState()
      State, county, province, or region.
    • setCity

      public void setCity(String city)
      City, district, suburb, town, or village.
    • setCountry

      public void setCountry(String country)
      Two-letter country code (ISO 3166-1 alpha-2).
    • setLine1

      public void setLine1(String line1)
      Address line 1 (e.g., street, PO Box, or company name).
    • setLine2

      public void setLine2(String line2)
      Address line 2 (e.g., apartment, suite, unit, or building).
    • setPostalCode

      public void setPostalCode(String postalCode)
      ZIP or postal code.
    • setState

      public void setState(String state)
      State, county, province, or region.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object