Class PostCounterpartyAddressBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostCounterpartyAddressBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-12-03T13:55:24.843437Z[Etc/UTC]") public class PostCounterpartyAddressBankModel extends Object
The address of the counterparty.
-
-
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 PostCounterpartyAddressBankModel()
-
Method Summary
-
-
-
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 PostCounterpartyAddressBankModel street(String street)
-
setStreet
public void setStreet(String street)
-
street2
public PostCounterpartyAddressBankModel street2(String street2)
-
getStreet2
@Nullable public String getStreet2()
The optional second line of the address.- Returns:
- street2
-
setStreet2
public void setStreet2(String street2)
-
city
public PostCounterpartyAddressBankModel city(String city)
-
setCity
public void setCity(String city)
-
subdivision
public PostCounterpartyAddressBankModel 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.- Returns:
- subdivision
-
setSubdivision
public void setSubdivision(String subdivision)
-
postalCode
public PostCounterpartyAddressBankModel 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.- Returns:
- postalCode
-
setPostalCode
public void setPostalCode(String postalCode)
-
countryCode
public PostCounterpartyAddressBankModel countryCode(String countryCode)
-
getCountryCode
@Nonnull public String getCountryCode()
The ISO 3166 country 2-Alpha country code of the address.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
-