Package com.adyen.model.checkout
Enum PaymentLinkResponse.StatusEnum
- java.lang.Object
-
- java.lang.Enum<PaymentLinkResponse.StatusEnum>
-
- com.adyen.model.checkout.PaymentLinkResponse.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentLinkResponse.StatusEnum>
- Enclosing class:
- PaymentLinkResponse
public static enum PaymentLinkResponse.StatusEnum extends Enum<PaymentLinkResponse.StatusEnum>
Status of the payment link. Possible values: * **active**: The link can be used to make payments. * **expired**: The expiry date for the payment link has passed. Shoppers can no longer use the link to make payments. * **completed**: The shopper completed the payment. * **paymentPending**: The shopper is in the process of making the payment. Applies to payment methods with an asynchronous flow.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVECOMPLETEDEXPIREDPAIDPAYMENTPENDING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentLinkResponse.StatusEnumfromValue(String value)StringgetValue()StringtoString()static PaymentLinkResponse.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentLinkResponse.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final PaymentLinkResponse.StatusEnum ACTIVE
-
COMPLETED
public static final PaymentLinkResponse.StatusEnum COMPLETED
-
EXPIRED
public static final PaymentLinkResponse.StatusEnum EXPIRED
-
PAID
public static final PaymentLinkResponse.StatusEnum PAID
-
PAYMENTPENDING
public static final PaymentLinkResponse.StatusEnum PAYMENTPENDING
-
-
Method Detail
-
values
public static PaymentLinkResponse.StatusEnum[] 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 (PaymentLinkResponse.StatusEnum c : PaymentLinkResponse.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentLinkResponse.StatusEnum 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<PaymentLinkResponse.StatusEnum>
-
fromValue
public static PaymentLinkResponse.StatusEnum fromValue(String value)
-
-