Class PaymentMethodCreateParams.Token

java.lang.Object
com.stripe.param.PaymentMethodCreateParams.Token
Enclosing class:
PaymentMethodCreateParams

public static class PaymentMethodCreateParams.Token extends Object
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. See PaymentMethodCreateParams.Swish.extraParams for the field documentation.
  • Method Details

    • builder

      public static PaymentMethodCreateParams.Token.Builder builder()
    • 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.
    • getToken

      public String getToken()
      For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format card: {token: "tok_visa"}.