- Enclosing class:
public static class SubscriptionCreateParams.TransferData extends Object
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()A non-negative decimal between 0 and 100, with at most two decimal places.ID of an existing, connected Stripe account.Map of extra parameters for custom features not available in this client library.
builderpublic static SubscriptionCreateParams.TransferData.Builder builder()
getAmountPercentpublic BigDecimal getAmountPercent()A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
getDestinationpublic String getDestination()ID of an existing, connected Stripe account.
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.