Class CustomerCard
- java.lang.Object
-
- com.mercadopago.net.MPResource
-
- com.mercadopago.resources.customer.CustomerCard
-
public class CustomerCard extends MPResource
Customer card details.
-
-
Constructor Summary
Constructors Constructor Description CustomerCard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)CustomerCardCardholdergetCardholder()Data related to the holder of the card, usually the customer.StringgetCustomerId()Id of the customer.OffsetDateTimegetDateCreated()Creation date of the record.OffsetDateTimegetDateLastUpdated()Date the record was last updated.IntegergetExpirationMonth()Month the card expires.IntegergetExpirationYear()Year the card expires.StringgetFirstSixDigits()First six digits of the card.StringgetId()Id of the card.CustomerCardIssuergetIssuer()Card issuer.StringgetLastFourDigits()Last four digits of the card.CustomerCardPaymentMethodgetPaymentMethod()Data related to the chosen payment method.CustomerCardSecurityCodegetSecurityCode()Security code of the card.StringgetUserId()Id of the user.inthashCode()booleanisLiveMode()Flag indicating if this is a record from production or test environment.-
Methods inherited from class com.mercadopago.net.MPResource
getResponse, setResponse, toString
-
-
-
-
Method Detail
-
getId
public String getId()
Id of the card.
-
getCustomerId
public String getCustomerId()
Id of the customer.
-
getExpirationMonth
public Integer getExpirationMonth()
Month the card expires.
-
getExpirationYear
public Integer getExpirationYear()
Year the card expires.
-
getFirstSixDigits
public String getFirstSixDigits()
First six digits of the card.
-
getLastFourDigits
public String getLastFourDigits()
Last four digits of the card.
-
getPaymentMethod
public CustomerCardPaymentMethod getPaymentMethod()
Data related to the chosen payment method.
-
getSecurityCode
public CustomerCardSecurityCode getSecurityCode()
Security code of the card.
-
getIssuer
public CustomerCardIssuer getIssuer()
Card issuer.
-
getCardholder
public CustomerCardCardholder getCardholder()
Data related to the holder of the card, usually the customer.
-
getDateCreated
public OffsetDateTime getDateCreated()
Creation date of the record.
-
getDateLastUpdated
public OffsetDateTime getDateLastUpdated()
Date the record was last updated.
-
getUserId
public String getUserId()
Id of the user.
-
isLiveMode
public boolean isLiveMode()
Flag indicating if this is a record from production or test environment.
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classMPResource
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classMPResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMPResource
-
-