Address

Address class

Address of creditor or debtor.

public class Address : joint.BaseJavaClass

Constructors

NameDescription
AddressInitializes a new instance of the Address class.

Methods

NameDescription
clearClears all fields and sets the type to AddressType.UNDETERMINED.
construct(object)
equals(object)Determines whether the specified object is equal to the current object.
getAddressLine1Gets the address line 1.
getAddressLine2Gets the address line 2. Address line 2 contains postal code and town. Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it’s already AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING. This field is only used for combined elements addresses. For…
getCountryCodeGets the two-letter ISO country code.
getHouseNoGets the house number.
getNameGets the name, either the first and last name of a natural person or the company name of a legal person.
getPostalCodeGets the postal code.
getStreetGets the street. The street must be speicfied without house number. Setting this field sets the address type to AddressType.STRUCTURED unless it’s already AddressType.COMBINED_ELEMENTS, in which case it becomes AddressType.CONFLICTING. This field is only used for structured addresses and is…
getTownGets the town or city.
getTypeGets the address type.
hashCodeGets the hash code for this instance.
init
setAddressLine1(object)Sets the address line 1.
setAddressLine2(object)Sets the address line 2. Address line 2 contains postal code and town. Setting this field sets the address type to AddressType.COMBINED_ELEMENTS unless it’s already AddressType.STRUCTURED, in which case it becomes AddressType.CONFLICTING. This field is only used for combined elements addresses. For…
setCountryCode(object)Sets the two-letter ISO country code.
setHouseNo(object)Sets the house number.
setName(object)Sets the name, either the first and last name of a natural person or the company name of a legal person.
setPostalCode(object)Sets the postal code.
setStreet(object)Sets the street.
setTown(object)Sets the town or city.

Fields

NameDescription
javaClassName

See Also