Package money.zumo.zumokit
Class Card
- java.lang.Object
-
- money.zumo.zumokit.Card
-
public final class Card extends java.lang.Object
Record containing basic card details.
-
-
Constructor Summary
Constructors Constructor Description Card(java.lang.String id, java.lang.String accountId, java.lang.String cardType, java.lang.String cardStatus, int limit, java.lang.String maskedPan, java.lang.String expiry, boolean sca)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAccountId()
Associated account's identifier.java.lang.String
getCardStatus()
Current card status.java.lang.String
getCardType()
Card type.java.lang.String
getExpiry()
Card year and month of expiry, e.g.java.lang.String
getId()
Unique card identifier.int
getLimit()
Current card limit.java.lang.String
getMaskedPan()
Card masked pan, e.g **** **** **** 5454.boolean
getSca()
Boolean indicating if card is SCA compliant.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Unique card identifier.
-
getAccountId
public java.lang.String getAccountId()
Associated account's identifier.
-
getCardType
public java.lang.String getCardType()
Card type.
-
getCardStatus
public java.lang.String getCardStatus()
Current card status.- See Also:
CardStatus
-
getLimit
public int getLimit()
Current card limit.
-
getMaskedPan
public java.lang.String getMaskedPan()
Card masked pan, e.g **** **** **** 5454.
-
getExpiry
public java.lang.String getExpiry()
Card year and month of expiry, e.g. 2024-08.
-
getSca
public boolean getSca()
Boolean indicating if card is SCA compliant.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-