Class CustomerCard


  • public class CustomerCard
    extends MPResource
    Customer card details.
    • Constructor Detail

      • CustomerCard

        public CustomerCard()
    • 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.
      • 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.