transaction Data Type

An airbank transaction is a record of a mutation that happened to an air reservation's ticket. Like if it was marked unused, etc.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs constraints description
credit double element 1/1 required The amount increased during the change.
debit double element 1/1 required The amount reduced during the change.
description string element 1/1 required A description of the change.
timestamp dateTime element 1/1 required The time that the change happened.
travelerName string element 0/1   The traveler name that owns the ticket.
Properties inherited from baseHibernateEntity
id long element 0/1   The unique internal ID of the object.
version long element 0/1   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from baseEntity
violations list of simpleViolation element 0/unbounded   A list of constraint violations, if any, that this object has.

Example

<transaction>
  <timestamp>...</timestamp>
  <description>...</description>
  <debit>...</debit>
  <credit>...</credit>
  <travelerName>...</travelerName>
  <id>...</id>
  <version>...</version>
  <violations/>
</transaction>