Package com.adyen.model.checkout
Enum PaymentsRequest.RecurringProcessingModelEnum
- java.lang.Object
-
- java.lang.Enum<PaymentsRequest.RecurringProcessingModelEnum>
-
- com.adyen.model.checkout.PaymentsRequest.RecurringProcessingModelEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentsRequest.RecurringProcessingModelEnum>
- Enclosing class:
- PaymentsRequest
public static enum PaymentsRequest.RecurringProcessingModelEnum extends Enum<PaymentsRequest.RecurringProcessingModelEnum>
how the shopper interacts with the system
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARD_ON_FILECard details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process.SUBSCRIPTIONA transaction for a fixed or variable amount, which follows a fixed schedule.UNSCHEDULED_CARD_ON_FILEA transaction that occurs on a non-fixed schedule and/or have variable amounts.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static PaymentsRequest.RecurringProcessingModelEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentsRequest.RecurringProcessingModelEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBSCRIPTION
@SerializedName("Subscription") public static final PaymentsRequest.RecurringProcessingModelEnum SUBSCRIPTIONA transaction for a fixed or variable amount, which follows a fixed schedule. This is the default value.
-
CARD_ON_FILE
@SerializedName("CardOnFile") public static final PaymentsRequest.RecurringProcessingModelEnum CARD_ON_FILECard 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 as a card-on-file transaction.
-
UNSCHEDULED_CARD_ON_FILE
@SerializedName("UnscheduledCardOnFile") public static final PaymentsRequest.RecurringProcessingModelEnum UNSCHEDULED_CARD_ON_FILEA transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount.
-
-
Method Detail
-
values
public static PaymentsRequest.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 (PaymentsRequest.RecurringProcessingModelEnum c : PaymentsRequest.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 PaymentsRequest.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
-
toString
public String toString()
- Overrides:
toStringin classEnum<PaymentsRequest.RecurringProcessingModelEnum>
-
-