Package com.stripe.model
Class Review.Location
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Review.Location
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Review
public static class Review.Location extends StripeObject
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Location()
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getCity()
The city where the payment originated.java.lang.String
getCountry()
Two-letter ISO code representing the country where the payment originated.java.math.BigDecimal
getLatitude()
The geographic latitude where the payment originated.java.math.BigDecimal
getLongitude()
The geographic longitude where the payment originated.java.lang.String
getRegion()
The state/county/province/region where the payment originated.int
hashCode()
void
setCity(java.lang.String city)
The city where the payment originated.void
setCountry(java.lang.String country)
Two-letter ISO code representing the country where the payment originated.void
setLatitude(java.math.BigDecimal latitude)
The geographic latitude where the payment originated.void
setLongitude(java.math.BigDecimal longitude)
The geographic longitude where the payment originated.void
setRegion(java.lang.String region)
The state/county/province/region where the payment originated.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
getCity
public java.lang.String getCity()The city where the payment originated. -
getCountry
public java.lang.String getCountry()Two-letter ISO code representing the country where the payment originated. -
getLatitude
public java.math.BigDecimal getLatitude()The geographic latitude where the payment originated. -
getLongitude
public java.math.BigDecimal getLongitude()The geographic longitude where the payment originated. -
getRegion
public java.lang.String getRegion()The state/county/province/region where the payment originated. -
setCity
public void setCity(java.lang.String city)The city where the payment originated. -
setCountry
public void setCountry(java.lang.String country)Two-letter ISO code representing the country where the payment originated. -
setLatitude
public void setLatitude(java.math.BigDecimal latitude)The geographic latitude where the payment originated. -
setLongitude
public void setLongitude(java.math.BigDecimal longitude)The geographic longitude where the payment originated. -
setRegion
public void setRegion(java.lang.String region)The state/county/province/region where the payment originated. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-