Package com.stripe.param
Enum Class QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type
java.lang.Object
java.lang.Enum<QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type>
com.stripe.param.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type>
,Constable
- Enclosing class:
- QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom
public static enum QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type
extends Enum<QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type>
implements ApiRequestParams.EnumParam
The position of the previous quote line in the
lines
array after which this
line should begin. Indexes start from 0 and must be less than the index of the
current line in the array.-
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
-
LINE_STARTS_AT
@SerializedName("line_starts_at") public static final QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type LINE_STARTS_AT -
NOW
@SerializedName("now") public static final QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type NOW -
PAUSE_COLLECTION_START
@SerializedName("pause_collection_start") public static final QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type PAUSE_COLLECTION_START -
QUOTE_ACCEPTANCE_DATE
@SerializedName("quote_acceptance_date") public static final QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type QUOTE_ACCEPTANCE_DATE -
TIMESTAMP
@SerializedName("timestamp") public static final QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type TIMESTAMP
-
-
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
public static QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type valueOf(String name) 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
-