public class CardPaymentData extends PaymentData
Constructor and Description |
---|
CardPaymentData()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAcquirerName() |
java.lang.String |
getAcquirerReference() |
java.lang.String |
getApprovalCode()
Deprecated.
Use getAuthorisingData().getApprovalCode() instead.
|
AuthorisationData |
getAuthorisationData() |
AuthorisationMethod |
getAuthorisationMethod()
Deprecated.
Use getAuthorisationData().getAuthorisingChannel() instead.
|
AuthorisingEntity |
getAuthorisingEntity()
Deprecated.
Use getAuthorisationData().getAuthorisingEntity() instead.
|
java.lang.String |
getCardExpiryDate() |
java.lang.String |
getCardholderObscuredPan() |
java.lang.String |
getCardName() |
java.lang.String |
getCardNumberAlias() |
DccData |
getDccData() |
DebitCreditSelection |
getDebitCreditSelection() |
EmvData |
getEmvData()
Get EMV data.
|
java.lang.Boolean |
getIsContactless() |
java.lang.String |
getLoyaltyId() |
java.lang.String |
getMerchantObscuredPan() |
PosEntryModes |
getPosEntryMode() |
VerificationMethod |
getVerificationMethod() |
void |
setAcquirerName(java.lang.String value) |
void |
setAcquirerReference(java.lang.String value) |
void |
setApprovalCode(java.lang.String value) |
void |
setAuthorisationData(AuthorisationData value) |
void |
setAuthorisationMethod(AuthorisationMethod value) |
void |
setAuthorisingEntity(AuthorisingEntity value) |
void |
setCardExpiryDate(java.lang.String value) |
void |
setCardholderObscuredPan(java.lang.String value) |
void |
setCardName(java.lang.String value) |
void |
setCardNumberAlias(java.lang.String cardNumberAlias) |
void |
setDccData(DccData value) |
void |
setDebitCreditSelection(DebitCreditSelection value) |
void |
setEmvData(EmvData value) |
void |
setIsContactless(java.lang.Boolean value)
Set contactless card.
|
void |
setLoyaltyId(java.lang.String loyaltyId) |
void |
setMerchantObscuredPan(java.lang.String value) |
void |
setPosEntryMode(PosEntryModes value) |
void |
setVerificationMethod(VerificationMethod value) |
public AuthorisationData getAuthorisationData()
public void setAuthorisationData(AuthorisationData value)
value
- Information about the authorisation of the transaction.@Deprecated public java.lang.String getApprovalCode()
null
.public void setApprovalCode(java.lang.String value)
value
- The approval code of the transaction.@Deprecated public AuthorisingEntity getAuthorisingEntity()
public void setAuthorisingEntity(AuthorisingEntity value)
value
- The party that authorised the transaction.@Deprecated public AuthorisationMethod getAuthorisationMethod()
public void setAuthorisationMethod(AuthorisationMethod value)
value
- The method by which the transaction was authorised.public java.lang.String getCardName()
public void setCardName(java.lang.String value)
value
- The name of the card.public java.lang.String getCardExpiryDate()
public void setCardExpiryDate(java.lang.String value)
value
- The expiry date of the card.public DebitCreditSelection getDebitCreditSelection()
public void setDebitCreditSelection(DebitCreditSelection value)
value
- The Debit/Credit selection.public EmvData getEmvData()
public void setEmvData(EmvData value)
value
- The EMV data of the card.public java.lang.Boolean getIsContactless()
true
if the card was read with the contactless reader.public void setIsContactless(java.lang.Boolean value)
value
- true
if the card was read with the contactless reader.public java.lang.String getCardholderObscuredPan()
public void setCardholderObscuredPan(java.lang.String value)
value
- The obscured card number.public java.lang.String getMerchantObscuredPan()
public void setMerchantObscuredPan(java.lang.String value)
value
- The obscured card number.public VerificationMethod getVerificationMethod()
public void setVerificationMethod(VerificationMethod value)
value
- The method used to verify the card holder.public DccData getDccData()
null
.public void setDccData(DccData value)
value
- The DCC conversion data of the transaction.public java.lang.String getAcquirerName()
null
.public void setAcquirerName(java.lang.String value)
value
- The acquirer name.public java.lang.String getAcquirerReference()
null
.public void setAcquirerReference(java.lang.String value)
value
- The acquirer's reference number.public PosEntryModes getPosEntryMode()
public void setPosEntryMode(PosEntryModes value)
value
- The card entry method.public java.lang.String getCardNumberAlias()
public void setCardNumberAlias(java.lang.String cardNumberAlias)
cardNumberAlias
- Sets the card number alias (CNA).public java.lang.String getLoyaltyId()
TransactionRequest.setLoyaltyApplications(String[])
.VerifyCardData#getLoyaltyId()
public void setLoyaltyId(java.lang.String loyaltyId)
loyaltyId
- Sets the loyalty id.