Package com.stripe.param
Class InvoiceItemCreateParams.Period.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceItemCreateParams.Period.Builder
-
- Enclosing class:
- InvoiceItemCreateParams.Period
public static class InvoiceItemCreateParams.Period.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description InvoiceItemCreateParams.Period
build()
Finalize and obtain parameter instance from this builder.InvoiceItemCreateParams.Period.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.InvoiceItemCreateParams.Period.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.InvoiceItemCreateParams.Period.Builder
setEnd(java.lang.Long end)
The end of the period, which must be greater than or equal to the start.InvoiceItemCreateParams.Period.Builder
setStart(java.lang.Long start)
-
-
-
Method Detail
-
build
public InvoiceItemCreateParams.Period build()
Finalize and obtain parameter instance from this builder.
-
setEnd
public InvoiceItemCreateParams.Period.Builder setEnd(java.lang.Long end)
The end of the period, which must be greater than or equal to the start.
-
putExtraParam
public InvoiceItemCreateParams.Period.Builder putExtraParam(java.lang.String key, java.lang.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. SeeInvoiceItemCreateParams.Period.extraParams
for the field documentation.
-
putAllExtraParam
public InvoiceItemCreateParams.Period.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeInvoiceItemCreateParams.Period.extraParams
for the field documentation.
-
setStart
public InvoiceItemCreateParams.Period.Builder setStart(java.lang.Long start)
-
-