Class SetupAttempt.PaymentMethodDetails.Card

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SetupAttempt.PaymentMethodDetails.Card
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
SetupAttempt.PaymentMethodDetails

public static class SetupAttempt.PaymentMethodDetails.Card extends StripeObject
  • Constructor Details

    • Card

      public Card()
  • Method Details

    • getBrand

      public String getBrand()
      Card brand. Can be amex, diners, discover, eftpos_au, jcb, mastercard, unionpay, visa, or unknown.
    • getChecks

      Check results by Card networks on Card address and CVC at the time of authorization.
    • getCountry

      public String getCountry()
      Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
    • getDescription

      public String getDescription()
      A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
    • getExpMonth

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

      public Long getExpYear()
      Four-digit number representing the card's expiration year.
    • getFingerprint

      public String getFingerprint()
      Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.

      As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.

    • getFunding

      public String getFunding()
      Card funding type. Can be credit, debit, prepaid, or unknown.
    • getIin

      public String getIin()
      Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
    • getIssuer

      public String getIssuer()
      The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
    • getLast4

      public String getLast4()
      The last four digits of the card.
    • getNetwork

      public String getNetwork()
      Identifies which network this charge was processed on. Can be amex, cartes_bancaires, diners, discover, eftpos_au, interac, jcb, mastercard, unionpay, visa, or unknown.
    • getThreeDSecure

      Populated if this authorization used 3D Secure authentication.
    • getWallet

      If this Card is part of a card wallet, this contains the details of the card wallet.
    • setBrand

      public void setBrand(String brand)
      Card brand. Can be amex, diners, discover, eftpos_au, jcb, mastercard, unionpay, visa, or unknown.
    • setChecks

      public void setChecks(SetupAttempt.PaymentMethodDetails.Card.Checks checks)
      Check results by Card networks on Card address and CVC at the time of authorization.
    • setCountry

      public void setCountry(String country)
      Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
    • setDescription

      public void setDescription(String description)
      A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
    • setExpMonth

      public void setExpMonth(Long expMonth)
      Two-digit number representing the card's expiration month.
    • setExpYear

      public void setExpYear(Long expYear)
      Four-digit number representing the card's expiration year.
    • setFingerprint

      public void setFingerprint(String fingerprint)
      Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.

      As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.

    • setFunding

      public void setFunding(String funding)
      Card funding type. Can be credit, debit, prepaid, or unknown.
    • setIin

      public void setIin(String iin)
      Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
    • setIssuer

      public void setIssuer(String issuer)
      The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
    • setLast4

      public void setLast4(String last4)
      The last four digits of the card.
    • setNetwork

      public void setNetwork(String network)
      Identifies which network this charge was processed on. Can be amex, cartes_bancaires, diners, discover, eftpos_au, interac, jcb, mastercard, unionpay, visa, or unknown.
    • setThreeDSecure

      public void setThreeDSecure(SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure threeDSecure)
      Populated if this authorization used 3D Secure authentication.
    • setWallet

      public void setWallet(SetupAttempt.PaymentMethodDetails.Card.Wallet wallet)
      If this Card is part of a card wallet, this contains the details of the card wallet.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object