ProfileCreditCard Data Type

An object defining the basic abilities we want all of our hibernate objects to have.

Properties
name data type description
typeId string the credit card type id
number string the credit card number
expiration string the credit card expiration date
address1 string the credit card address line 1
address2 string the credit card address line 2
address3 string the credit card address line 3
air string the air boolean
car string the car boolean
hotel string the hotel boolean
Properties inherited from BaseHibernateEntity
id number The unique internal ID of the object.
version number For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation A list of constraint violations, if any, that this object has.

Example

{
  "typeId" : "...",
  "number" : "...",
  "expiration" : "...",
  "address1" : "...",
  "address2" : "...",
  "address3" : "...",
  "air" : "...",
  "car" : "...",
  "hotel" : "...",
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}