Package com.stripe.param
Class SubscriptionUpdateParams.PauseCollection.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.PauseCollection.Builder
- Enclosing class:
- SubscriptionUpdateParams.PauseCollection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. The payment collection behavior for this subscription while paused.setResumesAt
(Long resumesAt) The time after which the subscription will resume collecting payments.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBehavior
public SubscriptionUpdateParams.PauseCollection.Builder setBehavior(SubscriptionUpdateParams.PauseCollection.Behavior behavior) Required. The payment collection behavior for this subscription while paused. One ofkeep_as_draft
,mark_uncollectible
, orvoid
. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSubscriptionUpdateParams.PauseCollection.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSubscriptionUpdateParams.PauseCollection.extraParams
for the field documentation. -
setResumesAt
The time after which the subscription will resume collecting payments.
-