org.ota.pkg
Class BookRS.Transactions.Transaction

java.lang.Object
  extended by org.ota.pkg.BookRS.Transactions.Transaction
Enclosing class:
BookRS.Transactions

public static class BookRS.Transactions.Transaction
extends java.lang.Object

Details of a transaction posted against a reservation. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TransactionType" name="Transaction" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TransactionType">
   <xs:sequence>
     <xs:element name="Amount">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attribute use="required" name="Type">
     <xs:simpleType>
       <!-- Reference to inner class Type -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute use="optional" name="CreditDebitInd">
     <xs:simpleType>
       <!-- Reference to inner class CreditDebitInd -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:dateTime" use="required" name="PostingDateTime"/>
   <xs:attribute type="xs:string" use="optional" name="BatchNmbr"/>
   <xs:attribute type="xs:string" use="optional" name="Comment"/>
 </xs:complexType>
 


Nested Class Summary
static class BookRS.Transactions.Transaction.CreditDebitInd
          Schema fragment(s) for this class:
static class BookRS.Transactions.Transaction.Type
          Schema fragment(s) for this class:
 
Constructor Summary
BookRS.Transactions.Transaction()
           
 
Method Summary
 CurrencyAmountGroup getAmount()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getBatchNmbr()
          Get the 'BatchNmbr' attribute value.
 java.lang.String getComment()
          Get the 'Comment' attribute value.
 BookRS.Transactions.Transaction.CreditDebitInd getCreditDebitInd()
          Get the 'CreditDebitInd' attribute value.
 java.util.Date getPostingDateTime()
          Get the 'PostingDateTime' attribute value.
 BookRS.Transactions.Transaction.Type getType()
          Get the 'Type' attribute value.
 void setAmount(CurrencyAmountGroup amount)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setBatchNmbr(java.lang.String batchNmbr)
          Set the 'BatchNmbr' attribute value.
 void setComment(java.lang.String comment)
          Set the 'Comment' attribute value.
 void setCreditDebitInd(BookRS.Transactions.Transaction.CreditDebitInd creditDebitInd)
          Set the 'CreditDebitInd' attribute value.
 void setPostingDateTime(java.util.Date postingDateTime)
          Set the 'PostingDateTime' attribute value.
 void setType(BookRS.Transactions.Transaction.Type type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookRS.Transactions.Transaction

public BookRS.Transactions.Transaction()
Method Detail

getAmount

public CurrencyAmountGroup getAmount()
Get the 'CurrencyAmountGroup' attributeGroup value. The amount recorded against this transaction item.

Returns:
value

setAmount

public void setAmount(CurrencyAmountGroup amount)
Set the 'CurrencyAmountGroup' attributeGroup value. The amount recorded against this transaction item.

Parameters:
amount -

getType

public BookRS.Transactions.Transaction.Type getType()
Get the 'Type' attribute value. Specifies whether the transaction is a receipt or a refund.

Returns:
value

setType

public void setType(BookRS.Transactions.Transaction.Type type)
Set the 'Type' attribute value. Specifies whether the transaction is a receipt or a refund.

Parameters:
type -

getCreditDebitInd

public BookRS.Transactions.Transaction.CreditDebitInd getCreditDebitInd()
Get the 'CreditDebitInd' attribute value. Specifies whether a transaction is a credit or a debit. Credit

Returns:
value

setCreditDebitInd

public void setCreditDebitInd(BookRS.Transactions.Transaction.CreditDebitInd creditDebitInd)
Set the 'CreditDebitInd' attribute value. Specifies whether a transaction is a credit or a debit. Credit

Parameters:
creditDebitInd -

getPostingDateTime

public java.util.Date getPostingDateTime()
Get the 'PostingDateTime' attribute value. Provides the date and time that the transaction was posted to the relevant accounting ledger.

Returns:
value

setPostingDateTime

public void setPostingDateTime(java.util.Date postingDateTime)
Set the 'PostingDateTime' attribute value. Provides the date and time that the transaction was posted to the relevant accounting ledger.

Parameters:
postingDateTime -

getBatchNmbr

public java.lang.String getBatchNmbr()
Get the 'BatchNmbr' attribute value. Records the batch number assigened to the ledger posting.

Returns:
value

setBatchNmbr

public void setBatchNmbr(java.lang.String batchNmbr)
Set the 'BatchNmbr' attribute value. Records the batch number assigened to the ledger posting.

Parameters:
batchNmbr -

getComment

public java.lang.String getComment()
Get the 'Comment' attribute value. A comment about this transaction.

Returns:
value

setComment

public void setComment(java.lang.String comment)
Set the 'Comment' attribute value. A comment about this transaction.

Parameters:
comment -