Interface BaseAddress

All Superinterfaces:
BaseAddressMixin, WithKey
All Known Subinterfaces:
Address, AddressDraft
All Known Implementing Classes:
AddressDraftImpl, AddressImpl, BaseAddressImpl

public interface BaseAddress extends WithKey, BaseAddressMixin

Polymorphic base type that represents a postal address and contact details. Depending on the read or write action, it can be either Address or AddressDraft that only differ in the data type for the optional custom field.


Example to create an instance using the builder pattern

     BaseAddress baseAddress = BaseAddress.builder()
             .country("{country}")
             .build()