public class RestAddressFormat extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
postCodeExamples |
protected String |
postCodeRegex |
protected List<RestAddressFormatField> |
requiredFields |
protected List<RestAddressFormatField> |
usedFields |
| Constructor and Description |
|---|
RestAddressFormat() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<String> |
getPostCodeExamples()
The example post codes allow the user to understand what we expect here.
|
String |
getPostCodeRegex()
The post code regex is a regular expression which can validates the input of the post code.
|
List<RestAddressFormatField> |
getRequiredFields()
The required fields indicate what fields are required within an address to comply with the address format.
|
List<RestAddressFormatField> |
getUsedFields()
The used fields indicate what fields are used within this address format.
|
int |
hashCode() |
String |
toString() |
protected String postCodeRegex
protected List<RestAddressFormatField> requiredFields
protected List<RestAddressFormatField> usedFields
public List<String> getPostCodeExamples()
public String getPostCodeRegex()
public List<RestAddressFormatField> getRequiredFields()
public List<RestAddressFormatField> getUsedFields()
Copyright © 2023. All rights reserved.