Class PostCustomerAddressBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostCustomerAddressBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-11T14:33:43.847327Z[Etc/UTC]") public class PostCustomerAddressBankModel extends Object
The customer's address. Optional when type is individual.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CITYstatic StringJSON_PROPERTY_COUNTRY_CODEstatic StringJSON_PROPERTY_POSTAL_CODEstatic StringJSON_PROPERTY_STREETstatic StringJSON_PROPERTY_STREET2static StringJSON_PROPERTY_SUBDIVISION
-
Constructor Summary
Constructors Constructor Description PostCustomerAddressBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostCustomerAddressBankModelcity(String city)PostCustomerAddressBankModelcountryCode(String countryCode)booleanequals(Object o)StringgetCity()The city of the address.StringgetCountryCode()The ISO 3166 country 2-Alpha country code of the address.StringgetPostalCode()The postal, zip or post code of the address.StringgetStreet()The first line of the address.StringgetStreet2()The optional second line of the address.StringgetSubdivision()The ISO 3166-2 subdivision code of the address.inthashCode()PostCustomerAddressBankModelpostalCode(String postalCode)voidsetCity(String city)voidsetCountryCode(String countryCode)voidsetPostalCode(String postalCode)voidsetStreet(String street)voidsetStreet2(String street2)voidsetSubdivision(String subdivision)PostCustomerAddressBankModelstreet(String street)PostCustomerAddressBankModelstreet2(String street2)PostCustomerAddressBankModelsubdivision(String subdivision)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_STREET
public static final String JSON_PROPERTY_STREET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STREET2
public static final String JSON_PROPERTY_STREET2
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CITY
public static final String JSON_PROPERTY_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBDIVISION
public static final String JSON_PROPERTY_SUBDIVISION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POSTAL_CODE
public static final String JSON_PROPERTY_POSTAL_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRY_CODE
public static final String JSON_PROPERTY_COUNTRY_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
street
public PostCustomerAddressBankModel street(String street)
-
getStreet
@Nullable public String getStreet()
The first line of the address. Required when type is individual.- Returns:
- street
-
setStreet
public void setStreet(String street)
-
street2
public PostCustomerAddressBankModel street2(String street2)
-
getStreet2
@Nullable public String getStreet2()
The optional second line of the address. Optional when type is individual.- Returns:
- street2
-
setStreet2
public void setStreet2(String street2)
-
city
public PostCustomerAddressBankModel city(String city)
-
getCity
@Nullable public String getCity()
The city of the address. Required when type is individual.- Returns:
- city
-
setCity
public void setCity(String city)
-
subdivision
public PostCustomerAddressBankModel subdivision(String subdivision)
-
getSubdivision
@Nullable public String getSubdivision()
The ISO 3166-2 subdivision code of the address. Applicable only for countries that use subnational states, provinces, lands, oblasts or regions. Optional when type is individual.- Returns:
- subdivision
-
setSubdivision
public void setSubdivision(String subdivision)
-
postalCode
public PostCustomerAddressBankModel postalCode(String postalCode)
-
getPostalCode
@Nullable public String getPostalCode()
The postal, zip or post code of the address. Applicable only for countries that use postal, zip or post codes. Optional when type is individual.- Returns:
- postalCode
-
setPostalCode
public void setPostalCode(String postalCode)
-
countryCode
public PostCustomerAddressBankModel countryCode(String countryCode)
-
getCountryCode
@Nullable public String getCountryCode()
The ISO 3166 country 2-Alpha country code of the address. Required when type is individual.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
-