Package com.stripe.param
Class SubscriptionUpdateParams.AddInvoiceItem.Period.End.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.AddInvoiceItem.Period.End.Builder
- Enclosing class:
- SubscriptionUpdateParams.AddInvoiceItem.Period.End
-
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.setTimestamp
(Long timestamp) A precise Unix timestamp for the end of the invoice item period.Required. Select how to calculate the end of the invoice item period.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SubscriptionUpdateParams.AddInvoiceItem.Period.End.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. SeeSubscriptionUpdateParams.AddInvoiceItem.Period.End.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionUpdateParams.AddInvoiceItem.Period.End.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. SeeSubscriptionUpdateParams.AddInvoiceItem.Period.End.extraParams
for the field documentation. -
setTimestamp
A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal toperiod.start
. -
setType
public SubscriptionUpdateParams.AddInvoiceItem.Period.End.Builder setType(SubscriptionUpdateParams.AddInvoiceItem.Period.End.Type type) Required. Select how to calculate the end of the invoice item period.
-