public static class Charge.PaymentMethodDetails.CardPresent extends StripeObject
Modifier and Type | Class and Description |
---|---|
static class |
Charge.PaymentMethodDetails.CardPresent.Receipt |
PRETTY_PRINT_GSON
Constructor and Description |
---|
CardPresent() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBrand()
Card brand.
|
java.lang.String |
getCountry()
Two-letter ISO code representing the country of the card.
|
java.lang.String |
getEmvAuthData()
Authorization response cryptogram.
|
java.lang.Long |
getExpMonth()
Two-digit number representing the card's expiration month.
|
java.lang.Long |
getExpYear()
Four-digit number representing the card's expiration year.
|
java.lang.String |
getFingerprint()
Uniquely identifies this particular card number.
|
java.lang.String |
getFunding()
Card funding type.
|
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.
|
java.lang.String |
getLast4()
The last four digits of the card.
|
java.lang.String |
getReadMethod()
How were card details read in this transaction.
|
Charge.PaymentMethodDetails.CardPresent.Receipt |
getReceipt()
A collection of fields required to be displayed on receipts.
|
int |
hashCode() |
void |
setBrand(java.lang.String brand)
Card brand.
|
void |
setCountry(java.lang.String country)
Two-letter ISO code representing the country of the card.
|
void |
setEmvAuthData(java.lang.String emvAuthData)
Authorization response cryptogram.
|
void |
setExpMonth(java.lang.Long expMonth)
Two-digit number representing the card's expiration month.
|
void |
setExpYear(java.lang.Long expYear)
Four-digit number representing the card's expiration year.
|
void |
setFingerprint(java.lang.String fingerprint)
Uniquely identifies this particular card number.
|
void |
setFunding(java.lang.String funding)
Card funding type.
|
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.
|
void |
setLast4(java.lang.String last4)
The last four digits of the card.
|
void |
setReadMethod(java.lang.String readMethod)
How were card details read in this transaction.
|
void |
setReceipt(Charge.PaymentMethodDetails.CardPresent.Receipt receipt)
A collection of fields required to be displayed on receipts.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getBrand()
public java.lang.String getCountry()
public java.lang.String getEmvAuthData()
public java.lang.Long getExpMonth()
public java.lang.Long getExpYear()
public java.lang.String getFingerprint()
public java.lang.String getFunding()
public java.lang.String getGeneratedCard()
public java.lang.String getLast4()
public java.lang.String getReadMethod()
public Charge.PaymentMethodDetails.CardPresent.Receipt getReceipt()
public void setBrand(java.lang.String brand)
public void setCountry(java.lang.String country)
public void setEmvAuthData(java.lang.String emvAuthData)
public void setExpMonth(java.lang.Long expMonth)
public void setExpYear(java.lang.Long expYear)
public void setFingerprint(java.lang.String fingerprint)
public void setFunding(java.lang.String funding)
public void setGeneratedCard(java.lang.String generatedCard)
public void setLast4(java.lang.String last4)
public void setReadMethod(java.lang.String readMethod)
public void setReceipt(Charge.PaymentMethodDetails.CardPresent.Receipt receipt)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object