Package net.authorize.api.contract.v1
Enum PermissionsEnum
- java.lang.Object
-
- java.lang.Enum<PermissionsEnum>
-
- net.authorize.api.contract.v1.PermissionsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PermissionsEnum>
public enum PermissionsEnum extends Enum<PermissionsEnum>
Java class for permissionsEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="permissionsEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="API_Merchant_BasicReporting"/> <enumeration value="Submit_Charge"/> <enumeration value="Submit_Refund"/> <enumeration value="Submit_Update"/> <enumeration value="Mobile_Admin"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_MERCHANT_BASIC_REPORTINGMOBILE_ADMINSUBMIT_CHARGESUBMIT_REFUNDSUBMIT_UPDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PermissionsEnumfromValue(String v)Stringvalue()static PermissionsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PermissionsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
API_MERCHANT_BASIC_REPORTING
public static final PermissionsEnum API_MERCHANT_BASIC_REPORTING
-
SUBMIT_CHARGE
public static final PermissionsEnum SUBMIT_CHARGE
-
SUBMIT_REFUND
public static final PermissionsEnum SUBMIT_REFUND
-
SUBMIT_UPDATE
public static final PermissionsEnum SUBMIT_UPDATE
-
MOBILE_ADMIN
public static final PermissionsEnum MOBILE_ADMIN
-
-
Method Detail
-
values
public static PermissionsEnum[] 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 (PermissionsEnum c : PermissionsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionsEnum 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
-
value
public String value()
-
fromValue
public static PermissionsEnum fromValue(String v)
-
-