Package com.onlinepayments.domain
Class CardEssentials
java.lang.Object
com.onlinepayments.domain.CardEssentials
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBin()The first digits of the credit card number from left to right with a minimum of 6 digits.The masked credit/debit card numberISO 3166-1 alpha-2 country codeExpiry date of the card Format: MMYYvoidThe first digits of the credit card number from left to right with a minimum of 6 digits.voidsetCardNumber(String value) The masked credit/debit card numbervoidsetCountryCode(String value) ISO 3166-1 alpha-2 country codevoidsetExpiryDate(String value) Expiry date of the card Format: MMYYThe first digits of the credit card number from left to right with a minimum of 6 digits.withCardNumber(String value) The masked credit/debit card numberwithCountryCode(String value) ISO 3166-1 alpha-2 country codewithExpiryDate(String value) Expiry date of the card Format: MMYY
-
Constructor Details
-
CardEssentials
public CardEssentials()
-
-
Method Details
-
getBin
The first digits of the credit card number from left to right with a minimum of 6 digits. -
setBin
The first digits of the credit card number from left to right with a minimum of 6 digits. -
withBin
The first digits of the credit card number from left to right with a minimum of 6 digits. -
getCardNumber
The masked credit/debit card number -
setCardNumber
The masked credit/debit card number -
withCardNumber
The masked credit/debit card number -
getCountryCode
ISO 3166-1 alpha-2 country code -
setCountryCode
ISO 3166-1 alpha-2 country code -
withCountryCode
ISO 3166-1 alpha-2 country code -
getExpiryDate
Expiry date of the card Format: MMYY -
setExpiryDate
Expiry date of the card Format: MMYY -
withExpiryDate
Expiry date of the card Format: MMYY
-