public enum PaymentProduct extends Enum<PaymentProduct>
| Modifier and Type | Method and Description |
|---|---|
static Optional<PaymentProduct> |
getByCode(String code) |
String |
getCode() |
static PaymentProduct |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentProduct[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentProduct SCT
public static final PaymentProduct ISCT
public static final PaymentProduct T2P
public static final PaymentProduct CBCT
public static PaymentProduct[] values()
for (PaymentProduct c : PaymentProduct.values()) System.out.println(c);
public static PaymentProduct 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 getCode()
public static Optional<PaymentProduct> getByCode(String code)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.