public enum PaymentType extends Enum<PaymentType>
CREDIT_CARD is one of the most
common methods of payments in eCommerce).| Enum Constant and Description |
|---|
CASH |
CREDIT_CARD |
CRYPTO_CURRENCY |
ELECTRONIC_FUND_TRANSFER |
FINANCING |
GIFT_CARD |
POINTS |
STORE_CREDIT |
THIRD_PARTY_SUCCESSOR |
| Modifier and Type | Method and Description |
|---|---|
String |
getSiftScienceValue() |
static PaymentType |
resolve(String siftScienceValue) |
static PaymentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentType CREDIT_CARD
public static final PaymentType ELECTRONIC_FUND_TRANSFER
public static final PaymentType CRYPTO_CURRENCY
public static final PaymentType CASH
public static final PaymentType STORE_CREDIT
public static final PaymentType GIFT_CARD
public static final PaymentType POINTS
public static final PaymentType FINANCING
public static final PaymentType THIRD_PARTY_SUCCESSOR
public static PaymentType[] values()
for (PaymentType c : PaymentType.values()) System.out.println(c);
public static PaymentType 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 getSiftScienceValue()
public static PaymentType resolve(String siftScienceValue)
Copyright © 2014. All rights reserved.