Package com.stripe.model.tax
Class Transaction.CustomerDetails.Address
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.tax.Transaction.CustomerDetails.Address
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Transaction.CustomerDetails
-
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/province as an ISO 3166-2 subdivision code, without country prefix.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/province as an ISO 3166-2 subdivision code, without country prefix.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/province as an ISO 3166-2 subdivision code, without country prefix. Example: "NY" or "TX". -
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/province as an ISO 3166-2 subdivision code, without country prefix. Example: "NY" or "TX". -
equals
-
canEqual
-
hashCode
public int hashCode()
-