Package com.highdeal.pnr.tif
Class TransactionField
java.lang.Object
com.highdeal.pnr.tif.TransactionField
This class defines and describes the accessor to a rated or charged transaction field.
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionField(String transactionFieldKey, ITransactionField<?> transactionField, com.highdeal.pnr.domain.TransactionFieldDescription.Scope... scopes) Creates a new accessor to a rated or charged transaction field -
Method Summary
Modifier and TypeMethodDescriptioncom.highdeal.pnr.domain.TransactionFieldDescription.Scope[]Gets an array ofscopesthat defines the use of thetransaction fieldGets thetransaction fieldthat can access to the valueGets the key of thetransaction 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 thetransaction fieldtransactionField-transaction field, that can access to the valuescopes- an array ofscopesthat describes the use of thistransaction field
-
-
Method Details
-
getTransactionFieldKey
Gets the key of thetransaction field. The key uniquely defines the field.- Returns:
- the key of the transaction field
-
getTransactionField
Gets thetransaction fieldthat can access to the value- Returns:
- the transaction field
-
getScopes
public com.highdeal.pnr.domain.TransactionFieldDescription.Scope[] getScopes()Gets an array ofscopesthat defines the use of thetransaction field- Returns:
- an array of scopes
-