public enum PostalDeliveryType extends Enum<PostalDeliveryType>
Java class for PostalDeliveryType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PostalDeliveryType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Care PO"/>
<enumeration value="CMA"/>
<enumeration value="CMB"/>
<enumeration value="GPO Box"/>
<enumeration value="Locked Bag"/>
<enumeration value="MS"/>
<enumeration value="PO Box"/>
<enumeration value="POR"/>
<enumeration value="Private Bag"/>
<enumeration value="RSD"/>
<enumeration value="RMB"/>
<enumeration value="RMS"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CARE_PO
Care-of Post Office (also known as Poste Restante)
|
CMA
Community Mail Agent
|
CMB
Community Mail Bag
|
GPO_BOX
General Post Office Box
|
LOCKED_BAG
Locked Mail Bag Service
|
MS
Mail Service
|
PO_BOX
Post Office Box
|
POR
Post Restante (also known as Care-of Post Office)
|
PRIVATE_BAG
Private Mail Bag Service
|
RMB
Roadside Mail Box/Bag
|
RMS
Roadside Mail Service
|
RSD
Roadside Delivery
|
| Modifier and Type | Method and Description |
|---|---|
static PostalDeliveryType |
fromValue(String v) |
String |
value() |
static PostalDeliveryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostalDeliveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostalDeliveryType CARE_PO
public static final PostalDeliveryType CMA
public static final PostalDeliveryType CMB
public static final PostalDeliveryType GPO_BOX
public static final PostalDeliveryType LOCKED_BAG
public static final PostalDeliveryType MS
public static final PostalDeliveryType PO_BOX
public static final PostalDeliveryType POR
public static final PostalDeliveryType PRIVATE_BAG
public static final PostalDeliveryType RSD
public static final PostalDeliveryType RMB
public static final PostalDeliveryType RMS
public static PostalDeliveryType[] values()
for (PostalDeliveryType c : PostalDeliveryType.values()) System.out.println(c);
public static PostalDeliveryType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static PostalDeliveryType fromValue(String v)
Copyright © 2021. All rights reserved.