Package in.dragonbra.javasteam.enums
Enum EBillingType
- java.lang.Object
-
- java.lang.Enum<EBillingType>
-
- in.dragonbra.javasteam.enums.EBillingType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EBillingType>
public enum EBillingType extends java.lang.Enum<EBillingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AutoGrantBillMonthlyBillOnceOnlyBillOnceOrCDKeyCommercialLicenseFreeCommercialLicenseFreeOnDemandGiftGuestPassHardwarePromoNoCostNumBillingTypesOEMTicketProofOfPrepurchaseOnlyRecurringOptionRentalRepurchaseable
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static EBillingTypefrom(int code)static EBillingTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EBillingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NoCost
public static final EBillingType NoCost
-
BillOnceOnly
public static final EBillingType BillOnceOnly
-
BillMonthly
public static final EBillingType BillMonthly
-
ProofOfPrepurchaseOnly
public static final EBillingType ProofOfPrepurchaseOnly
-
GuestPass
public static final EBillingType GuestPass
-
HardwarePromo
public static final EBillingType HardwarePromo
-
Gift
public static final EBillingType Gift
-
AutoGrant
public static final EBillingType AutoGrant
-
OEMTicket
public static final EBillingType OEMTicket
-
RecurringOption
public static final EBillingType RecurringOption
-
BillOnceOrCDKey
public static final EBillingType BillOnceOrCDKey
-
Repurchaseable
public static final EBillingType Repurchaseable
-
FreeOnDemand
public static final EBillingType FreeOnDemand
-
Rental
public static final EBillingType Rental
-
CommercialLicense
public static final EBillingType CommercialLicense
-
FreeCommercialLicense
public static final EBillingType FreeCommercialLicense
-
NumBillingTypes
public static final EBillingType NumBillingTypes
-
-
Method Detail
-
values
public static EBillingType[] 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 (EBillingType c : EBillingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EBillingType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
code
public int code()
-
from
public static EBillingType from(int code)
-
-