public enum PaymentModel extends Enum<PaymentModel> implements EnumWithKey
EnumWithKey.Parser<A extends EnumWithKey>| Enum Constant and Description |
|---|
FREE
The add-on does not require purchase.
|
PAID_VIA_ATLASSIAN
The add-on can be purchased through the Atlassian Marketplace.
|
PAID_VIA_VENDOR
The add-on can be purchased through the vendor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
The string key that represents this value in the Marketplace API.
|
static PaymentModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentModel FREE
public static final PaymentModel PAID_VIA_VENDOR
public static final PaymentModel PAID_VIA_ATLASSIAN
public static PaymentModel[] values()
for (PaymentModel c : PaymentModel.values()) System.out.println(c);
public static PaymentModel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getKey()
EnumWithKeygetKey in interface EnumWithKeyCopyright © 2016 Atlassian. All rights reserved.