Package com.stripe.model
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getBrand()
Card brand.Check results by Card networks on Card address and CVC at the time of authorization.Two-letter ISO code representing the country of the card.A high-level description of the type of cards issued in this range.Two-digit number representing the card's expiration month.Four-digit number representing the card's expiration year.Uniquely identifies this particular card number.Card funding type.getIin()
Issuer identification number of the card.The name of the card's issuing bank.getLast4()
The last four digits of the card.Identifies which network this charge was processed on.Populated if this authorization used 3D Secure authentication.If this Card is part of a card wallet, this contains the details of the card wallet.int
hashCode()
void
Card brand.void
Check results by Card networks on Card address and CVC at the time of authorization.void
setCountry
(String country) Two-letter ISO code representing the country of the card.void
setDescription
(String description) A high-level description of the type of cards issued in this range.void
setExpMonth
(Long expMonth) Two-digit number representing the card's expiration month.void
setExpYear
(Long expYear) Four-digit number representing the card's expiration year.void
setFingerprint
(String fingerprint) Uniquely identifies this particular card number.void
setFunding
(String funding) Card funding type.void
Issuer identification number of the card.void
The name of the card's issuing bank.void
The last four digits of the card.void
setNetwork
(String network) Identifies which network this charge was processed on.void
Populated if this authorization used 3D Secure authentication.void
If this Card is part of a card wallet, this contains the details of the card wallet.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Card
public Card()
-
-
Method Details
-
getBrand
Card brand. Can beamex
,diners
,discover
,eftpos_au
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
getChecks
Check results by Card networks on Card address and CVC at the time of authorization. -
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
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
Two-digit number representing the card's expiration month. -
getExpYear
Four-digit number representing the card's expiration year. -
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
Card funding type. Can becredit
,debit
,prepaid
, orunknown
. -
getIin
Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) -
getIssuer
The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) -
getLast4
The last four digits of the card. -
getNetwork
Identifies which network this charge was processed on. Can beamex
,cartes_bancaires
,diners
,discover
,eftpos_au
,interac
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
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
Card brand. Can beamex
,diners
,discover
,eftpos_au
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
setChecks
Check results by Card networks on Card address and CVC at the time of authorization. -
setCountry
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
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
Two-digit number representing the card's expiration month. -
setExpYear
Four-digit number representing the card's expiration year. -
setFingerprint
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
Card funding type. Can becredit
,debit
,prepaid
, orunknown
. -
setIin
Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) -
setIssuer
The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) -
setLast4
The last four digits of the card. -
setNetwork
Identifies which network this charge was processed on. Can beamex
,cartes_bancaires
,diners
,discover
,eftpos_au
,interac
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
setThreeDSecure
Populated if this authorization used 3D Secure authentication. -
setWallet
If this Card is part of a card wallet, this contains the details of the card wallet. -
equals
-
canEqual
-
hashCode
public int hashCode()
-