Class TransactionField

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

public class TransactionField extends Object
This class defines and describes the accessor to a rated or charged transaction field.
  • Constructor Details

    • TransactionField

      public TransactionField(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 Details

    • getTransactionFieldKey

      public 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