Package com.stripe.param
Class InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData.Builder
- Enclosing class:
- InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData
public static class InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData.Builder
extends Object
-
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.setAmountPercent
(BigDecimal amountPercent) A non-negative decimal between 0 and 100, with at most two decimal places.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. -
setAmountPercent
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData.Builder setAmountPercent(BigDecimal amountPercent) A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. -
setDestination
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData.Builder setDestination(String destination) Required. ID of an existing, connected Stripe account. -
putExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.TransferData.Builder putAllExtraParam(Map<String, Object> map)
-