Package com.stripe.param
Class InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.Builder
- Enclosing class:
- InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection
public static class InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.Builder
extends Object
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBehavior
public InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.Builder setBehavior(InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.Behavior behavior) Required. The payment collection behavior for this subscription while paused. One ofkeep_as_draft
,mark_uncollectible
, orvoid
. -
putExtraParam
public InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.Builder putExtraParam(String key, Object value) 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. SeeInvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.Builder putAllExtraParam(Map<String, Object> map) 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. SeeInvoiceUpcomingLinesParams.ScheduleDetails.Phase.PauseCollection.extraParams
for the field documentation.
-