Package com.stripe.param
Class SubscriptionCreateParams.TransferData
- java.lang.Object
-
- com.stripe.param.SubscriptionCreateParams.TransferData
-
- Enclosing class:
- SubscriptionCreateParams
public static class SubscriptionCreateParams.TransferData extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscriptionCreateParams.TransferData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionCreateParams.TransferData.Builder
builder()
java.math.BigDecimal
getAmountPercent()
A non-negative decimal between 0 and 100, with at most two decimal places.java.lang.String
getDestination()
ID of an existing, connected Stripe account.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.
-
-
-
Method Detail
-
builder
public static SubscriptionCreateParams.TransferData.Builder builder()
-
getAmountPercent
public java.math.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.
-
getDestination
public java.lang.String getDestination()
ID of an existing, connected Stripe account.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. 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.
-
-