@Immutable public class AddressPojo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AddressPojo.Builder
A builder for this class
|
| Constructor and Description |
|---|
AddressPojo(String sFullAddress,
String sStreetName,
String sBuildingNumber,
String sTown,
String sPostalCode,
String sCountryCode) |
| Modifier and Type | Method and Description |
|---|---|
static AddressPojo.Builder |
builder() |
static AddressPojo.Builder |
builder(AddressType a) |
static AddressPojo.Builder |
builder(CoreAddressType a) |
boolean |
equals(Object o) |
AddressType |
getAsAgentAddress() |
CoreAddressType |
getAsCoreAddress() |
String |
getBuildingNumber() |
String |
getCountryCode() |
String |
getFullAddress() |
String |
getPostalCode() |
String |
getStreetName() |
String |
getTown() |
int |
hashCode() |
String |
toString() |
@Nullable public final String getFullAddress()
null.@Nullable public final String getStreetName()
null.@Nullable public final String getBuildingNumber()
null.@Nullable public final String getTown()
null.@Nullable public final String getPostalCode()
null.@Nullable public final String getCountryCode()
null. Note:
that is not checked against any rules.@Nullable public CoreAddressType getAsCoreAddress()
@Nullable public AddressType getAsAgentAddress()
@Nonnull public static AddressPojo.Builder builder()
@Nonnull public static AddressPojo.Builder builder(@Nullable CoreAddressType a)
@Nonnull public static AddressPojo.Builder builder(@Nullable AddressType a)
Copyright © 2020 toop.eu. All rights reserved.