Package com.adyen.model.checkout
Enum CreatePaymentLinkRequest.RecurringProcessingModelEnum
- java.lang.Object
-
- java.lang.Enum<CreatePaymentLinkRequest.RecurringProcessingModelEnum>
-
- com.adyen.model.checkout.CreatePaymentLinkRequest.RecurringProcessingModelEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CreatePaymentLinkRequest.RecurringProcessingModelEnum>
- Enclosing class:
- CreatePaymentLinkRequest
public static enum CreatePaymentLinkRequest.RecurringProcessingModelEnum extends Enum<CreatePaymentLinkRequest.RecurringProcessingModelEnum>
Defines a recurring payment type. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreatePaymentLinkRequest.RecurringProcessingModelEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description CARDONFILESUBSCRIPTIONUNSCHEDULEDCARDONFILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreatePaymentLinkRequest.RecurringProcessingModelEnumfromValue(String input)StringgetValue()StringtoString()static CreatePaymentLinkRequest.RecurringProcessingModelEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CreatePaymentLinkRequest.RecurringProcessingModelEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CARDONFILE
public static final CreatePaymentLinkRequest.RecurringProcessingModelEnum CARDONFILE
-
SUBSCRIPTION
public static final CreatePaymentLinkRequest.RecurringProcessingModelEnum SUBSCRIPTION
-
UNSCHEDULEDCARDONFILE
public static final CreatePaymentLinkRequest.RecurringProcessingModelEnum UNSCHEDULEDCARDONFILE
-
-
Method Detail
-
values
public static CreatePaymentLinkRequest.RecurringProcessingModelEnum[] 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 (CreatePaymentLinkRequest.RecurringProcessingModelEnum c : CreatePaymentLinkRequest.RecurringProcessingModelEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreatePaymentLinkRequest.RecurringProcessingModelEnum 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<CreatePaymentLinkRequest.RecurringProcessingModelEnum>
-
fromValue
public static CreatePaymentLinkRequest.RecurringProcessingModelEnum fromValue(String input)
-
-