Package com.stripe.param
Class SubscriptionResumeParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.SubscriptionResumeParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
static enum
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The billing cycle anchor that applies when the subscription is resumed.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.If set, prorations will be calculated as though the subscription was resumed at the given time.int
hashCode()
Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getBillingCycleAnchor
The billing cycle anchor that applies when the subscription is resumed. Eithernow
orunchanged
. The default isnow
. For more information, see the billing cycle documentation. -
getExpand
Specifies which fields in the response should be expanded. -
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. -
getProrationBehavior
Determines how to handle prorations resulting from thebilling_cycle_anchor
beingunchanged
. When thebilling_cycle_anchor
is set tonow
(default value), no prorations are generated. If no value is passed, the default iscreate_prorations
. -
getProrationDate
If set, prorations will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same prorations that were previewed with the create preview endpoint. -
equals
-
canEqual
-
hashCode
public int hashCode()
-