Package Avalara.SDK.model.EInvoicing.V1
Enum HmacSignature.AlgorithmEnum
- java.lang.Object
-
- java.lang.Enum<HmacSignature.AlgorithmEnum>
-
- Avalara.SDK.model.EInvoicing.V1.HmacSignature.AlgorithmEnum
-
- All Implemented Interfaces:
Serializable,Comparable<HmacSignature.AlgorithmEnum>
- Enclosing class:
- HmacSignature
public static enum HmacSignature.AlgorithmEnum extends Enum<HmacSignature.AlgorithmEnum>
HMAC algorithm for authentication
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHmacSignature.AlgorithmEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HmacSignature.AlgorithmEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static HmacSignature.AlgorithmEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static HmacSignature.AlgorithmEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHA256
public static final HmacSignature.AlgorithmEnum SHA256
-
SHA384
public static final HmacSignature.AlgorithmEnum SHA384
-
SHA512
public static final HmacSignature.AlgorithmEnum SHA512
-
-
Method Detail
-
values
public static HmacSignature.AlgorithmEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HmacSignature.AlgorithmEnum c : HmacSignature.AlgorithmEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HmacSignature.AlgorithmEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<HmacSignature.AlgorithmEnum>
-
fromValue
public static HmacSignature.AlgorithmEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-