Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Recipient.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Recipient.Builder
- Enclosing class:
- AccountUpdateParams.Configuration.Recipient
-
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.setApplied
(Boolean applied) Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.Capabilities to request on the Recipient Configuration.setDefaultOutboundDestination
(EmptyParam defaultOutboundDestination) The payout method id to be used as a default outbound destination.setDefaultOutboundDestination
(String defaultOutboundDestination) The payout method id to be used as a default outbound destination.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setApplied
Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration. -
setCapabilities
public AccountUpdateParams.Configuration.Recipient.Builder setCapabilities(AccountUpdateParams.Configuration.Recipient.Capabilities capabilities) Capabilities to request on the Recipient Configuration. -
setDefaultOutboundDestination
public AccountUpdateParams.Configuration.Recipient.Builder setDefaultOutboundDestination(String defaultOutboundDestination) The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set tonull
to clear the existing default outbound destination. -
setDefaultOutboundDestination
public AccountUpdateParams.Configuration.Recipient.Builder setDefaultOutboundDestination(EmptyParam defaultOutboundDestination) The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set tonull
to clear the existing default outbound destination. -
putExtraParam
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. SeeAccountUpdateParams.Configuration.Recipient.extraParams
for the field documentation. -
putAllExtraParam
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. SeeAccountUpdateParams.Configuration.Recipient.extraParams
for the field documentation.
-