public enum ShippingType extends Enum<ShippingType>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
PICKUP
DEPRECATED.
|
PICKUP_FROM_PERSON
The payer intends to pick up the item(s) from the payee in person.
|
PICKUP_IN_STORE
The payer intends to pick up the item(s) from the payee's physical store.
|
SHIPPING
The payer intends to receive the items at a specified address.
|
| Modifier and Type | Method and Description |
|---|---|
static ShippingType |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static ShippingType |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<ShippingType> toConvert)
Convert list of ShippingType values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static ShippingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShippingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShippingType SHIPPING
public static final ShippingType PICKUP
public static final ShippingType PICKUP_IN_STORE
public static final ShippingType PICKUP_FROM_PERSON
public static final ShippingType _UNKNOWN
public static ShippingType[] values()
for (ShippingType c : ShippingType.values()) System.out.println(c);
public static ShippingType 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 static ShippingType constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static ShippingType fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<ShippingType>public static List<String> toValue(List<ShippingType> toConvert)
toConvert - The list of ShippingType values to convert.Copyright © 2025. All rights reserved.