Class BankCardType
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.BankCardType
Details of a bank card
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncardNumber(String cardNumber) booleanexpirationDate(Date expirationDate) getBank()Bank that issued the card@NotNull StringgetBrand()Credit card brand.@NotNull StringCredit card numbergetCvv()the CVV or CVV2 code of the card@NotNull @Valid Datethe card's expiration dateLast four digits of the cardName writen on the cardgetType()Debit or creditinthashCode()lastFourDigits(String lastFourDigits) nameOnCard(String nameOnCard) voidvoidvoidsetCardNumber(String cardNumber) voidvoidsetExpirationDate(Date expirationDate) voidsetLastFourDigits(String lastFourDigits) voidsetNameOnCard(String nameOnCard) voidsetType(BankCardType.TypeEnum type) toString()type(BankCardType.TypeEnum type)
-
Constructor Details
-
BankCardType
public BankCardType()
-
-
Method Details
-
brand
-
getBrand
Credit card brand. E.g.: Visa, MasterCard, AmericanExpress...- Returns:
- brand
-
setBrand
-
type
-
getType
Debit or credit- Returns:
- type
-
setType
-
cardNumber
-
getCardNumber
Credit card number- Returns:
- cardNumber
-
setCardNumber
-
expirationDate
-
getExpirationDate
the card's expiration date- Returns:
- expirationDate
-
setExpirationDate
-
cvv
-
getCvv
the CVV or CVV2 code of the card- Returns:
- cvv
-
setCvv
-
lastFourDigits
-
getLastFourDigits
Last four digits of the card- Returns:
- lastFourDigits
-
setLastFourDigits
-
nameOnCard
-
getNameOnCard
Name writen on the card- Returns:
- nameOnCard
-
setNameOnCard
-
bank
-
getBank
Bank that issued the card- Returns:
- bank
-
setBank
-
equals
-
hashCode
public int hashCode() -
toString
-