Class PaymentStatusCodes

Helper class containing status codes for the various errors that can occur when validating a payment card. One of these codes is returned as part of a Status object when a unsuccessful call to the VerifyPaymentCard or VerifyCreditCard pipelet is made. The same codes are used when calling PaymentCard.verify(Number, Number, String) or PaymentCard.verify(Number, Number, String, String).

Constant Summary 

ConstantDescription
CREDITCARD_INVALID_CARD_NUMBER: String = “CREDITCARD_INVALID_CARD_NUMBER”The code indicates that the credit card number is incorrect.
CREDITCARD_INVALID_EXPIRATION_DATE: String = “CREDITCARD_INVALID_EXPIRATION_DATE”The code indicates that the credit card is expired.
CREDITCARD_INVALID_SECURITY_CODE: String = “CREDITCARD_INVALID_SECURITY_CODE”The code indicates that the credit card security code length is invalid.

Constructor Summary 

ConstructorDescription
PaymentStatusCodes()

Method Summary 

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Constant Details 

CREDITCARD_INVALID_CARD_NUMBER 

CREDITCARD_INVALID_CARD_NUMBER: String = "CREDITCARD_INVALID_CARD_NUMBER"

The code indicates that the credit card number is incorrect.


CREDITCARD_INVALID_EXPIRATION_DATE 

CREDITCARD_INVALID_EXPIRATION_DATE: String = "CREDITCARD_INVALID_EXPIRATION_DATE"

The code indicates that the credit card is expired.


CREDITCARD_INVALID_SECURITY_CODE 

CREDITCARD_INVALID_SECURITY_CODE: String = "CREDITCARD_INVALID_SECURITY_CODE"

The code indicates that the credit card security code length is invalid.


Constructor Details 

PaymentStatusCodes() 

PaymentStatusCodes()


DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!