Package com.adyen.model.checkout
Enum MerchantRiskIndicator.DeliveryTimeframeEnum
- java.lang.Object
-
- java.lang.Enum<MerchantRiskIndicator.DeliveryTimeframeEnum>
-
- com.adyen.model.checkout.MerchantRiskIndicator.DeliveryTimeframeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MerchantRiskIndicator.DeliveryTimeframeEnum>
- Enclosing class:
- MerchantRiskIndicator
public static enum MerchantRiskIndicator.DeliveryTimeframeEnum extends Enum<MerchantRiskIndicator.DeliveryTimeframeEnum>
The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping`
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELECTRONICDELIVERYOVERNIGHTSHIPPINGSAMEDAYSHIPPINGTWOORMOREDAYSSHIPPING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MerchantRiskIndicator.DeliveryTimeframeEnumfromValue(String value)StringgetValue()StringtoString()static MerchantRiskIndicator.DeliveryTimeframeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MerchantRiskIndicator.DeliveryTimeframeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELECTRONICDELIVERY
public static final MerchantRiskIndicator.DeliveryTimeframeEnum ELECTRONICDELIVERY
-
SAMEDAYSHIPPING
public static final MerchantRiskIndicator.DeliveryTimeframeEnum SAMEDAYSHIPPING
-
OVERNIGHTSHIPPING
public static final MerchantRiskIndicator.DeliveryTimeframeEnum OVERNIGHTSHIPPING
-
TWOORMOREDAYSSHIPPING
public static final MerchantRiskIndicator.DeliveryTimeframeEnum TWOORMOREDAYSSHIPPING
-
-
Method Detail
-
values
public static MerchantRiskIndicator.DeliveryTimeframeEnum[] 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 (MerchantRiskIndicator.DeliveryTimeframeEnum c : MerchantRiskIndicator.DeliveryTimeframeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MerchantRiskIndicator.DeliveryTimeframeEnum 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<MerchantRiskIndicator.DeliveryTimeframeEnum>
-
fromValue
public static MerchantRiskIndicator.DeliveryTimeframeEnum fromValue(String value)
-
-