Package com.adyen.model.binlookup
Enum CostEstimateRequest.ShopperInteractionEnum
- java.lang.Object
-
- java.lang.Enum<CostEstimateRequest.ShopperInteractionEnum>
-
- com.adyen.model.binlookup.CostEstimateRequest.ShopperInteractionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CostEstimateRequest.ShopperInteractionEnum>
- Enclosing class:
- CostEstimateRequest
public static enum CostEstimateRequest.ShopperInteractionEnum extends Enum<CostEstimateRequest.ShopperInteractionEnum>
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CostEstimateRequest.ShopperInteractionEnumfromValue(String value)StringgetValue()StringtoString()static CostEstimateRequest.ShopperInteractionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CostEstimateRequest.ShopperInteractionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ECOMMERCE
public static final CostEstimateRequest.ShopperInteractionEnum ECOMMERCE
-
CONTAUTH
public static final CostEstimateRequest.ShopperInteractionEnum CONTAUTH
-
MOTO
public static final CostEstimateRequest.ShopperInteractionEnum MOTO
-
POS
public static final CostEstimateRequest.ShopperInteractionEnum POS
-
-
Method Detail
-
values
public static CostEstimateRequest.ShopperInteractionEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CostEstimateRequest.ShopperInteractionEnum c : CostEstimateRequest.ShopperInteractionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CostEstimateRequest.ShopperInteractionEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CostEstimateRequest.ShopperInteractionEnum>
-
fromValue
public static CostEstimateRequest.ShopperInteractionEnum fromValue(String value)
-
-