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 boolean
canEqual(Object other)
boolean
equals(Object o)
CustomerCardCardholder
getCardholder()
Data related to the holder of the card, usually the customer.String
getCustomerId()
Id of the customer.OffsetDateTime
getDateCreated()
Creation date of the record.OffsetDateTime
getDateLastUpdated()
Date the record was last updated.Integer
getExpirationMonth()
Month the card expires.Integer
getExpirationYear()
Year the card expires.String
getFirstSixDigits()
First six digits of the card.String
getId()
Id of the card.CustomerCardIssuer
getIssuer()
Card issuer.String
getLastFourDigits()
Last four digits of the card.CustomerCardPaymentMethod
getPaymentMethod()
Data related to the chosen payment method.CustomerCardSecurityCode
getSecurityCode()
Security code of the card.String
getUserId()
Id of the user.int
hashCode()
boolean
isLiveMode()
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:
equals
in classMPResource
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classMPResource
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMPResource
-
-