Package unit.java.sdk.model
Class StoreLocationAttributes
- java.lang.Object
-
- unit.java.sdk.model.StoreLocationAttributes
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class StoreLocationAttributes extends java.lang.ObjectStoreLocationAttributes
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ADDRESSstatic java.lang.StringJSON_PROPERTY_COORDINATESstatic java.lang.StringJSON_PROPERTY_DISTANCEstatic java.lang.StringJSON_PROPERTY_PHONEstatic java.lang.StringJSON_PROPERTY_RETAILER_NAMEstatic java.lang.StringJSON_PROPERTY_STORE_ID
-
Constructor Summary
Constructors Constructor Description StoreLocationAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreLocationAttributesaddress(Address address)StoreLocationAttributescoordinates(Coordinates coordinates)StoreLocationAttributesdistance(java.math.BigDecimal distance)booleanequals(java.lang.Object o)Return true if this StoreLocation_attributes object is equal to o.AddressgetAddress()Get addressCoordinatesgetCoordinates()Get coordinatesjava.math.BigDecimalgetDistance()Get distancejava.lang.StringgetPhone()Get phonejava.lang.StringgetRetailerName()Get retailerNamejava.lang.StringgetStoreId()Get storeIdinthashCode()StoreLocationAttributesphone(java.lang.String phone)StoreLocationAttributesretailerName(java.lang.String retailerName)voidsetAddress(Address address)voidsetCoordinates(Coordinates coordinates)voidsetDistance(java.math.BigDecimal distance)voidsetPhone(java.lang.String phone)voidsetRetailerName(java.lang.String retailerName)voidsetStoreId(java.lang.String storeId)StoreLocationAttributesstoreId(java.lang.String storeId)java.lang.StringtoString()java.lang.StringtoUrlQueryString()Convert the instance into URL query string.java.lang.StringtoUrlQueryString(java.lang.String prefix)Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_STORE_ID
public static final java.lang.String JSON_PROPERTY_STORE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RETAILER_NAME
public static final java.lang.String JSON_PROPERTY_RETAILER_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHONE
public static final java.lang.String JSON_PROPERTY_PHONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDRESS
public static final java.lang.String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COORDINATES
public static final java.lang.String JSON_PROPERTY_COORDINATES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISTANCE
public static final java.lang.String JSON_PROPERTY_DISTANCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
storeId
public StoreLocationAttributes storeId(java.lang.String storeId)
-
getStoreId
@Nonnull public java.lang.String getStoreId()
Get storeId- Returns:
- storeId
-
setStoreId
public void setStoreId(java.lang.String storeId)
-
retailerName
public StoreLocationAttributes retailerName(java.lang.String retailerName)
-
getRetailerName
@Nonnull public java.lang.String getRetailerName()
Get retailerName- Returns:
- retailerName
-
setRetailerName
public void setRetailerName(java.lang.String retailerName)
-
phone
public StoreLocationAttributes phone(java.lang.String phone)
-
getPhone
@Nonnull public java.lang.String getPhone()
Get phone- Returns:
- phone
-
setPhone
public void setPhone(java.lang.String phone)
-
address
public StoreLocationAttributes address(Address address)
-
getAddress
@Nonnull public Address getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(Address address)
-
coordinates
public StoreLocationAttributes coordinates(Coordinates coordinates)
-
getCoordinates
@Nonnull public Coordinates getCoordinates()
Get coordinates- Returns:
- coordinates
-
setCoordinates
public void setCoordinates(Coordinates coordinates)
-
distance
public StoreLocationAttributes distance(java.math.BigDecimal distance)
-
getDistance
@Nonnull public java.math.BigDecimal getDistance()
Get distance- Returns:
- distance
-
setDistance
public void setDistance(java.math.BigDecimal distance)
-
equals
public boolean equals(java.lang.Object o)
Return true if this StoreLocation_attributes object is equal to o.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-
-