com.highdeal.pnr.tif
Class TransactionField

java.lang.Object
  extended by com.highdeal.pnr.tif.TransactionField

public class TransactionField
extends java.lang.Object

This class defines and describes the accessor to a rated or charged transaction field.


Constructor Summary
TransactionField(java.lang.String transactionFieldKey, ITransactionField<?> transactionField, com.highdeal.pnr.domain.TransactionFieldDescription.Scope... scopes)
          Creates a new accessor to a rated or charged transaction field
 
Method Summary
 com.highdeal.pnr.domain.TransactionFieldDescription.Scope[] getScopes()
          Gets an array of scopes that defines the use of the transaction field
 ITransactionField<?> getTransactionField()
          Gets the transaction field that can access to the value
 java.lang.String getTransactionFieldKey()
          Gets the key of the transaction field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionField

public TransactionField(java.lang.String transactionFieldKey,
                        ITransactionField<?> transactionField,
                        com.highdeal.pnr.domain.TransactionFieldDescription.Scope... scopes)
Creates a new accessor to a rated or charged transaction field

Parameters:
transactionFieldKey - the key of the transaction field
transactionField - transaction field, that can access to the value
scopes - an array of scopes that describes the use of this transaction field
Method Detail

getTransactionFieldKey

public java.lang.String getTransactionFieldKey()
Gets the key of the transaction field. The key uniquely defines the field.

Returns:
the key of the transaction field

getTransactionField

public ITransactionField<?> getTransactionField()
Gets the transaction field that can access to the value

Returns:
the transaction field

getScopes

public com.highdeal.pnr.domain.TransactionFieldDescription.Scope[] getScopes()
Gets an array of scopes that defines the use of the transaction field

Returns:
an array of scopes

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)