Package com.stripe.param
Class InvoiceCreateParams.AmountsDue.Builder
java.lang.Object
com.stripe.param.InvoiceCreateParams.AmountsDue.Builder
- Enclosing class:
- InvoiceCreateParams.AmountsDue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. The amount in cents (or local equivalent).setDaysUntilDue
(Long daysUntilDue) Number of days from when invoice is finalized until the payment is due.setDescription
(String description) Required. An arbitrary string attached to the object.setDueDate
(Long dueDate) Date on which a payment plan’s payment is due.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. The amount in cents (or local equivalent). -
setDaysUntilDue
Number of days from when invoice is finalized until the payment is due. -
setDescription
Required. An arbitrary string attached to the object. Often useful for displaying to users. -
setDueDate
Date on which a payment plan’s payment is due. -
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. SeeInvoiceCreateParams.AmountsDue.extraParams
for the field documentation. -
putAllExtraParam
-