VirtualPaymentCard Data Type

Author: Kurt Stauffer Date: 3/7/17 Time: 2:06 PM

Properties
name data type constraints description
createdDate number required
type VirtualPaymentServiceType required
uid string required returns the unique identifier from external systems. every bank has their own name for it. AKA: Plog, ccid, credit card id, token
number string required
activeFromDate number  
activeToDate number  
expireDate number required
cvc string required
amount number required
canceled boolean  
canceledDate number  
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

{
  "createdDate" : 12345,
  "type" : {
    "code" : "...",
    "name" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "uid" : "...",
  "number" : "...",
  "activeFromDate" : 12345,
  "activeToDate" : 12345,
  "expireDate" : 12345,
  "cvc" : "...",
  "amount" : 12345.0,
  "canceled" : true,
  "canceledDate" : 12345,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}