public enum TaxServiceExceptionCodes extends java.lang.Enum<TaxServiceExceptionCodes> implements StandardServiceExceptionCode
| Enum Constant and Description |
|---|
SHIP_TO_MISSING
"Ship to address missing".
|
TAXES_NOT_CALCULATED
"Taxes could not be calculated, the 3rd party servire returned an error".
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static TaxServiceExceptionCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaxServiceExceptionCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaxServiceExceptionCodes SHIP_TO_MISSING
public static final TaxServiceExceptionCodes TAXES_NOT_CALCULATED
public static TaxServiceExceptionCodes[] values()
for (TaxServiceExceptionCodes c : TaxServiceExceptionCodes.values()) System.out.println(c);
public static TaxServiceExceptionCodes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
getCode in interface StandardServiceExceptionCodepublic java.lang.String getMessage()
getMessage in interface StandardServiceExceptionCodepublic java.lang.String toString()
toString in class java.lang.Enum<TaxServiceExceptionCodes>Copyright © 2018 SAP SE. All Rights Reserved.