public class TransactionData extends Object
Terminal.transaction(com.six.timapi.constants.TransactionType, com.six.timapi.Amount)
or Terminal.transactionAsync(com.six.timapi.constants.TransactionType, com.six.timapi.Amount)
.Constructor and Description |
---|
TransactionData()
Create transaction data.
|
TransactionData(TransactionData data)
Create copy of transaction data.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAcqId()
Acquirer identifier.
|
String |
getAcqTransRef()
Transaction reference from the acquirer.
|
String |
getCardRef()
Petrol: Reference from the card.
|
Boolean |
getDccAllowed()
Allows the EFT Terminal to enable DCC function.
|
Long |
getEcrSeqCounter()
ECR sequence counter.
|
String |
getLanguage()
Petrol, Unattended: Language.
|
Boolean |
getMultiCurrencyFlag()
Indicates if the transaction uses multiple currencies.
|
int |
getNGVClearingDelay()
Defines the clearing delay of the PurchaseNGV transaction.
|
NgvMode |
getNGVMode()
Defines if NGV usage is mandatory or optional if card supports it.
|
Boolean |
getPartialApprovalAllowed()
Partial approval is allowed.
|
String |
getPhoneAuthCode()
Phone authorization code.
|
String |
getSaferpayAlias()
Saferpay alias.
|
boolean |
getSaferpayRecurring()
Saferpay recurring enabled.
|
String |
getSixTrxRefNum()
SIX Transaction Reference Number.
|
Boolean |
getTipAllowed()
Tip is allowed for purchase transactions.
|
Long |
getTransRef()
Transaction reference defined by the terminal.
|
Long |
getTransSeq()
Transaction sequence number defined by the terminal.
|
String |
getTrmTransRef()
Transaction reference from the terminal.
|
TimeDate |
getTrxOriginalDate()
Timestamp of the original transaction.
|
void |
setAcqId(Long acqId)
Set acquirer identifier.
|
void |
setAcqTransRef(int acqId,
int trxRefNo)
Set transaction reference from the acquirer.
|
void |
setAcqTransRef(String acqTransRef)
Set transaction reference from the acquirer.
|
void |
setCardRef(String cardRef)
Petrol: Set reference from the card.
|
void |
setDccAllowed(Boolean dccAllowed)
Set allows the EFT Terminal to enable DCC function.
|
void |
setEcrSeqCounter(Long ecrSeqCounter)
Set ECR sequence counter.
|
void |
setLanguage(String language)
Petrol, Unattended: Set language.
|
void |
setMultiCurrencyFlag(Boolean flag)
Indicates if the transaction uses multiple currencies.
|
void |
setNGVClearingDelay(int ngvClearingDelay)
Defines the clearing delay of the PurchaseNGV transaction.
|
void |
setNGVMode(NgvMode ngvMode)
Defines if NGV usage is mandatory or optional if card supports it.
|
void |
setPartialApprovalAllowed(Boolean partialApprovalAllowed)
Set partial approval is allowed.
|
void |
setPhoneAuthCode(String phoneAuthCode)
Set phone authorization code.
|
void |
setSaferpayAlias(String alias)
Set saferpay alias.
|
void |
setSaferpayRecurring(boolean saferpayRecurring)
Set saferpay recurring enabled.
|
void |
setSixTrxRefNum(String sixTrxRefNum)
SIX Transaction Reference Number.
|
void |
setTipAllowed(Boolean tipAllowed)
Set if tip is allowed for purchase transactions.
|
void |
setTransRef(Long transRef)
Set transaction reference defined by the terminal.
|
void |
setTransSeq(Long transSeq)
Set transaction sequence number defined by the terminal.
|
void |
setTrmTransRef(String trmTransRef)
Set transaction reference from the terminal.
|
void |
setTrxOriginalDate(TimeDate trxOriginalDate)
Set timestamp of the original transaction.
|
public TransactionData()
public TransactionData(TransactionData data)
public Boolean getDccAllowed()
public void setDccAllowed(Boolean dccAllowed)
public TimeDate getTrxOriginalDate()
public void setTrxOriginalDate(TimeDate trxOriginalDate)
public Long getEcrSeqCounter()
public void setEcrSeqCounter(Long ecrSeqCounter)
public Boolean getPartialApprovalAllowed()
public void setPartialApprovalAllowed(Boolean partialApprovalAllowed)
public Long getTransRef()
public void setTransRef(Long transRef)
public Long getTransSeq()
public void setTransSeq(Long transSeq)
public String getCardRef()
public void setCardRef(String cardRef)
public Long getAcqId()
public void setAcqId(Long acqId)
public String getAcqTransRef()
public void setAcqTransRef(String acqTransRef)
public void setAcqTransRef(int acqId, int trxRefNo)
acqId
- Acquirer ID as printed on receipt.trxRefNo
- Transaction reference as printed on receipt.public String getTrmTransRef()
public void setTrmTransRef(String trmTransRef)
public Boolean getTipAllowed()
Guides.GASTRO
is enabled.public void setTipAllowed(Boolean tipAllowed)
Guides.GASTRO
is enabled.public String getPhoneAuthCode()
public void setPhoneAuthCode(String phoneAuthCode)
public String getLanguage()
public void setLanguage(String language)
public Boolean getMultiCurrencyFlag()
Indicates if the transaction uses multiple currencies.
Optional: Indicates that the transaction uses multiple currencies.
Specifications: banking, gastro, hospitality, austrianUseCases.
public void setMultiCurrencyFlag(Boolean flag)
Indicates if the transaction uses multiple currencies.
Optional: Indicates that the transaction uses multiple currencies.
Specifications: banking, gastro, hospitality, austrianUseCases.
public NgvMode getNGVMode()
Guides.AUSTRIAN_USE_CASES
is enabled.public void setNGVMode(NgvMode ngvMode)
Guides.AUSTRIAN_USE_CASES
is enabled.public int getNGVClearingDelay()
Guides.AUSTRIAN_USE_CASES
is enabled.public void setNGVClearingDelay(int ngvClearingDelay)
Value | Description |
---|---|
0 | no delay |
1-99 | delay in days |
Guides.AUSTRIAN_USE_CASES
is enabled.public String getSixTrxRefNum()
public void setSixTrxRefNum(String sixTrxRefNum)
public String getSaferpayAlias()
public void setSaferpayAlias(String alias)
public boolean getSaferpayRecurring()
public void setSaferpayRecurring(boolean saferpayRecurring)