Package com.adyen.model.checkout
Enum SubscriptionDetails.BillingAttemptsRuleEnum
- java.lang.Object
-
- java.lang.Enum<SubscriptionDetails.BillingAttemptsRuleEnum>
-
- com.adyen.model.checkout.SubscriptionDetails.BillingAttemptsRuleEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SubscriptionDetails.BillingAttemptsRuleEnum>
- Enclosing class:
- SubscriptionDetails
public static enum SubscriptionDetails.BillingAttemptsRuleEnum extends Enum<SubscriptionDetails.BillingAttemptsRuleEnum>
The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * `on`: On a specific date. * `before`: Before and on a specific date. * `after`: On and after a specific date.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionDetails.BillingAttemptsRuleEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionDetails.BillingAttemptsRuleEnumfromValue(String text)StringgetValue()StringtoString()static SubscriptionDetails.BillingAttemptsRuleEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SubscriptionDetails.BillingAttemptsRuleEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON
public static final SubscriptionDetails.BillingAttemptsRuleEnum ON
-
BEFORE
public static final SubscriptionDetails.BillingAttemptsRuleEnum BEFORE
-
AFTER
public static final SubscriptionDetails.BillingAttemptsRuleEnum AFTER
-
-
Method Detail
-
values
public static SubscriptionDetails.BillingAttemptsRuleEnum[] 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 (SubscriptionDetails.BillingAttemptsRuleEnum c : SubscriptionDetails.BillingAttemptsRuleEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionDetails.BillingAttemptsRuleEnum 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<SubscriptionDetails.BillingAttemptsRuleEnum>
-
fromValue
public static SubscriptionDetails.BillingAttemptsRuleEnum fromValue(String text)
-
-