Package com.stripe.param
Class OrderUpdateParams.Payment.Settings.TransferData.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Payment.Settings.TransferData.Builder
- Enclosing class:
- OrderUpdateParams.Payment.Settings.TransferData
-
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.The amount that will be transferred automatically when the order is paid.setDestination
(EmptyParam destination) Required. ID of the Connected account receiving the transfer.setDestination
(String destination) Required. ID of the Connected account receiving the transfer.
-
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 order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field. -
setDestination
Required. ID of the Connected account receiving the transfer. -
setDestination
public OrderUpdateParams.Payment.Settings.TransferData.Builder setDestination(EmptyParam destination) Required. ID of the Connected account receiving the transfer. -
putExtraParam
public OrderUpdateParams.Payment.Settings.TransferData.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. SeeOrderUpdateParams.Payment.Settings.TransferData.extraParams
for the field documentation. -
putAllExtraParam
public OrderUpdateParams.Payment.Settings.TransferData.Builder putAllExtraParam(Map<String, Object> map)
-