Package com.stripe.param
Class BalanceTransferCreateParams.SourceBalance.AllocatedFunds.Builder
java.lang.Object
com.stripe.param.BalanceTransferCreateParams.SourceBalance.AllocatedFunds.Builder
- Enclosing class:
- BalanceTransferCreateParams.SourceBalance.AllocatedFunds
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.Required. The charge ID that the funds are originally sourced from.Required. The type of object that the funds are originally sourced from.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCharge
Required. The charge ID that the funds are originally sourced from. Required iftypeischarge. -
putExtraParam
public BalanceTransferCreateParams.SourceBalance.AllocatedFunds.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. SeeBalanceTransferCreateParams.SourceBalance.AllocatedFunds.extraParamsfor the field documentation. -
putAllExtraParam
public BalanceTransferCreateParams.SourceBalance.AllocatedFunds.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs 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. SeeBalanceTransferCreateParams.SourceBalance.AllocatedFunds.extraParamsfor the field documentation. -
setType
public BalanceTransferCreateParams.SourceBalance.AllocatedFunds.Builder setType(BalanceTransferCreateParams.SourceBalance.AllocatedFunds.Type type) Required. The type of object that the funds are originally sourced from. One ofcharge.
-