Package com.stripe.model
Class Charge.PaymentMethodDetails.InteracPresent
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Charge.PaymentMethodDetails.InteracPresent
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Charge.PaymentMethodDetails
public static class Charge.PaymentMethodDetails.InteracPresent extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCharge.PaymentMethodDetails.InteracPresent.Receipt
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description InteracPresent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBrand()Card brand.java.lang.StringgetCardholderName()The cardholder name as read from the card, in ISO 7813 format.java.lang.StringgetCountry()Two-letter ISO code representing the country of the card.java.lang.StringgetDescription()A high-level description of the type of cards issued in this range.java.lang.StringgetEmvAuthData()Authorization response cryptogram.java.lang.LonggetExpMonth()Two-digit number representing the card's expiration month.java.lang.LonggetExpYear()Four-digit number representing the card's expiration year.java.lang.StringgetFingerprint()Uniquely identifies this particular card number.java.lang.StringgetFunding()Card funding type.java.lang.StringgetGeneratedCard()ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions.java.lang.StringgetIin()Issuer identification number of the card.java.lang.StringgetIssuer()The name of the card's issuing bank.java.lang.StringgetLast4()The last four digits of the card.java.lang.StringgetNetwork()Identifies which network this charge was processed on.java.util.List<java.lang.String>getPreferredLocales()EMV tag 5F2D.java.lang.StringgetReadMethod()How card details were read in this transaction.Charge.PaymentMethodDetails.InteracPresent.ReceiptgetReceipt()A collection of fields required to be displayed on receipts.inthashCode()voidsetBrand(java.lang.String brand)Card brand.voidsetCardholderName(java.lang.String cardholderName)The cardholder name as read from the card, in ISO 7813 format.voidsetCountry(java.lang.String country)Two-letter ISO code representing the country of the card.voidsetDescription(java.lang.String description)A high-level description of the type of cards issued in this range.voidsetEmvAuthData(java.lang.String emvAuthData)Authorization response cryptogram.voidsetExpMonth(java.lang.Long expMonth)Two-digit number representing the card's expiration month.voidsetExpYear(java.lang.Long expYear)Four-digit number representing the card's expiration year.voidsetFingerprint(java.lang.String fingerprint)Uniquely identifies this particular card number.voidsetFunding(java.lang.String funding)Card funding type.voidsetGeneratedCard(java.lang.String generatedCard)ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions.voidsetIin(java.lang.String iin)Issuer identification number of the card.voidsetIssuer(java.lang.String issuer)The name of the card's issuing bank.voidsetLast4(java.lang.String last4)The last four digits of the card.voidsetNetwork(java.lang.String network)Identifies which network this charge was processed on.voidsetPreferredLocales(java.util.List<java.lang.String> preferredLocales)EMV tag 5F2D.voidsetReadMethod(java.lang.String readMethod)How card details were read in this transaction.voidsetReceipt(Charge.PaymentMethodDetails.InteracPresent.Receipt receipt)A collection of fields required to be displayed on receipts.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getBrand
public java.lang.String getBrand()
Card brand. Can beinterac,mastercardorvisa.
-
getCardholderName
public java.lang.String getCardholderName()
The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/).
-
getCountry
public java.lang.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 java.lang.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.)
-
getEmvAuthData
public java.lang.String getEmvAuthData()
Authorization response cryptogram.
-
getExpMonth
public java.lang.Long getExpMonth()
Two-digit number representing the card's expiration month.
-
getExpYear
public java.lang.Long getExpYear()
Four-digit number representing the card's expiration year.
-
getFingerprint
public java.lang.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.Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.
-
getFunding
public java.lang.String getFunding()
Card funding type. Can becredit,debit,prepaid, orunknown.
-
getGeneratedCard
public java.lang.String 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
public java.lang.String getIin()
Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
-
getIssuer
public java.lang.String getIssuer()
The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
-
getLast4
public java.lang.String getLast4()
The last four digits of the card.
-
getNetwork
public java.lang.String getNetwork()
Identifies which network this charge was processed on. Can beamex,cartes_bancaires,diners,discover,interac,jcb,mastercard,unionpay,visa, orunknown.
-
getPreferredLocales
public java.util.List<java.lang.String> getPreferredLocales()
EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
-
getReadMethod
public java.lang.String 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
public Charge.PaymentMethodDetails.InteracPresent.Receipt getReceipt()
A collection of fields required to be displayed on receipts. Only required for EMV transactions.
-
setBrand
public void setBrand(java.lang.String brand)
Card brand. Can beinterac,mastercardorvisa.
-
setCardholderName
public void setCardholderName(java.lang.String cardholderName)
The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/).
-
setCountry
public void setCountry(java.lang.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(java.lang.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.)
-
setEmvAuthData
public void setEmvAuthData(java.lang.String emvAuthData)
Authorization response cryptogram.
-
setExpMonth
public void setExpMonth(java.lang.Long expMonth)
Two-digit number representing the card's expiration month.
-
setExpYear
public void setExpYear(java.lang.Long expYear)
Four-digit number representing the card's expiration year.
-
setFingerprint
public void setFingerprint(java.lang.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.Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.
-
setFunding
public void setFunding(java.lang.String funding)
Card funding type. Can becredit,debit,prepaid, orunknown.
-
setGeneratedCard
public void setGeneratedCard(java.lang.String generatedCard)
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
public void setIin(java.lang.String iin)
Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
-
setIssuer
public void setIssuer(java.lang.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(java.lang.String last4)
The last four digits of the card.
-
setNetwork
public void setNetwork(java.lang.String network)
Identifies which network this charge was processed on. Can beamex,cartes_bancaires,diners,discover,interac,jcb,mastercard,unionpay,visa, orunknown.
-
setPreferredLocales
public void setPreferredLocales(java.util.List<java.lang.String> preferredLocales)
EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
-
setReadMethod
public void setReadMethod(java.lang.String readMethod)
How card details were read in this transaction.One of
contact_emv,contactless_emv,contactless_magstripe_mode,magnetic_stripe_fallback, ormagnetic_stripe_track2.
-
setReceipt
public void setReceipt(Charge.PaymentMethodDetails.InteracPresent.Receipt receipt)
A collection of fields required to be displayed on receipts. Only required for EMV transactions.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-