Package com.adyen.model.checkout
Enum PaymentLinkResource.StatusEnum
- java.lang.Object
-
- java.lang.Enum<PaymentLinkResource.StatusEnum>
-
- com.adyen.model.checkout.PaymentLinkResource.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentLinkResource.StatusEnum>
- Enclosing class:
- PaymentLinkResource
public static enum PaymentLinkResource.StatusEnum extends Enum<PaymentLinkResource.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentLinkResource.StatusEnum.Adapter
-
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 PaymentLinkResource.StatusEnumfromValue(String input)StringgetValue()StringtoString()static PaymentLinkResource.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentLinkResource.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 PaymentLinkResource.StatusEnum ACTIVE
-
COMPLETED
public static final PaymentLinkResource.StatusEnum COMPLETED
-
EXPIRED
public static final PaymentLinkResource.StatusEnum EXPIRED
-
PAID
public static final PaymentLinkResource.StatusEnum PAID
-
PAYMENTPENDING
public static final PaymentLinkResource.StatusEnum PAYMENTPENDING
-
-
Method Detail
-
values
public static PaymentLinkResource.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 (PaymentLinkResource.StatusEnum c : PaymentLinkResource.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 PaymentLinkResource.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<PaymentLinkResource.StatusEnum>
-
fromValue
public static PaymentLinkResource.StatusEnum fromValue(String input)
-
-