Package com.stripe.param
Class InvoiceCreatePreviewParams.InvoiceItem.Period.Builder
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.InvoiceItem.Period.Builder
- Enclosing class:
- InvoiceCreatePreviewParams.InvoiceItem.Period
-
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 end of the period, which must be greater than or equal to the start.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnd
Required. The end of the period, which must be greater than or equal to the start. This value is inclusive. -
putExtraParam
public InvoiceCreatePreviewParams.InvoiceItem.Period.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. SeeInvoiceCreatePreviewParams.InvoiceItem.Period.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceCreatePreviewParams.InvoiceItem.Period.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. SeeInvoiceCreatePreviewParams.InvoiceItem.Period.extraParams
for the field documentation. -
setStart
-