Package com.stripe.param
Enum SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor
- java.lang.Object
-
- java.lang.Enum<SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor>
-
- com.stripe.param.SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor>
- Enclosing class:
- SubscriptionScheduleCreateParams.Phase
public static enum SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor extends java.lang.Enum<SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor> implements ApiRequestParams.EnumParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSubscriptionScheduleCreateParams.Phase.TransferData.extraParams
for the field documentation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC
PHASE_START
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
@SerializedName("automatic") public static final SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor AUTOMATIC
-
PHASE_START
@SerializedName("phase_start") public static final SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor PHASE_START
-
-
Method Detail
-
values
public static SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor[] 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 (SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor c : SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-