Package com.stripe.param
Class SubscriptionResumeParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.SubscriptionResumeParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumstatic enumNested 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 booleanbooleanThe 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.Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status.If set, prorations will be calculated as though the subscription was resumed at the given time.inthashCode()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. Eithernoworunchanged. 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@SerializedNamevalue. 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. -
getPaymentBehavior
Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status. The default isresume_on_payment_attempt. -
getProrationBehavior
Determines how to handle prorations resulting from thebilling_cycle_anchorbeingunchanged. When thebilling_cycle_anchoris 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()
-