Package com.stripe.model
Class Charge.PaymentMethodDetails.Card
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Charge.PaymentMethodDetails.Card
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Charge.PaymentMethodDetails
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
Type of installment plan, one offixed_count
.static class
static 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
The authorized amount.Authorization code on the charge.getBrand()
Card brand.When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.Check results by Card networks on Card address and CVC at time of payment.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.Installment details for this payment (Mexico only).The name of the card's issuing bank.getLast4()
The last four digits of the card.ID of the mandate used to make this payment or created by it.getMoto()
True if this payment was marked as MOTO and out of scope for SCA.Identifies which network this charge was processed on.If this card has network token credentials, this contains the details of the network token credentials.Populated if this transaction used 3D Secure authentication.If this Card is part of a card wallet, this contains the details of the card wallet.int
hashCode()
void
setAmountAuthorized
(Long amountAuthorized) The authorized amount.void
setAuthorizationCode
(String authorizationCode) Authorization code on the charge.void
Card brand.void
setCaptureBefore
(Long captureBefore) When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.void
Check results by Card networks on Card address and CVC at time of payment.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
setExtendedAuthorization
(Charge.PaymentMethodDetails.Card.ExtendedAuthorization extendedAuthorization) 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
setIncrementalAuthorization
(Charge.PaymentMethodDetails.Card.IncrementalAuthorization incrementalAuthorization) void
setInstallments
(Charge.PaymentMethodDetails.Card.Installments installments) Installment details for this payment (Mexico only).void
The name of the card's issuing bank.void
The last four digits of the card.void
setMandate
(String mandate) ID of the mandate used to make this payment or created by it.void
True if this payment was marked as MOTO and out of scope for SCA.void
setMulticapture
(Charge.PaymentMethodDetails.Card.Multicapture multicapture) void
setNetwork
(String network) Identifies which network this charge was processed on.void
setNetworkToken
(Charge.PaymentMethodDetails.Card.NetworkToken networkToken) If this card has network token credentials, this contains the details of the network token credentials.void
void
setThreeDSecure
(Charge.PaymentMethodDetails.Card.ThreeDSecure threeDSecure) Populated if this transaction 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
-
getAmountAuthorized
The authorized amount. -
getAuthorizationCode
Authorization code on the charge. -
getBrand
Card brand. Can beamex
,diners
,discover
,eftpos_au
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
getCaptureBefore
When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured. -
getChecks
Check results by Card networks on Card address and CVC at time of payment. -
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. -
getExtendedAuthorization
-
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.) -
getIncrementalAuthorization
-
getInstallments
Installment details for this payment (Mexico only).For more information, see the installments integration guide.
-
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. -
getMandate
ID of the mandate used to make this payment or created by it. -
getMoto
True if this payment was marked as MOTO and out of scope for SCA. -
getMulticapture
-
getNetwork
Identifies which network this charge was processed on. Can beamex
,cartes_bancaires
,diners
,discover
,eftpos_au
,interac
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
getNetworkToken
If this card has network token credentials, this contains the details of the network token credentials. -
getOvercapture
-
getThreeDSecure
Populated if this transaction used 3D Secure authentication. -
getWallet
If this Card is part of a card wallet, this contains the details of the card wallet. -
setAmountAuthorized
The authorized amount. -
setAuthorizationCode
Authorization code on the charge. -
setBrand
Card brand. Can beamex
,diners
,discover
,eftpos_au
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
setCaptureBefore
When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured. -
setChecks
Check results by Card networks on Card address and CVC at time of payment. -
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. -
setExtendedAuthorization
public void setExtendedAuthorization(Charge.PaymentMethodDetails.Card.ExtendedAuthorization extendedAuthorization) -
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.) -
setIncrementalAuthorization
public void setIncrementalAuthorization(Charge.PaymentMethodDetails.Card.IncrementalAuthorization incrementalAuthorization) -
setInstallments
Installment details for this payment (Mexico only).For more information, see the installments integration guide.
-
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. -
setMandate
ID of the mandate used to make this payment or created by it. -
setMoto
True if this payment was marked as MOTO and out of scope for SCA. -
setMulticapture
-
setNetwork
Identifies which network this charge was processed on. Can beamex
,cartes_bancaires
,diners
,discover
,eftpos_au
,interac
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
setNetworkToken
If this card has network token credentials, this contains the details of the network token credentials. -
setOvercapture
-
setThreeDSecure
Populated if this transaction 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()
-