Package com.stripe.param
Class InvoiceCreateParams.TransferData.Builder
java.lang.Object
com.stripe.param.InvoiceCreateParams.TransferData.Builder
- Enclosing class:
- InvoiceCreateParams.TransferData
-
Constructor Summary
-
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.The amount that will be transferred automatically when the invoice is paid.setDestination
(String destination) Required. ID of an existing, connected Stripe account.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. -
setDestination
Required. ID of an existing, connected Stripe account. -
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.TransferData.extraParams
for the field documentation. -
putAllExtraParam
-