Package com.stripe.param
Class ChargeCreateParams.Destination
- java.lang.Object
-
- com.stripe.param.ChargeCreateParams.Destination
-
- Enclosing class:
- ChargeCreateParams
public static class ChargeCreateParams.Destination extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChargeCreateParams.Destination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChargeCreateParams.Destination.Builderbuilder()java.lang.StringgetAccount()ID of an existing, connected Stripe account.java.lang.LonggetAmount()The amount to transfer to the destination account without creating anApplication Feeobject.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 ChargeCreateParams.Destination.Builder builder()
-
getAccount
public java.lang.String getAccount()
ID of an existing, connected Stripe account.
-
getAmount
public java.lang.Long getAmount()
The amount to transfer to the destination account without creating anApplication Feeobject. Cannot be combined with theapplication_feeparameter. Must be less than or equal to the charge amount.
-
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@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.
-
-