CreditCard

Description

The CreditCard aggregate is used to represent the details of a credit card for an account.

Aggregate Elements

Name Description Required

CardNumber

Credit card number

Type: String

Constraints: Consists of a 16 character string [0-9] no spaces or separators

Yes

NameOnCard

Person's name on the card

Type: String

Constraints: Must be less than 50 characters

No

CardExpiration

The card expiration date

Type: String

Constraints: short date format of the form MM.YYYY  where MM is the Month and YYYY is the year

Yes

CVV2

The card CVV2 code

Type: String

Constraints: Must be 4 characters or less

No

BillingAddress

The individual's billing address

Type: Address

Constraints: None

No