Class PaymentMethodUpdateParams


public class PaymentMethodUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static PaymentMethodUpdateParams.Builder builder()
    • getAllowRedisplay

      public PaymentMethodUpdateParams.AllowRedisplay getAllowRedisplay()
      This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to unspecified.
    • getBillingDetails

      public PaymentMethodUpdateParams.BillingDetails getBillingDetails()
      Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
    • getCard

      If this is a card PaymentMethod, this hash contains the user's card details.
    • 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.
    • getLink

      If this is an Link PaymentMethod, this hash contains details about the Link payment method.
    • 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.
    • getUsBankAccount

      public PaymentMethodUpdateParams.UsBankAccount getUsBankAccount()
      If this is an us_bank_account PaymentMethod, this hash contains details about the US bank account payment method.