Package com.blockchyp.client.dto
Class CardMetadata
java.lang.Object
com.blockchyp.client.dto.CardMetadata
Essential information about a payment card derived from its BIN/IIN.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the brand or network of the card (e.Gets the country associated with the card's issuer.Gets the name of the financial institution that issued the card.Gets the specific name or designation of the card product.Gets the general category or type of the card product.Gets the geographical region associated with the card's issuer.booleanisDebit()Gets whether the card is a debit card.booleanisEbt()Gets whether the card is an Electronic Benefit Transfer (EBT) card.booleanGets whether the card is a healthcare-specific payment card.booleanisL2()Gets whether the card supports Level 2 processing for additional transaction data.booleanisL3()Gets whether the card supports Level 3 processing for detailed transaction data.booleanGets whether the card is a prepaid card.voidsetCardBrand(String value) Sets the brand or network of the card (e.voidsetCountry(String value) Sets the country associated with the card's issuer.voidsetDebit(boolean value) Sets whether the card is a debit card.voidsetEbt(boolean value) Sets whether the card is an Electronic Benefit Transfer (EBT) card.voidsetHealthcare(boolean value) Sets whether the card is a healthcare-specific payment card.voidsetIssuerName(String value) Sets the name of the financial institution that issued the card.voidsetL2(boolean value) Sets whether the card supports Level 2 processing for additional transaction data.voidsetL3(boolean value) Sets whether the card supports Level 3 processing for detailed transaction data.voidsetPrepaid(boolean value) Sets whether the card is a prepaid card.voidsetProductName(String value) Sets the specific name or designation of the card product.voidsetProductType(String value) Sets the general category or type of the card product.voidSets the geographical region associated with the card's issuer.
-
Constructor Details
-
CardMetadata
public CardMetadata()
-
-
Method Details
-
setCardBrand
Sets the brand or network of the card (e.- Parameters:
value- the brand or network of the card (e.g., Visa, Mastercard, Amex).
-
getCardBrand
Gets the brand or network of the card (e.- Returns:
- the brand or network of the card (e.g., Visa, Mastercard, Amex).
-
setIssuerName
Sets the name of the financial institution that issued the card.- Parameters:
value- the name of the financial institution that issued the card.
-
getIssuerName
Gets the name of the financial institution that issued the card.- Returns:
- the name of the financial institution that issued the card.
-
setL3
public void setL3(boolean value) Sets whether the card supports Level 3 processing for detailed transaction data.- Parameters:
value- whether the card supports Level 3 processing for detailed transaction data.
-
isL3
public boolean isL3()Gets whether the card supports Level 3 processing for detailed transaction data.- Returns:
- whether the card supports Level 3 processing for detailed transaction data.
-
setL2
public void setL2(boolean value) Sets whether the card supports Level 2 processing for additional transaction data.- Parameters:
value- whether the card supports Level 2 processing for additional transaction data.
-
isL2
public boolean isL2()Gets whether the card supports Level 2 processing for additional transaction data.- Returns:
- whether the card supports Level 2 processing for additional transaction data.
-
setProductType
Sets the general category or type of the card product.- Parameters:
value- the general category or type of the card product.
-
getProductType
Gets the general category or type of the card product.- Returns:
- the general category or type of the card product.
-
setProductName
Sets the specific name or designation of the card product.- Parameters:
value- the specific name or designation of the card product.
-
getProductName
Gets the specific name or designation of the card product.- Returns:
- the specific name or designation of the card product.
-
setEbt
public void setEbt(boolean value) Sets whether the card is an Electronic Benefit Transfer (EBT) card.- Parameters:
value- whether the card is an Electronic Benefit Transfer (EBT) card.
-
isEbt
public boolean isEbt()Gets whether the card is an Electronic Benefit Transfer (EBT) card.- Returns:
- whether the card is an Electronic Benefit Transfer (EBT) card.
-
setDebit
public void setDebit(boolean value) Sets whether the card is a debit card.- Parameters:
value- whether the card is a debit card.
-
isDebit
public boolean isDebit()Gets whether the card is a debit card.- Returns:
- whether the card is a debit card.
-
setHealthcare
public void setHealthcare(boolean value) Sets whether the card is a healthcare-specific payment card.- Parameters:
value- whether the card is a healthcare-specific payment card.
-
isHealthcare
public boolean isHealthcare()Gets whether the card is a healthcare-specific payment card.- Returns:
- whether the card is a healthcare-specific payment card.
-
setPrepaid
public void setPrepaid(boolean value) Sets whether the card is a prepaid card.- Parameters:
value- whether the card is a prepaid card.
-
isPrepaid
public boolean isPrepaid()Gets whether the card is a prepaid card.- Returns:
- whether the card is a prepaid card.
-
setRegion
Sets the geographical region associated with the card's issuer.- Parameters:
value- the geographical region associated with the card's issuer.
-
getRegion
Gets the geographical region associated with the card's issuer.- Returns:
- the geographical region associated with the card's issuer.
-
setCountry
Sets the country associated with the card's issuer.- Parameters:
value- the country associated with the card's issuer.
-
getCountry
Gets the country associated with the card's issuer.- Returns:
- the country associated with the card's issuer.
-