Package com.stripe.param
Class InvoiceUpdateParams.TransferData.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceUpdateParams.TransferData.Builder
-
- Enclosing class:
- InvoiceUpdateParams.TransferData
public static class InvoiceUpdateParams.TransferData.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description InvoiceUpdateParams.TransferData
build()
Finalize and obtain parameter instance from this builder.InvoiceUpdateParams.TransferData.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
InvoiceUpdateParams.TransferData.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.InvoiceUpdateParams.TransferData.Builder
setAmount(java.lang.Long amount)
The amount that will be transferred automatically when the invoice is paid.InvoiceUpdateParams.TransferData.Builder
setDestination(EmptyParam destination)
ID of an existing, connected Stripe account.InvoiceUpdateParams.TransferData.Builder
setDestination(java.lang.String destination)
ID of an existing, connected Stripe account.
-
-
-
Method Detail
-
build
public InvoiceUpdateParams.TransferData build()
Finalize and obtain parameter instance from this builder.
-
setAmount
public InvoiceUpdateParams.TransferData.Builder setAmount(java.lang.Long amount)
The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred.
-
setDestination
public InvoiceUpdateParams.TransferData.Builder setDestination(java.lang.String destination)
ID of an existing, connected Stripe account.
-
setDestination
public InvoiceUpdateParams.TransferData.Builder setDestination(EmptyParam destination)
ID of an existing, connected Stripe account.
-
putExtraParam
public InvoiceUpdateParams.TransferData.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. SeeInvoiceUpdateParams.TransferData.extraParams
for the field documentation.
-
putAllExtraParam
public InvoiceUpdateParams.TransferData.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
-
-