public class TransactionField
extends java.lang.Object
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public TransactionField(java.lang.String transactionFieldKey,
ITransactionField<?> transactionField,
com.highdeal.pnr.domain.TransactionFieldDescription.Scope... scopes)
transactionFieldKey - the key of the transaction fieldtransactionField - transaction field, that can access to the valuescopes - an array of scopes that describes the use of this transaction fieldpublic java.lang.String getTransactionFieldKey()
transaction field. The key uniquely defines the field.public ITransactionField<?> getTransactionField()
transaction field that can access to the valuepublic com.highdeal.pnr.domain.TransactionFieldDescription.Scope[] getScopes()
scopes that defines the use of the transaction field