public enum CheckoutGroup extends Enum<CheckoutGroup>
| Enum Constant and Description |
|---|
BANK_TRANSFER |
CARD_PAYMENT |
OTHERS |
WALLET |
| Modifier and Type | Method and Description |
|---|---|
static CheckoutGroup |
findByInstrument(PaymentInstrument instrument) |
static CheckoutGroup |
getByStringName(String stringName) |
String |
getName() |
Set<PaymentInstrument> |
getPaymentInstruments() |
String |
toString() |
static CheckoutGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckoutGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckoutGroup CARD_PAYMENT
public static final CheckoutGroup BANK_TRANSFER
public static final CheckoutGroup WALLET
public static final CheckoutGroup OTHERS
public static CheckoutGroup[] values()
for (CheckoutGroup c : CheckoutGroup.values()) System.out.println(c);
public static CheckoutGroup 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 getName()
public Set<PaymentInstrument> getPaymentInstruments()
public String toString()
toString in class Enum<CheckoutGroup>public static CheckoutGroup findByInstrument(PaymentInstrument instrument)
public static CheckoutGroup getByStringName(String stringName)
Copyright © 2017. All rights reserved.