Package com.adyen.model.checkout
Enum PaymentLinkRequest.RequiredShopperFieldsEnum
- java.lang.Object
-
- java.lang.Enum<PaymentLinkRequest.RequiredShopperFieldsEnum>
-
- com.adyen.model.checkout.PaymentLinkRequest.RequiredShopperFieldsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentLinkRequest.RequiredShopperFieldsEnum>
- Enclosing class:
- PaymentLinkRequest
public static enum PaymentLinkRequest.RequiredShopperFieldsEnum extends Enum<PaymentLinkRequest.RequiredShopperFieldsEnum>
Gets or Sets requiredShopperFields
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BILLINGADDRESSDELIVERYADDRESSSHOPPEREMAILSHOPPERNAMETELEPHONENUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentLinkRequest.RequiredShopperFieldsEnumfromValue(String value)StringgetValue()StringtoString()static PaymentLinkRequest.RequiredShopperFieldsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentLinkRequest.RequiredShopperFieldsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BILLINGADDRESS
public static final PaymentLinkRequest.RequiredShopperFieldsEnum BILLINGADDRESS
-
DELIVERYADDRESS
public static final PaymentLinkRequest.RequiredShopperFieldsEnum DELIVERYADDRESS
-
SHOPPEREMAIL
public static final PaymentLinkRequest.RequiredShopperFieldsEnum SHOPPEREMAIL
-
SHOPPERNAME
public static final PaymentLinkRequest.RequiredShopperFieldsEnum SHOPPERNAME
-
TELEPHONENUMBER
public static final PaymentLinkRequest.RequiredShopperFieldsEnum TELEPHONENUMBER
-
-
Method Detail
-
values
public static PaymentLinkRequest.RequiredShopperFieldsEnum[] 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 (PaymentLinkRequest.RequiredShopperFieldsEnum c : PaymentLinkRequest.RequiredShopperFieldsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentLinkRequest.RequiredShopperFieldsEnum 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<PaymentLinkRequest.RequiredShopperFieldsEnum>
-
fromValue
public static PaymentLinkRequest.RequiredShopperFieldsEnum fromValue(String value)
-
-