Package com.stripe.param.v2.billing
Class BillSettingUpdateParams.Invoice.TimeUntilDue.Builder
java.lang.Object
com.stripe.param.v2.billing.BillSettingUpdateParams.Invoice.TimeUntilDue.Builder
- Enclosing class:
- BillSettingUpdateParams.Invoice.TimeUntilDue
-
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 interval unit for the time until due.setIntervalCount
(Integer intervalCount) Required. The number of interval units.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeBillSettingUpdateParams.Invoice.TimeUntilDue.extraParams
for the field documentation. -
putAllExtraParam
public BillSettingUpdateParams.Invoice.TimeUntilDue.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. SeeBillSettingUpdateParams.Invoice.TimeUntilDue.extraParams
for the field documentation. -
setInterval
public BillSettingUpdateParams.Invoice.TimeUntilDue.Builder setInterval(BillSettingUpdateParams.Invoice.TimeUntilDue.Interval interval) Required. The interval unit for the time until due. -
setIntervalCount
Required. The number of interval units. For example, if interval=day and interval_count=30, the invoice will be due in 30 days.
-