Package com.stripe.model
Class Address
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Address
- All Implemented Interfaces:
StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getCity()
City, district, suburb, town, or village.Two-letter country code (ISO 3166-1 alpha-2).getLine1()
Address line 1 (e.g., street, PO Box, or company name).getLine2()
Address line 2 (e.g., apartment, suite, unit, or building).ZIP or postal code.getState()
State, county, province, or region.int
hashCode()
void
City, district, suburb, town, or village.void
setCountry
(String country) Two-letter country code (ISO 3166-1 alpha-2).void
Address line 1 (e.g., street, PO Box, or company name).void
Address line 2 (e.g., apartment, suite, unit, or building).void
setPostalCode
(String postalCode) ZIP or postal code.void
State, county, province, or region.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
getCity
City, district, suburb, town, or village. -
getCountry
Two-letter country code (ISO 3166-1 alpha-2). -
getLine1
Address line 1 (e.g., street, PO Box, or company name). -
getLine2
Address line 2 (e.g., apartment, suite, unit, or building). -
getPostalCode
ZIP or postal code. -
getState
State, county, province, or region. -
setCity
City, district, suburb, town, or village. -
setCountry
Two-letter country code (ISO 3166-1 alpha-2). -
setLine1
Address line 1 (e.g., street, PO Box, or company name). -
setLine2
Address line 2 (e.g., apartment, suite, unit, or building). -
setPostalCode
ZIP or postal code. -
setState
State, county, province, or region. -
equals
-
canEqual
-
hashCode
public int hashCode()
-