Package com.stripe.model
Class Charge.PaymentMethodDetails.CardPresent
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Charge.PaymentMethodDetails.CardPresent
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Charge.PaymentMethodDetails
Owner's verified shipping address. Values are verified or provided by the wallet
directly (if supported) at the time of authorization or settlement. They cannot be set
or mutated.
-
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
The authorized amount.getBrand()
Card brand.The product code that identifies the specific program or product associated with a card.When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.The cardholder name as read from the card, in ISO 7813 format.Two-letter ISO code representing the country of the card.A high-level description of the type of cards issued in this range.Authorization response cryptogram.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.ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions.getIin()
Issuer identification number of the card.Whether this PaymentIntent is eligible for incremental authorizations.The name of the card's issuing bank.getLast4()
The last four digits of the card.Identifies which network this charge was processed on.This is used by the financial networks to identify a transaction.Details about payments collected offline.Defines whether the authorized amount can be over-captured or not.EMV tag 5F2D.How card details were read in this transaction.A collection of fields required to be displayed on receipts.int
hashCode()
void
setAmountAuthorized
(Long amountAuthorized) The authorized amount.void
Card brand.void
setBrandProduct
(String brandProduct) The product code that identifies the specific program or product associated with a card.void
setCaptureBefore
(Long captureBefore) When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.void
setCardholderName
(String cardholderName) The cardholder name as read from the card, in ISO 7813 format.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
setEmvAuthData
(String emvAuthData) Authorization response cryptogram.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
setGeneratedCard
(String generatedCard) ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions.void
Issuer identification number of the card.void
setIncrementalAuthorizationSupported
(Boolean incrementalAuthorizationSupported) Whether this PaymentIntent is eligible for incremental authorizations.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
setNetworkTransactionId
(String networkTransactionId) This is used by the financial networks to identify a transaction.void
Details about payments collected offline.void
setOvercaptureSupported
(Boolean overcaptureSupported) Defines whether the authorized amount can be over-captured or not.void
setPreferredLocales
(List<String> preferredLocales) EMV tag 5F2D.void
setReadMethod
(String readMethod) How card details were read in this transaction.void
A collection of fields required to be displayed on receipts.void
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CardPresent
public CardPresent()
-
-
Method Details
-
getAmountAuthorized
The authorized amount. -
getBrand
Card brand. Can beamex
,diners
,discover
,eftpos_au
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
getBrandProduct
The product code that identifies the specific program or product associated with a card. -
getCaptureBefore
When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured. -
getCardholderName
The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/
). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay. -
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.) -
getEmvAuthData
Authorization response cryptogram. -
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
. -
getGeneratedCard
ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. -
getIin
Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) -
getIncrementalAuthorizationSupported
Whether this PaymentIntent is eligible for incremental authorizations. Request support using request_incremental_authorization_support. -
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
. -
getNetworkTransactionId
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands. -
getOffline
Details about payments collected offline. -
getOvercaptureSupported
Defines whether the authorized amount can be over-captured or not. -
getPreferredLocales
EMV tag 5F2D. Preferred languages specified by the integrated circuit chip. -
getReadMethod
How card details were read in this transaction.One of
contact_emv
,contactless_emv
,contactless_magstripe_mode
,magnetic_stripe_fallback
, ormagnetic_stripe_track2
. -
getReceipt
A collection of fields required to be displayed on receipts. Only required for EMV transactions. -
getWallet
-
setAmountAuthorized
The authorized amount. -
setBrand
Card brand. Can beamex
,diners
,discover
,eftpos_au
,jcb
,mastercard
,unionpay
,visa
, orunknown
. -
setBrandProduct
The product code that identifies the specific program or product associated with a card. -
setCaptureBefore
When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured. -
setCardholderName
The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/
). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay. -
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.) -
setEmvAuthData
Authorization response cryptogram. -
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
. -
setGeneratedCard
ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. -
setIin
Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) -
setIncrementalAuthorizationSupported
Whether this PaymentIntent is eligible for incremental authorizations. Request support using request_incremental_authorization_support. -
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
. -
setNetworkTransactionId
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands. -
setOffline
Details about payments collected offline. -
setOvercaptureSupported
Defines whether the authorized amount can be over-captured or not. -
setPreferredLocales
EMV tag 5F2D. Preferred languages specified by the integrated circuit chip. -
setReadMethod
How card details were read in this transaction.One of
contact_emv
,contactless_emv
,contactless_magstripe_mode
,magnetic_stripe_fallback
, ormagnetic_stripe_track2
. -
setReceipt
A collection of fields required to be displayed on receipts. Only required for EMV transactions. -
setWallet
-
equals
-
canEqual
-
hashCode
public int hashCode()
-