The CreditCard entity is used to represent the details of a credit card for an account.
CreditCard
CardNumber
Credit card number
Type: String
Constraints: Consists of a 16 character string [0-9] no spaces or separators
Yes
NameOnCard
Individual's name on the card
Constraints: Must be less than 50 characters
No
CardExpiration
The card expiration date
Constraints: short date format of the form MM.YYYY where MM is the Month and YYYY is the year
CVV2
The card CVV2 code
Constraints: Must be 4 characters or less
BillingAddress
The individual's billing address
Type: Address
Constraints: None