Package com.stripe.param
Class QuoteUpdateParams.SubscriptionData
- java.lang.Object
-
- com.stripe.param.QuoteUpdateParams.SubscriptionData
-
- Enclosing class:
- QuoteUpdateParams
public static class QuoteUpdateParams.SubscriptionData extends java.lang.Object
The number of intervals between subscription billings. For example,interval=month
andinterval_count=3
bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuoteUpdateParams.SubscriptionData.Builder
static class
QuoteUpdateParams.SubscriptionData.EffectiveDate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuoteUpdateParams.SubscriptionData.Builder
builder()
java.lang.Object
getEffectiveDate()
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.Object
getTrialPeriodDays()
Integer representing the number of trial period days before the customer is charged for the first time.
-
-
-
Method Detail
-
builder
public static QuoteUpdateParams.SubscriptionData.Builder builder()
-
getEffectiveDate
public java.lang.Object getEffectiveDate()
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special valuecurrent_period_end
can be provided to update a subscription at the end of its current period. Theeffective_date
is ignored if it is in the past when the quote is accepted.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getTrialPeriodDays
public java.lang.Object getTrialPeriodDays()
Integer representing the number of trial period days before the customer is charged for the first time.
-
-