Class CapabilityUpdateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.CapabilityUpdateParams

public class CapabilityUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static CapabilityUpdateParams.Builder builder()
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,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.
    • getRequested

      public Boolean getRequested()
      To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the requirements arrays.

      If a capability isn't permanent, you can remove it from the account by passing false. Some capabilities are permanent after they've been requested. Attempting to remove a permanent capability returns an error.