Enum PaymentBaseAccess
- java.lang.Object
-
- java.lang.Enum<PaymentBaseAccess>
-
- io.surati.gap.payment.base.module.PaymentBaseAccess
-
- All Implemented Interfaces:
io.surati.gap.admin.base.api.Access
,Serializable
,Comparable<PaymentBaseAccess>
public enum PaymentBaseAccess extends Enum<PaymentBaseAccess> implements io.surati.gap.admin.base.api.Access
Access right for a user.- Since:
- 0.3
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURER_TIERS
EDITER_DOCUMENT_REF
VISUALISER_DOCUMENT_REF
VISUALISER_ORDRES_PAIEMENT
VISUALISER_PAIEMENTS
VISUALISER_TIERS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code()
Get Code.String
description()
Get description.io.surati.gap.admin.base.api.Module
module()
Get module.String
title()
Get title.String
toString()
static PaymentBaseAccess
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaymentBaseAccess[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISUALISER_ORDRES_PAIEMENT
public static final PaymentBaseAccess VISUALISER_ORDRES_PAIEMENT
-
VISUALISER_DOCUMENT_REF
public static final PaymentBaseAccess VISUALISER_DOCUMENT_REF
-
EDITER_DOCUMENT_REF
public static final PaymentBaseAccess EDITER_DOCUMENT_REF
-
VISUALISER_PAIEMENTS
public static final PaymentBaseAccess VISUALISER_PAIEMENTS
-
VISUALISER_TIERS
public static final PaymentBaseAccess VISUALISER_TIERS
-
CONFIGURER_TIERS
public static final PaymentBaseAccess CONFIGURER_TIERS
-
-
Method Detail
-
values
public static PaymentBaseAccess[] 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 (PaymentBaseAccess c : PaymentBaseAccess.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentBaseAccess 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
-
title
public String title()
Get title.- Specified by:
title
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Title
-
code
public String code()
Get Code.- Specified by:
code
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Code
-
description
public String description()
Get description.- Specified by:
description
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Code
-
module
public io.surati.gap.admin.base.api.Module module()
Get module.- Specified by:
module
in interfaceio.surati.gap.admin.base.api.Access
- Returns:
- Module name
-
toString
public String toString()
- Overrides:
toString
in classEnum<PaymentBaseAccess>
-
-