Class SetupIntentUpdateParams

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

public class SetupIntentUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static SetupIntentUpdateParams.Builder builder()
    • getCustomer

      public Object getCustomer()
      ID of the Customer this SetupIntent belongs to, if one exists.

      If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.

    • getDescription

      public Object getDescription()
      An arbitrary string attached to the object. Often useful for displaying to users.
    • 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.
    • getMetadata

      public Object getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
    • getPaymentMethod

      public Object getPaymentMethod()
      ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
    • getPaymentMethodData

      public SetupIntentUpdateParams.PaymentMethodData getPaymentMethodData()
      When included, this hash creates a PaymentMethod that is set as the payment_method value in the SetupIntent.
    • getPaymentMethodOptions

      public SetupIntentUpdateParams.PaymentMethodOptions getPaymentMethodOptions()
      Payment-method-specific configuration for this SetupIntent.
    • getPaymentMethodTypes

      public List<String> getPaymentMethodTypes()
      The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. If this is not provided, defaults to ["card"].