Class TokenCreateParams.Card

java.lang.Object
com.stripe.param.TokenCreateParams.Card
Enclosing class:
TokenCreateParams

public static class TokenCreateParams.Card extends Object
  • Method Details

    • builder

      public static TokenCreateParams.Card.Builder builder()
    • getAddressCity

      public String getAddressCity()
      City / District / Suburb / Town / Village.
    • getAddressCountry

      public String getAddressCountry()
      Billing address country, if provided.
    • getAddressLine1

      public String getAddressLine1()
      Address line 1 (Street address / PO Box / Company name).
    • getAddressLine2

      public String getAddressLine2()
      Address line 2 (Apartment / Suite / Unit / Building).
    • getAddressState

      public String getAddressState()
      State / County / Province / Region.
    • getAddressZip

      public String getAddressZip()
      ZIP or postal code.
    • getCurrency

      public String getCurrency()
      Required in order to add the card to an account; in all other cases, this parameter is not used. When added to an account, the card (which must be a debit card) can be used as a transfer destination for funds in this currency.
    • getCvc

      public String getCvc()
      Card security code. Highly recommended to always include this value.
    • getExpMonth

      public String getExpMonth()
      Required. Two-digit number representing the card's expiration month.
    • getExpYear

      public String getExpYear()
      Required. Two- or four-digit number representing the card's expiration year.
    • 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.
    • getName

      public String getName()
      Cardholder's full name.
    • getNetworks

      public TokenCreateParams.Card.Networks getNetworks()
      Contains information about card networks used to process the payment.
    • getNumber

      public String getNumber()
      Required. The card number, as a string without any separators.