Package com.stripe.param
Enum Class SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor
java.lang.Object
java.lang.Enum<SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor>
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor>
,Constable
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment
public static enum SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor
extends Enum<SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor>
implements ApiRequestParams.EnumParam
Configure how an opt-in following a paid trial is billed when using
billing_behavior: prorate_up_front
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
AMENDMENT_START
@SerializedName("amendment_start") public static final SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor AMENDMENT_START -
AUTOMATIC
@SerializedName("automatic") public static final SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor AUTOMATIC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-