Package com.stripe.param.v2.payments
Class OffSessionPaymentCreateParams.TransferData.Builder
java.lang.Object
com.stripe.param.v2.payments.OffSessionPaymentCreateParams.TransferData.Builder
- Enclosing class:
- OffSessionPaymentCreateParams.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 transferred to the destination account.setDestination
(String destination) Required. The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. The amount must be less than or equal to the amount_requested, and must be a positive integer representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00). -
setDestination
Required. The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success. -
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. SeeOffSessionPaymentCreateParams.TransferData.extraParams
for the field documentation. -
putAllExtraParam
-