Class ApiBillingAddress
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiBillingAddress
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiBillingAddress
extends Object
The billing address of your credit card. Mandatory for clients with AVS or other fraud detection mechanisms activated. Please contact apitude@hotelbeds.com to know if you must provide this data or not. Normally this is enabled only for clients using the end user's credit card.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountryCode(String countryCode) boolean@NotNull StringAddress first line.Address second line.@NotNull StringgetCity()Get city@NotNull StringCode of the country.@NotNull StringGet postalCodegetState()Get stateinthashCode()postalCode(String postalCode) voidsetAddress1(String address1) voidsetAddress2(String address2) voidvoidsetCountryCode(String countryCode) voidsetPostalCode(String postalCode) voidtoString()
-
Field Details
-
JSON_PROPERTY_ADDRESS1
- See Also:
-
JSON_PROPERTY_ADDRESS2
- See Also:
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_POSTAL_CODE
- See Also:
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
-
Constructor Details
-
ApiBillingAddress
public ApiBillingAddress()
-
-
Method Details
-
address1
-
getAddress1
Address first line.- Returns:
- address1
-
setAddress1
-
address2
-
getAddress2
Address second line.- Returns:
- address2
-
setAddress2
-
city
-
getCity
Get city- Returns:
- city
-
setCity
-
state
-
getState
Get state- Returns:
- state
-
setState
-
postalCode
-
getPostalCode
Get postalCode- Returns:
- postalCode
-
setPostalCode
-
countryCode
-
getCountryCode
Code of the country.- Returns:
- countryCode
-
setCountryCode
-
equals
-
hashCode
public int hashCode() -
toString
-