Package io.voucherify.client.model
Class CustomerWithSummaryLoyaltyReferralsAddress
java.lang.Object
io.voucherify.client.model.CustomerWithSummaryLoyaltyReferralsAddress
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomerWithSummaryLoyaltyReferralsAddress
extends Object
Customer's address.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CustomerWithSummaryLoyaltyReferralsAddress given an JSON stringgetCity()CityCountry.getLine1()First line of address.getLine2()Second line of address.Postal code.getState()StateinthashCode()postalCode(String postalCode) voidvoidsetCountry(String country) voidvoidvoidsetPostalCode(String postalCode) voidtoJson()Convert an instance of CustomerWithSummaryLoyaltyReferralsAddress to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_CITY
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_LINE1
- See Also:
-
SERIALIZED_NAME_LINE2
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_POSTAL_CODE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomerWithSummaryLoyaltyReferralsAddress
public CustomerWithSummaryLoyaltyReferralsAddress()
-
-
Method Details
-
city
-
getCity
City- Returns:
- city
-
setCity
-
state
-
getState
State- Returns:
- state
-
setState
-
line1
-
getLine1
First line of address.- Returns:
- line1
-
setLine1
-
line2
-
getLine2
Second line of address.- Returns:
- line2
-
setLine2
-
country
-
getCountry
Country.- Returns:
- country
-
setCountry
-
postalCode
-
getPostalCode
Postal code.- Returns:
- postalCode
-
setPostalCode
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static CustomerWithSummaryLoyaltyReferralsAddress fromJson(String jsonString) throws IOException Create an instance of CustomerWithSummaryLoyaltyReferralsAddress given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomerWithSummaryLoyaltyReferralsAddress
- Throws:
IOException- if the JSON string is invalid with respect to CustomerWithSummaryLoyaltyReferralsAddress
-
toJson
Convert an instance of CustomerWithSummaryLoyaltyReferralsAddress to an JSON string- Returns:
- JSON string
-