public static enum PaymentOptionsBaseViewHolder.ViewHolderType extends java.lang.Enum<PaymentOptionsBaseViewHolder.ViewHolderType>
Enum Constant and Description |
---|
CARD
Card view holder type.
|
CURRENCY
Currency view holder type.
|
EMPTY
Empty view holder type.
|
GROUP
Group view holder type.
|
SAVED_CARDS
Saved cards view holder type.
|
WEB
Web view holder type.
|
Modifier and Type | Field and Description |
---|---|
private int |
viewType |
Modifier and Type | Method and Description |
---|---|
static PaymentOptionsBaseViewHolder.ViewHolderType |
getByViewType(int viewType)
Gets by view type.
|
int |
getViewType()
Gets view type.
|
static PaymentOptionsBaseViewHolder.ViewHolderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentOptionsBaseViewHolder.ViewHolderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentOptionsBaseViewHolder.ViewHolderType CURRENCY
public static final PaymentOptionsBaseViewHolder.ViewHolderType EMPTY
public static final PaymentOptionsBaseViewHolder.ViewHolderType GROUP
public static final PaymentOptionsBaseViewHolder.ViewHolderType SAVED_CARDS
public static final PaymentOptionsBaseViewHolder.ViewHolderType WEB
public static final PaymentOptionsBaseViewHolder.ViewHolderType CARD
public static PaymentOptionsBaseViewHolder.ViewHolderType[] values()
for (PaymentOptionsBaseViewHolder.ViewHolderType c : PaymentOptionsBaseViewHolder.ViewHolderType.values()) System.out.println(c);
public static PaymentOptionsBaseViewHolder.ViewHolderType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getViewType()
public static PaymentOptionsBaseViewHolder.ViewHolderType getByViewType(int viewType)
viewType
- the view type