Class CardValidationResult
java.lang.Object
de.hybris.platform.payment.commands.result.CardValidationResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValidationError(CardValidationError validationError) voidaddValidationErrors(Collection<CardValidationError> validationErrors) The country of issue if known.The issuing bank if known.The validation process will not stop at the first error, so there may be more than one validation error attached to this object.booleanIts success, if there are no validation errors.voidsetCardType(CreditCardType cardType) voidsetIssueCountryCode(String issueCountryCode) voidvoidsetValidationErrors(Set<CardValidationError> validationErrors) toString()
-
Constructor Details
-
CardValidationResult
public CardValidationResult()
-
-
Method Details
-
setIssuer
-
getIssuer
The issuing bank if known. -
setIssueCountryCode
-
getIssueCountryCode
The country of issue if known. -
setValidationErrors
-
getValidationErrors
The validation process will not stop at the first error, so there may be more than one validation error attached to this object. -
addValidationError
-
addValidationErrors
-
isSuccess
public boolean isSuccess()Its success, if there are no validation errors. -
toString
-
setCardType
- Parameters:
cardType- the cardType to set
-
getCardType
- Returns:
- the cardType
-