Address
Address class
Address of creditor or debtor.
public class Address : joint.BaseJavaClass
Constructors
| Name | Description |
|---|
| Address | Initializes a new instance of the Address class. |
Methods
| Name | Description |
|---|
| clear | Clears all fields and sets the type to AddressType.UNDETERMINED. |
| construct(object) | |
| equals(object) | Determines whether the specified object is equal to the current object. |
| getAddressLine1 | Gets the address line 1. |
| getAddressLine2 | Gets 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… |
| getCountryCode | Gets the two-letter ISO country code. |
| getHouseNo | Gets the house number. |
| getName | Gets the name, either the first and last name of a natural person or the company name of a legal person. |
| getPostalCode | Gets the postal code. |
| getStreet | Gets 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… |
| getTown | Gets the town or city. |
| getType | Gets the address type. |
| hashCode | Gets 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
See Also